Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy-to-use performance and memory .NET profiler for Windows, Linux and macOS.
Secure and easy profiling in cloud, containers and clustered environments.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

Comparing performance snapshots

Comparing performance snapshots is an invaluable technique in the performance tuning process. By systematically capturing and comparing key metrics before and after changes, you can scientifically measure the impact of your optimizations, thereby turning the often murky waters of .NET performance tuning into a more clear-cut, data-driven activity.

How to compare performance snapshots

To compare snapshots, do the following:

  • Open two performance snapshots you want to compare.
  • Select one of them.
  • Use File | Compare Snapshot with... (the action is also available from the popup menu) and select a snapshot to compare with.

A new tab with the comparison opens. It contains Call tree - All threads merged and Method list views displaying the differences in method execution times and invocation counts. The invocation count column is shown only if both compared snapshots contain CPU tracing results.

Comparison of performance snapshots

Why is comparing useful?

  1. Identify trends: By comparing snapshots, you can identify trends or anomalies in the performance metrics.
  2. Measure impact: It allows you to quantify the impact of changes, whether it's a new feature, bug fix, or configuration change.
  3. Regression analysis: Facilitates identifying performance regressions when new versions are released.

When to compare performance snapshots

  1. Before and after code changes: To measure the impact of optimizations or new features.
  2. Version updates: Whenever you update the .NET version, libraries, or other dependencies.
  3. After infrastructure changes: Whenever there are significant changes to the underlying infrastructure.

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.