Skip to content

ResidencyComparison

Running versus suspended for the same VM over the same wall time.

get cycles(): number;

number


get hold(): Duration;

The wall time both sides cover. Always projected: a comparison is a hypothetical about a hold nobody has taken yet.

Duration


get ratio(): string;

How many times more the running VM costs, as an exact decimal string.

string


get running(): CostReport;

CostReport


get size(): SizeClass;

SizeClass


get suspended(): CostReport;

CostReport

breakEvenSeconds(): string;

How long a VM must stay suspended for the cycle to pay for itself, exact, as a string. The number a pool scheduler needs, and the one a “100x cheaper” headline hides.

string


breakEvenSecondsNumber(): number;

The break-even hold as a number. Lossy, and named so.

Seconds, not dollars: no money figure has a numeric accessor anywhere in this file.

number


perCycle(): EstimatedUsd;

One suspend/resume: a snapshot write plus a read, per GB.

Without it the honest conclusion inverts — “suspend constantly” reads as free.

EstimatedUsd


render(): string;

string

This page is generated from bindings/microvms-js/index.d.ts by TypeDoc 0.28.20 and typedoc-plugin-markdown 4.13.1, run from site/scripts/gen-reference.mjs on every pnpm run sync, so an edit made here is overwritten by the next run.

To change the page, change the doc comment in the binding’s Rust source, then regenerate the declarations with mise run dts. mise run dts:check fails when the committed file no longer matches the source.