Repository navigation
chore(deps): bump go-arena to v1.3.0 - #17
Merged
Merged
Conversation
astjson pinned go-arena at an October 2025 pseudo-version, while the router and graphql-go-tools require v1.3.0, the latest release. Go selects the highest required version, so those consumers already build with v1.3.0 and this changes nothing for them. It makes the package tests and benchmarks in this repository run against the arena implementation that ships.
vdatcu
approved these changes
Nov 27, 2026
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.
What
Bumps
github.com/wundergraph/go-arenafrom the pseudo-versionv0.0.0-20251008210416-55cb97e6f68ftov1.3.0, the latest release. Onlygo.modandgo.sumchange.Why
We want this package's tests and benchmarks to run against the go-arena version that is actually used: the router and graphql-go-tools both require
v1.3.0.v1.3.0, whatever thisgo.modsays.v1.3.0zeroes once on reset and keeps a forward-only cursor. Numbers measured in this repository therefore included overhead that does not exist in the router, which also dilutes any improvement measured here.Verification
go vet ./...andgo test ./...pass withv1.3.0.v1.3.0requires Go 1.25, the same as this module, so thegodirective does not change.Existing arena benchmarks, pinned version against
v1.3.0(Apple M5 Pro,-count=8):ParseArenaParseArenaAndGetParsing spends most of its time outside the allocator. Code that mostly builds values shows a larger gap: a local benchmark that builds 100 small objects on an arena, not part of this PR, went from 43.5µs to 27.1µs.
Tracked as ROUTER-960.
🤖 Generated with Claude Code
Summary by CodeRabbit