Skip to content

Commit ca49ce7

Browse files
committed
Record cljw build artifact baselines in baselines.md
Build time 17.7ms, artifact 4.23MB, no overhead vs direct execution.
1 parent 01dc737 commit ca49ce7

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.dev/baselines.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ Fix the regression first. No exceptions without explicit user approval.
2323
| RSS (light) | 7.4 MB | 10 MB | +35% | `/usr/bin/time -l ./zig-out/bin/cljw -e nil 2>&1 \| grep 'maximum resident'` |
2424
| Benchmark (any) | see below | 1.2x | +20% | `bash bench/run_bench.sh --quick` |
2525

26+
## `cljw build` Artifact Baselines (2026-02-20)
27+
28+
Measured with `bash bench/build_bench.sh`. Test program: fib_recursive.
29+
30+
| Metric | Result | Notes |
31+
|--------|--------|-------|
32+
| Build time (`cljw build`) | 17.7ms | Source → single binary |
33+
| Artifact size | 4.23MB | ≈ cljw binary + user source bytes |
34+
| Artifact startup (fib) | 17.6ms | bootstrap + fib execution |
35+
| Artifact vs direct execution | 1.00x | No overhead from embedding |
36+
| Artifact startup (require pprint) | 6.4ms | Lazy bootstrap effective |
37+
2638
## Benchmark Regression Policy
2739

2840
**Performance must not regress.** The 1.2x margin exists only for measurement noise.

0 commit comments

Comments
 (0)