merging snapshots

Questions about YourKit Java Profiler
Post Reply
yshavit
Posts: 2
Joined: Wed Jan 27, 2016 1:13 am

merging snapshots

Post by yshavit »

If I have lots of fairly short-lived snapshots (from MapReduce jobs, which can spawn off lots of JVMs for each step), is there a way to merge them into a single view?

I'm not even sure if such a thing would be useful -- my hope would be that even though each run is relatively short and thus has a higher margin of error, in aggregate they'd average out and start to paint an accurate picture of the app's performance.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: merging snapshots

Post by Anton Katilin »

You cannot merge snapshots this way. Are you interested in CPU profiling results (sampling or tracing)?

As a workaround please consider export of the profiling results to external format for further processing:
https://www.yourkit.com/docs/java/help/export.jsp

You may write a script running the export for all snapshots and then somehow processing the results in an automated fashion.
yshavit
Posts: 2
Joined: Wed Jan 27, 2016 1:13 am

Re: merging snapshots

Post by yshavit »

Yes, I was primarily interested in the profiling results. That export sounds like it would do the trick, thanks!
Post Reply