Exploring Snapshots

See Also

A captures profiling data at a specific point in time. The data captured in a snapshot depends on the type of profiling session in progress when the snapshot is taken. You can explore snapshots using the toolbar in the Snapshot window and by filtering the displayed results. You can also right-click a result and select additional commands in the pop-up menu.

To open a saved snapshot:

  1. In the Saved Snapshots section of the Profiler window, select your project from the drop-down list.
  2. Double-click a snapshot in in the list.

To compare two snapshots:

  1. Choose Profile > Compare Snapshots in the main menu.
  2. Click Browse in the Select Snapshots to Compare dialog box to locate the two snapshots. Click OK.

When you click OK the IDE will display the results of the comparison in the Liveness Comparison window.

Using the Snapshot Toolbar

When a snapshot is open you can use the toolbar at the top of the snapshot to help you work with the snapshot. The tools in the toolbar enable you to save snapshots, refine the display and search for terms within the results. The following table describes the items in the snapshot toolbar.

Button Function
Save icon Save Snapshot to Project. Click this button to save the snapshot to your project. The snapshot is saved to the profiler directory in nbproject > private directory in your project. Saved snapshot files are visible in the Saved Snapshots section of the Profiler window.
Save As icon Save Snapshot to Custom File. Click this button to open a save dialog box to save the snapshot file in a location other than to your project.
Save View icon Save Current View. Click this button to open a save dialog box to save the snapshot file as a .png image file.
Find in Results button image Find. Click this button to find the occurrence of a search term.
Find Next icon Find Next Occurrence. Click to find the next occurrence of a search term.
Find Previous icon Find Previous Occurrence. Click to find the previous occurrence of a search term.
Compare Memory Snapshots icon Compare Snapshots. Click to compare two saved snapshots. When you click the button in the toolbar of an open snapshot you are prompted to choose a snapshot file to compare to the open snapshot.
See Also
Setting Profiling Points
Taking a Snapshot
Working with Live Profiling Results

Legal Notices