save
action in JProfiler's main window
To compare one or several of these snapshots, JProfiler offers a separate comparison window that you can access by
Session->Compare
snapshots in new window from JProfiler's main menu.
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:
add a new snapshot file (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.
sort snapshot files. In the
following popup dialog, you can select whether to sort the snapshot files by creation time (i.e. the file
modification time) or by name. Note that this is a one-time operation, new snapshots are always appended to
the end of the list.
open snapshot files. The selected
snapshot files are opened in new windows, just like when you open them from the
start center or with
Session->Open snapshot
from JProfiler's main menu.
remove snapshot files (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.
move snapshot files up in the list (ALT-UP).
If your selection is a single interval, the whole block of snapshot files will be moved.
move snapshot files down in the list (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