To compare one or several of these snapshots, JProfiler offers a separate comparison window that you can access by
Menu and toolbar of the snapshot window are focused on snapshot comparisons, you can access all other parts of JProfiler from a snapshot window by choosing File->Show Start Center from the main menu or clicking on the corresponding toolbar button. This can be necessary if you close all other windows. File->New Window opens a new JProfiler window with the start center displayed.
The order of the snapshot files in the list is significant since all comparisons will assume that snapshots further down in the list have been recorded later.
Note: Snapshots are always compared to other snapshots, if you wish to compare a snapshot to a currently running profiling session, please save a snapshot first. The saved snapshot will automatically be shown in the snapshot selector.
The snapshot selector offers the following operations as toolbar buttons and context menu items:
INS
). In the
following file chooser select one or more *.jps files to add to the snapshot
selector. New snapshots are always appended to the end of the list.
DEL
). The currently
selected snapshot files are removed from the snapshot selector. If any of the snapshot files to be removed
are used in an existing comparison, those comparison will be closed as well after a confirmation dialog.
ALT-UP
).
If your selection is a single interval, the whole block of snapshot files will be moved.
ALT-DOWN
).
If your selection is a single interval, the whole block of snapshot files will be moved.
The comparison wizards can be invoked from the File menu, from the toolbar as well as from the context menu of the snapshot selector.
If you wish to perform the comparison on a subset of the displayed snapshot files, it is easiest to first select the involved snapshots before invoking a comparison wizard. However, all snapshot wizards allow you to change this selection.
The above actions are also available in the context menu on the bottom of the tab.
To create another comparison with the same snapshots but different parameters, just invoke the wizard, click on "Next" to confirm the comparison type, then click on the step in the index where you wish to make a change and finally click on "Finish".
All comparisons have specific view settings that can be edited by choosing
View->View Settings from the main menu or the corresponding
toolbar button
when the comparison is active.
Common properties of comparisons include