You can continue to capture snapshots at regular intervals and you can use the generated additional tiles for future comparison. Moreover, built-ins and objects IDs can be shown in the details table by using the drop down at the top right corner of the details view.
It is also possible to capture snapshots programmatically using console.takeHeapSnapshot, which takes a snapshot that appears on the tool and console.profileMark, which displays a profile mark in the memory graph while the diagnostic session is running including the ability to annotate the graph with custom marks.
Sometimes, you will be required to check for existence of the commands before usage, since they are only available in the context of the memory analyzer:
if (console && console.takeHeapSnapshot)
By default, the snapshots collection is saved to disk under a diagnostic sessions folder, which contains .diagsession files. It can then be renamed, shared across teams and can also be reopened in compatible versions of Visual Studio 2012. The snapshot tiles and the details views can be inspected upon opening the file.
Ben Linders Aug 27, 2014
Gilad Bracha Aug 27, 2014