Multiple choice technology testing

What is the function of Snapshot Differencing?

  1. To merge two snapshots

  2. To compare the output of two Java programs

  3. To compare the performance impacts of code changes on your applications and the use of system resources such as processor and memory

  4. To compare two applications

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Snapshot Differencing in JProbe compares two memory or performance snapshots taken at different points in time. This lets developers see the impact of code changes on memory usage, object counts, method execution times, and system resource consumption (CPU, memory). It's not for merging snapshots, comparing Java programs directly, or comparing entire applications.

AI explanation

Correct answer: 'To compare the performance impacts of code changes on your applications and the use of system resources such as processor and memory.' Snapshot Differencing is a profiling feature (e.g., in .NET/Visual Studio performance profiling tools) that lets you capture two performance snapshots — typically before and after a code change — and diff them to see how CPU, memory, or other resource usage shifted. It's not about merging snapshots, comparing program output, or comparing two separate applications; it's specifically about isolating the performance delta caused by a change.