Skip to content

chore: bump dlclark/regexp2/v2 v2.11.0 -> v2.13.3 - #454

Merged
tannevaled merged 1 commit into
mainfrom
chore/regexp2-v2.13.3
Nov 28, 2026
Merged

tannevaled merged 1 commit into
mainfrom
chore/regexp2-v2.13.3

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Summary

engine#452 root-caused caniuse.com's flat ~0.77-0.78 speed ratio against
headless Chrome to dlclark/regexp2's addCaseEquivalences, but the
profiling that found it ran against v2.13.3's source tree in the Go
module cache — this repo's go.mod was still pinned to v2.11.0
(// indirect, via dop251/goja). This PR closes that gap first,
before any upstream work on the bug itself.

  • Bumps github.com/dlclark/regexp2/v2 v2.11.0 -> v2.13.3 in both the
    root module and the nested bench/ module (which also pins it
    transitively; go mod tidy in bench/ was needed too).
  • go build ./..., go vet ./..., gofmt -l . and gotest ./... are
    all clean on the bump alone (no behavioral change expected or seen).

Deferred to a follow-up measurement pass

Bench-corpus reconfirmation (caniuse.com speed-ratio still ~0.77-0.78,
CPU-profile hot spot still addCaseEquivalences, zero pixel/SSIM
regression from the bump itself) is not in this PR. 1-min load
average on the machine was 26-32 at the time of this change, well above
this fleet's ~8 measurement ceiling — the rule is "defer and say so"
rather than measure on a loaded shared box. Will run and report
separately once load allows.

Test plan

  • go build ./... clean
  • go vet ./... clean
  • gofmt -l . clean
  • gotest ./... all green
  • Bench-corpus speed-ratio + pixel regression check (deferred, see above)

🤖 Generated with Claude Code

engine#452 profiled the caniuse.com slowness against v2.13.3's source in
the module cache, not against the pin actually in go.mod (v2.11.0). Bump
to the shipped version so the next step's measurement is against what we
actually run.

go build/vet/gofmt and the full test suite are clean on the bump alone.
Bench-corpus speed-ratio and pixel-regression reconfirmation against
caniuse.com are deferred to a follow-up measurement pass: 1-min load
average was 26+ when this change was made, well above this fleet's ~8
measurement ceiling.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit f781f34 into main Nov 28, 2026
13 checks passed
@tannevaled
tannevaled deleted the chore/regexp2-v2.13.3 branch November 28, 2026 19:44
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