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.

Opening zipped snapshots

Moderators: Vladimir Kondratyev, Anton Katilin

Opening zipped snapshots

Postby plethora » Sun May 27, 2007 7:25 pm

A relatively trivial feature request.

Are snapshots read in sequential fashion?
If so, it might make sense to allow the used to directly open a snapshot inside a .zip file.
plethora
 
Posts: 314
Joined: Thu Jun 02, 2005 8:36 pm

Postby Vladimir Kondratyev » Mon May 28, 2007 11:25 am

As I understood you want to open ZIPped snapshot files, right? Unfortunately snapshots are not read sequentially. We can unzip snapshot in temporary directory and then open it. Will it be convenient for you?

Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
Last edited by Vladimir Kondratyev on Mon May 28, 2007 11:50 am, edited 1 time in total.
Vladimir Kondratyev
 
Posts: 1490
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby plethora » Mon May 28, 2007 11:37 am

That would be convenient.
plethora
 
Posts: 314
Joined: Thu Jun 02, 2005 8:36 pm

Postby Vladimir Kondratyev » Mon May 28, 2007 11:52 am

I've added corresponded feature request
Vladimir Kondratyev
 
Posts: 1490
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby dashorst » Fri Jul 06, 2007 3:27 pm

Please add gzip support too.
dashorst
 
Posts: 5
Joined: Fri Jul 06, 2007 3:25 pm

Postby Anton Katilin » Mon Jul 09, 2007 10:54 am

We'll support it as well. Thank you for the suggestion.
Anton Katilin
 
Posts: 5783
Joined: Wed Aug 11, 2004 8:37 am

Postby plethora » Sat Aug 25, 2007 3:00 am

Any change of this making it into the 7.0 release?

I'm working a lot with snapshots from IDEA, which are zipped by default..
plethora
 
Posts: 314
Joined: Thu Jun 02, 2005 8:36 pm

Postby Anton Katilin » Mon Aug 27, 2007 10:54 am

Hello,

Opening zipped snapshots was not implemented in 7.0 so far.

Could you please provide more detail on the nature of zipped snapshots you deal with?

In particular, is there only one snapshot per ZIP, or should a directory tree inside the ZIP be managed?

Also, just curious, were do you get the zipped snapshots from? I.e. what for the zipping is used?
Anton Katilin
 
Posts: 5783
Joined: Wed Aug 11, 2004 8:37 am

Postby plethora » Mon Aug 27, 2007 11:19 am

Anton, it's simply the bundled agent in IntelliJ. As far as I know IDEA captures snapshot through agent API, then zips it up and deletes the original file.

So: one file in archive only, no directory structure.
plethora
 
Posts: 314
Joined: Thu Jun 02, 2005 8:36 pm

Postby Anton Katilin » Mon Aug 27, 2007 12:36 pm

Could you please try this yjp.jar (write it over <build 2088 installation>\lib\yjp.jar):

http://www.yourkit.com/download/20070827/yjp.jar

To open zipped snapshot:

- Ctrl+O
- "Open Snapshot Not Listed Here"
- *.zip <Enter>
Anton Katilin
 
Posts: 5783
Joined: Wed Aug 11, 2004 8:37 am

Postby plethora » Mon Aug 27, 2007 12:44 pm

Works fine.

Small possible improvements:
-include ZIP extraction in the progress bar (now it just sits for 10 seconds without giving me progress feedback)
-Perhaps file open dialog could have "*.zip" as a choice in filter combo box?
plethora
 
Posts: 314
Joined: Thu Jun 02, 2005 8:36 pm

Postby Anton Katilin » Mon Aug 27, 2007 1:30 pm

Done (instead of "*.zip", "All Files" filter added, as more generic).

Please try http://www.yourkit.com/download/20070827/2/yjp.jar
Anton Katilin
 
Posts: 5783
Joined: Wed Aug 11, 2004 8:37 am

Postby plethora » Mon Aug 27, 2007 2:14 pm

Thanks, I've just tried the second "yjp.jar", and it works well.
This takes care of the manual work of opening zipped snapshots.

It would be nice to see them in the "recent snapshots" list as well, but that's less important.
plethora
 
Posts: 314
Joined: Thu Jun 02, 2005 8:36 pm

Postby Anton Katilin » Mon Aug 27, 2007 2:37 pm

Unpacked snapshot should appear in the recent list. Doesn't it?
Anton Katilin
 
Posts: 5783
Joined: Wed Aug 11, 2004 8:37 am

Postby plethora » Wed Sep 05, 2007 9:41 pm

It does indeed appear.

I stand corrected.
plethora
 
Posts: 314
Joined: Thu Jun 02, 2005 8:36 pm

Next

Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 9 guests