Skip to content

test(perf): time unquotedShellText as min of 3 samples - #120

Merged
brunoazoulay merged 2 commits into
mainfrom
test/perf-lexer-min-of-3
Oct 14, 2026
Merged

brunoazoulay merged 2 commits into
mainfrom
test/perf-lexer-min-of-3

Conversation

@brunoazoulay

Copy link
Copy Markdown
Collaborator

Summary

  • The unquotedShellText perf test (lexer v14/v15) now takes the min of 3 timing samples per input instead of one.
  • The npm publish of v0.1.109 failed 3 times on GitHub runners (6.0 / 5.85 / 7.3 ms vs 5 ms budget) with unchanged code. One GC pause or noisy neighbour fails a single-sample check.
  • Min-of-3 keeps the 5 ms bound (an algorithmic blow-up is slow on every sample) and ignores one-off stalls. Budget, warmup, seeds and inputs unchanged.
  • Bumps to 0.1.110 (0.1.109 never reached npm).

Test plan

  • HOME=$(mktemp -d) bun test: 3343 pass, 1 skip, 0 fail
  • bunx tsc --noEmit: 0 errors
  • CI green

npm publish of v0.1.109 failed 3x on GitHub runners (6.0/5.85/7.3 ms vs
5 ms budget) with unchanged code; one GC pause or noisy neighbour fails a
single-sample check. Min-of-3 keeps the 5 ms bound (an algorithmic
blow-up is slow on every sample) and ignores one-off stalls. Budget,
warmup, seeds and inputs unchanged.
@brunoazoulay
brunoazoulay merged commit 722bc33 into main Oct 14, 2026
1 check passed
@brunoazoulay
brunoazoulay deleted the test/perf-lexer-min-of-3 branch October 14, 2026 12:02
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