Skip to content

bench: refresh main's benchmark baseline from criterion-7638344 - #44

Merged
shubhook merged 1 commit into
mainfrom
t3/baseline-phase1-done
Nov 28, 2026
Merged

shubhook merged 1 commit into
mainfrom
t3/baseline-phase1-done

Conversation

@shubhook

@shubhook shubhook commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Task: T-006, tasks/006-bench-baseline.md

PRD: NF-7

What changed

Refreshes crates/helm-bench/baselines/main.toml from main commit 76383445740de2939e326cca9a0aafb783312f51, the T-109 merge (PR #42). Nothing else changes. I ran refresh.sh 76383445740de2939e326cca9a0aafb783312f51 as the task file says. No number comes from a local run.

Source:

  • Artifact criterion-76383445740de2939e326cca9a0aafb783312f51, id 15251580778, digest sha256:d5f17f14d1d6827ca2057afd2dfa8aab14a901fa579958cb9650a2c9dc33daa7, created 2026-11-28T06:08:00Z. It expires around 2027-02-26.
  • Run 46114546765, bench-record job 140885325792 (succeeded). Runner ubuntu-latest, image ubuntu-26.04 20261122.9.1, flags --warm-up-time 3 --measurement-time 10.

The file now holds 29 benchmarks. These 17 are new since the 5f0c425 baseline, and none were removed:

  • vim/counted_dollar_1000_cursors_10mb
  • vim/counted_j_k_1000_cursors_10mb
  • vim/d3w_undo_1000_cursors_10mb
  • vim/dd_undo_1000_cursors_10mb
  • vim/gg_G_1000_cursors_10mb
  • vim/insert_100_chars_undo_10mb
  • vim/visual_w_d_undo_1000_cursors_10mb
  • vim/w_b_1000_cursors_10mb
  • vim_objects/ci_quote_undo_1000_cursors_10mb
  • vim_objects/clipboard_paste_1mb
  • vim_objects/dap_undo_1000_cursors_10mb
  • vim_objects/di_brace_undo_1000_cursors_10mb
  • vim_objects/di_paren_no_pair_10mb
  • vim_objects/diw_undo_1000_cursors_10mb
  • vim_objects/insert_count_100_10mb
  • vim_objects/repeat_ciw_1000_cursors_10mb
  • vim_objects/yy_p_undo_1000_cursors_10mb

bench-record runners vary from run to run. On PR #42, base times differed by up to 1.8x between runs. This file records one run's numbers, not a target, and nothing compares a PR with it. helm-text, Cargo.lock, the toolchain pin and benches/text.rs are unchanged since 5f0c425, yet text/byte_to_line_10mb went from 127.8 µs there to 222.9 µs here. That jump is runner variation, not a regression (Thread C's gate check). Later phases should compare base and head on the same runner, not against this file.

Acceptance checks from the task file, all passed:

  1. Rebuild and diff: a second refresh.sh 7638344… run followed by git diff --exit-code crates/helm-bench/baselines/main.toml showed no diff.
  2. Spot check: jq '.mean.point_estimate, .median.point_estimate' text/insert_middle_10mb/main/estimates.json from the downloaded artifact prints 3804.3974813618597 and 3874.4836185896916, the same as the text/insert_middle_10mb table.
  3. [source]: commit, run, job and runner image match the run page. gh api repos/shubhook/helm/actions/artifacts/15251580778/zip | shasum -a 256 prints d5f17f14…daa7, which matches artifact_digest.

Commands run

The diff touches only a data file that nothing builds or reads, so I didn't run the cargo commands locally (the brief said not to build or bench). CI runs them on this PR.

$ crates/helm-bench/baselines/refresh.sh 76383445740de2939e326cca9a0aafb783312f51   # exit 0, 29 benchmarks
$ git diff --exit-code crates/helm-bench/baselines/main.toml                        # after a second refresh: exit 0

Outside sources

None.

Agent and model

Cursor agent, Claude Opus 5.5, run as a T3 Code sub-agent. Neither changed during the thread.

Rebuild main.toml with refresh.sh from the bench-record artifact of
main commit 7638344, the T-109 merge. It adds the seventeen vim and
vim_objects benchmarks that landed since the 5f0c425 baseline. The
numbers are one run's, not a target.

Refs: T-006
Co-authored-by: Cursor <cursoragent@cursor.com>
@shubhook
shubhook marked this pull request as ready for review November 28, 2026 12:16
@shubhook
shubhook merged commit 3ef3d00 into main Nov 28, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant