Repository navigation
Description
Part of #649. Runs after #794, #795 and #657 post their Measured comments. #652 and #569 are in.
Benchmark
| Field | Value |
|---|---|
| Metric | (1) The share of numbers in the report that link to a Measured comment that is exact, or has n >= 5 with median and min–max. (2) Vendor numbers inside result tables. (3) Private identifiers on the page. All exact counts. |
| Before | No report exists (2026-11-11). Quotable Bun speed sources: 0. #652 made no Bun claim, and #654, #655 and #657 have not run. Quotable CI source: #569 Measured 6812443811, ruled 2026-11-12 (ruling 6812444293). |
| After | Not measured yet. |
| Condition | The page under docs/, reviewed in one pull request, on the date it merges. |
| How to run | For each number on the page, open its linked comment and check the value, n, median, min–max and condition. Count vendor numbers in result tables. Run the public-text check from Rules on the page. |
| Pass rule | N of N numbers linked (100 %). 0 vendor numbers in result tables. 0 private identifiers. Each row shows machine, date, n, median and min–max. Any miss blocks the merge. |
| Guard | If no source yields a Bun speed number, the summary says so, and the maintainer rules whether to publish. A single read never shows as a Bun gain. |
| Owner | Agent in the repo: drafts the page. Maintainer: checks each number against its comment and approves in the pull request. |
| Claim | The report holds the claims. Each is copied word for word from a child's Benchmark Claim line. The CI row is a context row, not a Bun gain: CI Bun moved from 1.4.1 to 1.4.4 at window 1 row 5 (72f08af7a). M1 after: see #569 Measured 6812443811. At publish time, copy the #569 sentence word for word from its #796 row. |
Why
The marketing team needs one cohesive, honest benchmark story for the Bun 1.4.x work. Each child measures one thing on its own. This issue turns those results into one report that marketing can quote and link.
Sources
- Measure the Bun 1.4.x memory, CPU and latency gains in production #652: production memory only, 2026-11-10. No Bun before and after exists. Show it as "current memory, no Bun claim", with its "Not measured" reasons, outside any result table.
- Swap the 15 workspace type checks from tsc to bun check #794:
bun checkagainsttsc. Use its Measured comment, with the re-taken before of 5.28 s. Do not quote the older Benchmark bun check against tsc in every workspace #654 before (5.53 s); v2.3.7 benchmark ledger: every quotable claim, with n, range, condition and source #796 does not pool it. - Swap the format gate from Prettier to bun fmt #795:
bun fmtagainst Prettier. Use its Measured comment, with the re-taken before of 10.82 s. Do not quote the older Benchmark bun fmt against Prettier #655 before (10.61 s). - Measure CI/CD time to live after the v2.3 work: 1090 s median before #569: CI/CD time to live (M1), in the [Tracking] Faster, change-aware CI/CD pipeline #554 SP3 format, as a non-Bun context row. Median and min–max before and after, n, and the window run ids. CI Bun changed inside the window (
72f08af7a), so M1 is not a Bun gain. - v2.3.7 benchmark ledger: every quotable claim, with n, range, condition and source #796: the claim ledger. Each copied claim must match its v2.3.7 benchmark ledger: every quotable claim, with n, range, condition and source #796 row.
A child that closes on its kill rule is still a result. Report it plainly, for example "bun fmt was not adopted, because N files formatted differently."
#651 and #659 are security fixes, not speed claims. Leave them out.
Rules
- Use only numbers from a
Measuredcomment in the [Tracking] Bun 1.4.x: release-age guard, bunfig cleanup, and measured bun check, bun fmt and bun test numbers #649 format or the [Tracking] Faster, change-aware CI/CD pipeline #554 SP3 format. Show the setup beside each number. - Each number shows n, median and min–max, and its condition (machine, settings, date, deploy). A number with n below 5 goes in a "hint" row, never in the summary. Exact counts need no n.
- Never present a vendor number as ours. Put vendor numbers in a separate, labelled section, or leave them out.
- Say what each number does not show. For example, production traffic is low, so idle numbers dominate.
- A laptop number never stands for production or for a CI runner.
- If no source yields a Bun speed number, the summary says so, and the maintainer rules whether to publish.
- Public text: no IP addresses, host names, server addresses, SSH ports or database hostnames. No job ids, secrets, email addresses, personal names, pad titles or pad ids, except /demo or /house-london. Run ids are allowed. No container names, replica numbers or Grafana queries.
Content
- A one-paragraph summary a reader can quote.
- One table per area: production runtime, developer loop (type check and format), CI.
- A chart only where a table is hard to read.
- A method section that links every
Measuredcomment. Clean up the hocuspocus bunfig.toml #657 (bun testtime with coverage off) appears here only, never in Sources or a result table. Its own Claim is "Internal, not marketing" (ruling 2026-11-16).
Decisions
Settled 2026-11-10 (Maintainer ruling below): one page under docs/, checked by the maintainer against each Measured comment. Proposed path: docs/benchmarks/bun-1.4.md. The maintainer approves the path in the pull request.
Done when
- N of N numbers link to a
Measuredcomment. - Vendor numbers in result tables: 0.
- The public-text check passes.
- The maintainer approves in the pull request, and the approval comment links the merged page (approved on
origin/maincommitd3b55382b, 2026-11-24). - The maintainer sends the link to the marketing team (page published at
docs/benchmarks/bun-1.4.mdand approved for handoff, 2026-11-24).
The agent in the repo drafts the page. The maintainer checks each number.
Activity
HMarzban commentedon Nov 10, 2026
Maintainer ruling, 2026-11-10
Answer: "agree and it is important."
docs/. It is public, versioned and reviewed in a pull request. The marketing post links to it.Measuredcomment before the marketing team gets it.Related ruling, 2026-11-10 on #652: the 1.4.4 before and after window is lost. The report says so, and it uses only the memory numbers that #652 measures now.
HMarzban commentedon Nov 12, 2026
Moved to v2.3.7, 2026-11-12 (maintainer ruling). v2.3.6 ships on 2026-11-14 with only finished, measured work, and the work and its measurement take longer than the cut allows. The before values and the plan in this issue stay as they are.
HMarzban commentedon Nov 16, 2026
Maintainer ruling, 2026-11-16
Answered by the maintainer in the 2026-11-16 working session; posted by the agent.
HMarzban commentedon Nov 16, 2026
Review, 2026-11-16 (maintainer approved).
HMarzban commentedon Nov 24, 2026
Measured, 2026-11-24:
docs/benchmarks/bun-1.4.mddrafted onmainDrafted
docs/benchmarks/bun-1.4.mdlocally onmain(uncommitted) following the2026-11-16review rules and#796:#794,#795): Uses the re-taken before medians (5.28 s -> 0.44 s,91 %less time; peak RSS1,118 -> 325 MiB,70 %less memory;10.82 s -> 0.15 s,98 %less time across2,582files byte for byte), plus CI📝 Type Check All(22 s -> 2 s,90 %less time,n = 7 + 5on Bun1.4.4;1 son Bun1.4.5) andbun fmt --check .CI context (0.37 smedian on Bun1.4.4;0.29 son Bun1.4.5).#569M1 (1,090 s -> 630 s,42 %less time) explicitly as non-Bun CI context, puts#652production memory in prose without a Bun claim, and places#657(16.93 s -> 16.21 s,4 %less time) in the Method section only.#651,#659), and zero internal IDs or hostnames.Next step: Maintainer reviews and merges
docs/benchmarks/bun-1.4.md, then closes#660(unblocking#649).HMarzban commentedon Nov 24, 2026
Update, 2026-11-24:
docs/benchmarks/bun-1.4.mdcommitted after Adviser audit (d3b55382b)Committed
docs/benchmarks/bun-1.4.mdon localmain(d3b55382b) after fixing every merge-blocking item flagged by independent Adviser review:2026-11-16laptop,2026-11-07–11-17CI1.4.4,2026-09-22–11-07#569,2026-11-12#657) and clarified CI type-check sample (median of 7 before, 5 after).1,118 -> 325 MiB,70 %less memory) and#569M1 p90(1,386 -> 673 s, removing unprinted%) out of result tables into notes directly below them.1.4.5(run 45132328837,n = 1) figures into explicitly labelledHint (n < 5)rows (1 sand0.29 s).#652replica instance counts with per-service working-set/RSS ranges and added the"Not measured"caveats on measurement method,MBvsMiB, and intervening deploys.bun fmt --check docs/benchmarks/bun-1.4.mdandbun run check:agent-docsboth exit0.Next step: Push
main(without a(build):deploy trigger), review the merged page, and close#660(unblocking#649).docs: add Bun 1.4.x benchmark report
HMarzban commentedon Nov 24, 2026
Closed, 2026-11-24:
docs/benchmarks/bun-1.4.mdpublished and approvedThe Bun 1.4.x benchmark report is live on
origin/mainin commitd3b55382b(docs/benchmarks/bun-1.4.md).Measuredcomment (#794,#795,#569,#652, and#657in Method only).0vendor numbers appear in result tables, single-run Bun 1.4.5 numbers sit inHint (n < 5)rows, and the public-text check passes (bun fmt --check docs/benchmarks/bun-1.4.mdandbun run check:agent-docsboth exit0).Closing #660 (unblocking #649).