Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

profile as... junit plugin test in eclipse forgets data

Moderators: Vladimir Kondratyev, Anton Katilin

profile as... junit plugin test in eclipse forgets data

Postby tcataldo » Fri Feb 21, 2020 9:25 am

Hi,

When using "profile as..." > junit plugin test in eclipse with yourkit 2019.08, if the test ends, the performance snapshot ends up empty.

Image

Image

If I capture perf data while the test is running, everything is fine.
This was not the case when I was running yourkit 2016.02.
tcataldo
 
Posts: 2
Joined: Fri Feb 21, 2020 9:09 am

Re: profile as... junit plugin test in eclipse forgets data

Postby Anton Katilin » Fri Feb 21, 2020 2:07 pm

Please open the *-shutdown.snapshot via "Open snapshot". It should contain all profiling information.

Please also add the line -Dyk.update.for.invisible.views=true to <user home>/.yjp/ui.ini.
Anton Katilin
 
Posts: 5924
Joined: Wed Aug 11, 2004 8:37 am

Re: profile as... junit plugin test in eclipse forgets data

Postby tcataldo » Mon Feb 24, 2020 9:05 am

Thanks, your env var did the trick !
tcataldo
 
Posts: 2
Joined: Fri Feb 21, 2020 9:09 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.