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

Time-Limiting performance snapshot

Moderators: Vladimir Kondratyev, Anton Katilin

Time-Limiting performance snapshot

Postby mbickel » Thu Apr 13, 2017 3:58 pm

Hi,

I feel a bit stupid since this seems like such an obvious thing. I captured a performance snapshot from an attached agent with about 30 minutes of cpu sampling data.

Now, the profiler was already connected and sampling had been running for a while before the actual action started. I know I want exactly 30 minutes of the action to compare it to another snapshot of that length.

How can I tell Yourkit to "crop" a snapshot of cpu sampling to an exact timeframe? I want to discard all information outside of a given timebox.
mbickel
 
Posts: 3
Joined: Thu Apr 13, 2017 3:54 pm

Re: Time-Limiting performance snapshot

Postby Anton Katilin » Thu Apr 13, 2017 5:11 pm

Hello,

CPU sampling aggregates time per thread and stack trace for the entire CPU sampling session period, it is impossible to extract the numbers for a given time sub-range.

Unlike sampling, the CPU usage estimation feature allows you to choose arbitrary time range:
https://www.yourkit.com/docs/java/help/ ... mation.jsp

(In particular, please see the "Comparison with CPU sampling" section.)
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am

Re: Time-Limiting performance snapshot

Postby mbickel » Thu Apr 13, 2017 5:20 pm

Ah, that makes sense. Thanks for the swift reply!
mbickel
 
Posts: 3
Joined: Thu Apr 13, 2017 3:54 pm

Re: Time-Limiting performance snapshot

Postby mbickel » Tue Apr 18, 2017 8:45 am

...erased...

Is that a question? Or do you have a similar problem?
mbickel
 
Posts: 3
Joined: Thu Apr 13, 2017 3:54 pm

Re: Time-Limiting performance snapshot

Postby Anton Katilin » Tue Apr 18, 2017 9:04 am

No, that was a spammer with a random message.
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot] and 9 guests