Answer by Wolfgang G. ·
Hi Vijay, that's definiitely an interesting find. Am I reading this correctly - it takes 5seconds without dynaTrace and 7mins WITH it?! Any chance you could give it a try with dynaTrace 6 as I would hope the effort we invested there to reduce the communication overhead between agent and collector should help in this case?
Thanks,
Wolfgang
Answer by Vijay V. ·
I am running Spring code which makes use of hibernate to talk to SQL database. When I run a JUnit test from Spring IDE without a dynaTrace agent, it runs normal. How ever once I instrument this jvm with a DT agent, the program execution becomes very very slow.
When I look at the purepath, it does not seem to spend all that time in the purepath. So it seem to indicate that there is some impact on the initialization of the spring framework. You can also see in the attached images, that a significant amount of time is being spent in classloading.
I am attaching the logs with and without the DT agent. Note that when I captured this logs I am connecting to a collector which is remote but while it is little better when the collector is local, the over all start up time is still significantly longer.
Is there any configuration I am missing that is causing this slowness?
WithOutDynaTraceAgent.log WithDynaTraceAgent.log AgentProperties.log APIDistribution.gif Agentpurepath.gif
JANUARY 15, 3:00 PM GMT / 10:00 AM ET