HP

HPjmeter 4.1 User's Guide

English
  HPjmeter 4.1 User's Guide > Chapter 6 Analyzing Garbage Collection Data   

Comparing Garbage Collection Data Files

It can be useful to compare session data in order to understand the effect of differences in activity at different times of day, week, or month. Comparisons can be especially useful when running performance testing benchmarks. (See Preparing a Benchmark.)

To compare garbage collection data files, do the following:

  1. From the main console, open two or more data files of the same type that you want to compare.

    Main console with two .vgc data files open

    A viewer will open for each data representation (see Using HPjmeter to Analyze Garbage Collection Data for an example garbage collection viewer).

  2. Click on one of the viewers to make it active.

  3. Two ways exist to create a combined set of comparable data:

    • In one viewer, click File->Compare , or

    • click the Compare button .

    The Compare window opens, and you can now see the other possible files to compare your first file against.

  4. Click the file name that you want to compare against; or, if choosing more than one file, hold the Ctrl key while selecting each desired file.

    Compare window open with selected file highlighted
for comparison
  5. When the files are highlighted, click the Compare button.

    A new viewer opens that presents the selected data sets in comparison to one another.

NOTE: For alternate access when you have multiple viewers open, click the button to bring the console to the top. The console lists all open sessions and data sets. For data sets, click the data representation to bring the already open viewer to the top.

If the viewer has been closed, but the data representation is still listed in the console, double-clicking the data representation opens a new viewer.