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?
Compare order
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Compare order
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)?
http://www.yourkit.com/changes/index.jsp
The newest EAP changes are here:
http://www.yourkit.com/eap
Best regards,
Anton
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)?
I'll add a feature request.BTW, is there a plan to add more comparison views, such as the "Object Allocation Recording"
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:it seems like there have only been "under the hood" changes and bug fixes for quite some time now, and no major UI overhaul.
http://www.yourkit.com/changes/index.jsp
The newest EAP changes are here:
http://www.yourkit.com/eap
It's not publicly available. You're welcome to suggest features. If we find them valuable, we'll add them as soon as possible.Is there a feature roadmap?
Best regards,
Anton
-
- Posts: 11
- Joined: Thu May 09, 2013 6:57 am
Re: Compare order
Yes, that would be OK, I just need some way to change the baseline.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)?
Thanks for the feature request and the link to the changes, I will check it out.
-
- Posts: 9
- Joined: Wed Jan 17, 2018 5:57 pm
Re: Compare order
I'd also like this feature.haridsv wrote:I just need some way to change the baseline.
-
- Posts: 9
- Joined: Wed Jan 17, 2018 5:57 pm
Re: Compare order
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
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Compare order
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.
-
- Posts: 9
- Joined: Wed Jan 17, 2018 5:57 pm
Re: Compare order
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.
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.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Compare order
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
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