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.

Compare order

Moderators: Vladimir Kondratyev, Anton Katilin

Compare order

Postby haridsv » Fri Jun 07, 2013 2:18 pm

When doing CPU comparison, is there a hidden way to specify which is the baseline? Currently, it is dumbed down to assume that the older snapshot is the baseline, and I see no option to change it. I first encountered this limitation a few years back and it is mind boggling to see that it still exists in the recent 12.0.5 version. At some point, I remember trying to `touch` the timestamp of the files, but YourKit didn't get fooled into which is newer, so it probably determines the timestamp from the contents. It is just plain wrong to assume that a newer snapshot is always representing a newer change, since I often end up profiling them in the other order.

BTW, is there a plan to add more comparison views, such as the "Object Allocation Recording" ? Again, I have been looking for this for several years, and it seems like there have only been "under the hood" changes and bug fixes for quite some time now, and no major UI overhaul. Is there a feature roadmap?
haridsv
 
Posts: 11
Joined: Thu May 09, 2013 6:57 am

Re: Compare order

Postby Anton Katilin » Tue Jun 11, 2013 8:56 am

Hi haridsv

Currently there is no way to swap snapshots in the comparison.
The snapshot timestamps are stored inside the snapshot files, so touching the file dates has no effect.

Will it be OK for you if the profiler asks which snapshot to be the baseline on invocation of the comparison action (offering the current order by default)?

BTW, is there a plan to add more comparison views, such as the "Object Allocation Recording"

I'll add a feature request.

it seems like there have only been "under the hood" changes and bug fixes for quite some time now, and no major UI overhaul.

I can't agree. There are many new features being added in each new version, as well as old ones are being improved. You can find the list of changes between versions here:
http://www.yourkit.com/changes/index.jsp

The newest EAP changes are here:
http://www.yourkit.com/eap

Is there a feature roadmap?
It's not publicly available. You're welcome to suggest features. If we find them valuable, we'll add them as soon as possible.

Best regards,
Anton
Anton Katilin
 
Posts: 5650
Joined: Wed Aug 11, 2004 8:37 am

Re: Compare order

Postby haridsv » Tue Jun 11, 2013 9:26 am

Anton Katilin wrote:Will it be OK for you if the profiler asks which snapshot to be the baseline on invocation of the comparison action (offering the current order by default)?

Yes, that would be OK, I just need some way to change the baseline.

Thanks for the feature request and the link to the changes, I will check it out.
haridsv
 
Posts: 11
Joined: Thu May 09, 2013 6:57 am

Re: Compare order

Postby MrSwadge » Fri Feb 16, 2018 1:20 pm

haridsv wrote:I just need some way to change the baseline.


I'd also like this feature.
MrSwadge
 
Posts: 9
Joined: Wed Jan 17, 2018 5:57 pm

Re: Compare order

Postby MrSwadge » Fri Feb 16, 2018 1:31 pm

I tried editing the snapshot, but it didn't seem to make any difference. Presumably I'm looking at the wrong value (near the top of the file).

Code: Select all
creation_time_ms 1518750001731
MrSwadge
 
Posts: 9
Joined: Wed Jan 17, 2018 5:57 pm

Re: Compare order

Postby Anton Katilin » Mon Feb 19, 2018 6:19 am

Sorry, snapshots cannot be "edited" this way since snapshot format is binary and complex. You cannot simply change portions looking like strings and expect that the snapshot remains valid and/or the intended alteration has applied.
Anton Katilin
 
Posts: 5650
Joined: Wed Aug 11, 2004 8:37 am

Re: Compare order

Postby MrSwadge » Tue Feb 20, 2018 11:26 am

I figured it would be risky, but I took a backup. :)

I know it's a difficult question, but any idea when we might expect to be able to switch baseline in compare? It's been on the feature request list for some time now.
MrSwadge
 
Posts: 9
Joined: Wed Jan 17, 2018 5:57 pm

Re: Compare order

Postby Anton Katilin » Tue Feb 20, 2018 12:02 pm

Hello MrSwadge,

To clarify: is it that the feature you want will make the "Compare snapshot" action allow to swap the old and the new snapshots?

Best regards,
Anton
Anton Katilin
 
Posts: 5650
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 13 guests