Skip to content

Publish one Bun 1.4.x benchmark report for the marketing team #660

Done

Description

@HMarzban

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

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 Measured comment 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

  1. A one-paragraph summary a reader can quote.
  2. One table per area: production runtime, developer loop (type check and format), CI.
  3. A chart only where a table is hard to read.
  4. A method section that links every Measured comment. Clean up the hocuspocus bunfig.toml #657 (bun test time 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 Measured comment.
  • 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/main commit d3b55382b, 2026-11-24).
  • The maintainer sends the link to the marketing team (page published at docs/benchmarks/bun-1.4.md and approved for handoff, 2026-11-24).

The agent in the repo drafts the page. The maintainer checks each number.

Activity

  1. added this to the v2.4.0 milestone on Oct 31, 2026
  2. added
    documentation
    Performance
    on Oct 31, 2026
  3. modified the milestones: v2.4.0, v2.3.6 on Nov 9, 2026
  4. HMarzban commented on Nov 10, 2026

    @HMarzban
    CollaboratorAuthor

    Maintainer ruling, 2026-11-10

    Answer: "agree and it is important."

    1. The report is one page under docs/. It is public, versioned and reviewed in a pull request. The marketing post links to it.
    2. The maintainer checks it against each Measured comment 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.

  5. modified the milestones: v2.3.6, v2.3.7 on Nov 12, 2026
  6. HMarzban commented on Nov 12, 2026

    @HMarzban
    CollaboratorAuthor

    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.

  7. HMarzban commented on Nov 16, 2026

    @HMarzban
    CollaboratorAuthor

    Maintainer ruling, 2026-11-16

    Answered by the maintainer in the 2026-11-16 working session; posted by the agent.

  8. HMarzban commented on Nov 16, 2026

    @HMarzban
    CollaboratorAuthor

    Review, 2026-11-16 (maintainer approved).

  9. HMarzban commented on Nov 24, 2026

    @HMarzban
    CollaboratorAuthor

    Measured, 2026-11-24: docs/benchmarks/bun-1.4.md drafted on main

    Drafted docs/benchmarks/bun-1.4.md locally on main (uncommitted) following the 2026-11-16 review rules and #796:

    • Developer loop (#794, #795): Uses the re-taken before medians (5.28 s -> 0.44 s, 91 % less time; peak RSS 1,118 -> 325 MiB, 70 % less memory; 10.82 s -> 0.15 s, 98 % less time across 2,582 files byte for byte), plus CI 📝 Type Check All (22 s -> 2 s, 90 % less time, n = 7 + 5 on Bun 1.4.4; 1 s on Bun 1.4.5) and bun fmt --check . CI context (0.37 s median on Bun 1.4.4; 0.29 s on Bun 1.4.5).
    • Scope rules kept: Lists #569 M1 (1,090 s -> 630 s, 42 % less time) explicitly as non-Bun CI context, puts #652 production memory in prose without a Bun claim, and places #657 (16.93 s -> 16.21 s, 4 % less time) in the Method section only.
    • Safety rules kept: Includes zero vendor numbers, zero security claims (#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).

  10. HMarzban commented on Nov 24, 2026

    @HMarzban
    CollaboratorAuthor

    Update, 2026-11-24: docs/benchmarks/bun-1.4.md committed after Adviser audit (d3b55382b)

    Committed docs/benchmarks/bun-1.4.md on local main (d3b55382b) after fixing every merge-blocking item flagged by independent Adviser review:

    • Added explicit dates to every result row (2026-11-16 laptop, 2026-11-07–11-17 CI 1.4.4, 2026-09-22–11-07 #569, 2026-11-12 #657) and clarified CI type-check sample (median of 7 before, 5 after).
    • Moved rangeless laptop peak RSS (1,118 -> 325 MiB, 70 % less memory) and #569 M1 p90 (1,386 -> 673 s, removing unprinted %) out of result tables into notes directly below them.
    • Split single-run Bun 1.4.5 (run 45132328837, n = 1) figures into explicitly labelled Hint (n < 5) rows (1 s and 0.29 s).
    • Replaced #652 replica instance counts with per-service working-set/RSS ranges and added the "Not measured" caveats on measurement method, MB vs MiB, and intervening deploys.
    • bun fmt --check docs/benchmarks/bun-1.4.md and bun run check:agent-docs both exit 0.

    Next step: Push main (without a (build): deploy trigger), review the merged page, and close #660 (unblocking #649).

  11. added a commit that references this issue on Nov 24, 2026
  12. HMarzban commented on Nov 24, 2026

    @HMarzban
    CollaboratorAuthor

    Closed, 2026-11-24: docs/benchmarks/bun-1.4.md published and approved

    The Bun 1.4.x benchmark report is live on origin/main in commit d3b55382b (docs/benchmarks/bun-1.4.md).

    • Every reported number links to its Measured comment (#794, #795, #569, #652, and #657 in Method only).
    • 0 vendor numbers appear in result tables, single-run Bun 1.4.5 numbers sit in Hint (n < 5) rows, and the public-text check passes (bun fmt --check docs/benchmarks/bun-1.4.md and bun run check:agent-docs both exit 0).
    • The maintainer reviewed and approved the merged page on 2026-11-24.

    Closing #660 (unblocking #649).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Performancedocumentation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions