Open the second in the same way. Then, choose Compare from the File menu. This comparison shows the significant differences between the two files, including the run time, the residual heap size, the number of methods, and the number of threads. Most of the metrics used to analyze individual files are also available when two files are being compared. Positive numbers mean that more objects were created in the second one than the first one.
Negative numbers mean the opposite.
You can use these numbers to determine what effect a change had. This is useful for factoring out any initialization conditions when your concern is more on long-term performance and not overall performance. You accomplish this by doing one run of the application for a specific amount of time and then doing another run for a longer amount of time. Then compare the two so that only the events that happened between the two runs is diplayed. Thank you for taking the HPjmeter tour.