From a451a114a224003d51d1d0657f796a94d75913c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 22 Oct 2026 09:09:45 +0200 Subject: [PATCH] docs(bench): record the boot profile and the runtime results The profile section in docs/contributing/benchmarks.md says how to run scripts/bench/boot-profile.ts, what the profile of the v1.44 runtime found (the worker graph as one 753 ms block, a live heap of about 165 MB of which the query compiler holds 50 and the catalogs 33) and what changed. scripts/bench/results/v1.45.0-*.md hold the before and after numbers per area, from back-to-back runs on the same machine. The size baselines take the lowered numbers. --- docs/contributing/benchmarks.md | 36 + scripts/bench/boot-profile.ts | 8 +- scripts/bench/results/v1.45.0-before.json | 254 + scripts/bench/results/v1.45.0-before.md | 25 + scripts/bench/results/v1.45.0-boot-final.json | 5073 +++++++++++++++++ scripts/bench/results/v1.45.0-boot-final.md | 804 +++ scripts/bench/results/v1.45.0-boot.md | 28 + scripts/bench/results/v1.45.0-fan-out.md | 22 + scripts/bench/results/v1.45.0-final.json | 254 + scripts/bench/results/v1.45.0-final.md | 25 + scripts/bench/results/v1.45.0-read-path.md | 45 + .../bench/results/v1.45.0-workout-clusters.md | 28 + scripts/bench/results/v1.45.0-write-path.md | 26 + .../baselines/source-file-lines.json | 7 +- .../baselines/source-function-lines.json | 6 +- src/instrumentation.ts | 5 +- 16 files changed, 6636 insertions(+), 10 deletions(-) create mode 100644 scripts/bench/results/v1.45.0-before.json create mode 100644 scripts/bench/results/v1.45.0-before.md create mode 100644 scripts/bench/results/v1.45.0-boot-final.json create mode 100644 scripts/bench/results/v1.45.0-boot-final.md create mode 100644 scripts/bench/results/v1.45.0-boot.md create mode 100644 scripts/bench/results/v1.45.0-fan-out.md create mode 100644 scripts/bench/results/v1.45.0-final.json create mode 100644 scripts/bench/results/v1.45.0-final.md create mode 100644 scripts/bench/results/v1.45.0-read-path.md create mode 100644 scripts/bench/results/v1.45.0-workout-clusters.md create mode 100644 scripts/bench/results/v1.45.0-write-path.md diff --git a/docs/contributing/benchmarks.md b/docs/contributing/benchmarks.md index 62b16f33f..aa10a1d73 100644 --- a/docs/contributing/benchmarks.md +++ b/docs/contributing/benchmarks.md @@ -68,6 +68,42 @@ The output is `