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.

Better names for automatic snapshots

Moderators: Vladimir Kondratyev, Anton Katilin

Better names for automatic snapshots

Postby Sascha Weinreuter » Thu Feb 03, 2005 11:48 am

Is is possible to give the automatically created snapshots on VM shutdown a more descriptive name? Especially when launched from within an IDEA there's the name of the run configuration that I'd like to use as the filenames for the snapshots. That would make it a lot easier to distinguish them: It's quite hard to guess what is what when everything is named shutdown.cpu, shutdown(1).cpu, etc. :)

Sascha
Sascha Weinreuter
 
Posts: 46
Joined: Mon Jan 24, 2005 3:01 pm
Location: Germany

Postby Anton Katilin » Fri Feb 04, 2005 7:15 pm

Hello Sascha

Thank you very much for this great suggestion. We'll implement it in the first minor update version that should be released shortly after 4.0 (i.e. 4.0.1).

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

Postby Anton Katilin » Fri May 27, 2005 10:23 am

Done in upcoming build 608. It will be available today, please visit http://www.yourkit.com/eap
Anton Katilin
 
Posts: 5966
Joined: Wed Aug 11, 2004 8:37 am

Postby Sascha Weinreuter » Wed Jun 01, 2005 9:51 am

Works great. Another suggestion though: Offer the name of the session when a user manually captures a snapshot in the UI. This could be done by filling in the name into the "File name prefix" textfield and preselecting it in case the user wants to override it.

Sascha
Sascha Weinreuter
 
Posts: 46
Joined: Mon Jan 24, 2005 3:01 pm
Location: Germany

Postby Anton Katilin » Tue Jun 21, 2005 8:42 am

Hi Sascha

Thank you for the suggestion to alter session name.

Could you please try the latest build 614. It does not ask user to enter a prefix, forming the snapshot name basing on session name, date and running number if there are several snapshots. It's interesting to hear your feedback. If the used approach works OK without additional UI to alter anything e.g. session name, it'd be better to keep it so because IMHO simplier is better in this situation.

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

Postby Sascha Weinreuter » Wed Jun 22, 2005 9:52 pm

Hi Anton

Yes that change currently works for me, but I can imagine that at some point you might miss the ability to include additional information in the snapshot name, such as a short description of the current state of the application you're profiling. Especially during development when you're making changes and in the end you want to see which one was the best.

Something else: I don't really like that snapshots go to my home directory by default and would prefer if all snapshots went to the current working directory. I'd like to configure that in the default settings for run configs, but that would probably need some kind of macro ($CWD$ or whatever) which would be replaced by the actual directory for each run config. Do you think that's possible?

Cheers,
Sascha
Sascha Weinreuter
 
Posts: 46
Joined: Mon Jan 24, 2005 3:01 pm
Location: Germany


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] 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.