shared-snapshot

command
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2026 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command shared-snapshot measures what N servers of the same published generation cost together, and what they would cost without the file.

The comparison is the whole point. A harness that measured only the mapped arm would report a resident size per process and prove nothing: a process counts every mapped page it touched as resident, so three servers reading one generation each report all of it, and the number goes up while the machine gets cheaper. Both arms therefore run the same binary over the same generation, and the only difference is whether the snapshot file is there.

The arm without it is not an older build. Hiding the file makes every server derive the graph from the canonical store, which is exactly what a server did before ADR 0045, and it isolates the one variable.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL