Repository navigation
chore: bump dlclark/regexp2/v2 v2.11.0 -> v2.13.3 - #454
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
engine#452 root-caused caniuse.com's flat ~0.77-0.78 speed ratio against
headless Chrome to
dlclark/regexp2'saddCaseEquivalences, but theprofiling 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, viadop251/goja). This PR closes that gap first,before any upstream work on the bug itself.
github.com/dlclark/regexp2/v2v2.11.0 -> v2.13.3 in both theroot module and the nested
bench/module (which also pins ittransitively;
go mod tidyinbench/was needed too).go build ./...,go vet ./...,gofmt -l .andgotest ./...areall 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/SSIMregression 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 ./...cleango vet ./...cleangofmt -l .cleangotest ./...all green🤖 Generated with Claude Code