The benchmark runs native JSON.stringify,
fast-json-stable-stringify@2.1.0, stable mode, safe mode, and RFC 8785 mode
against the same representative payload in one Node.js process.
npm ci
npm run benchmarkControl the sample size with BENCHMARK_ITERATIONS:
BENCHMARK_ITERATIONS=250000 npm run benchmarkNative JSON is a throughput baseline only. It does not recursively sort object keys and is not behaviorally equivalent. Stable, safe, and canonical modes also implement different contracts, so compare a mode only with alternatives that provide the same guarantees.
When publishing results, include the command, Node.js version, CPU, complete raw output, and payload shape. Do not present one machine's result as a universal ranking.