deps(treesitter): upgrade gotreesitter from v0.16.0 to v0.48.0 - #43
Merged
Conversation
HarshK97
force-pushed
the
deps/upgrade-gotreesitter-v0.48.0
branch
2 times, most recently
from
August 2, 2026 05:41
b135053 to
f999fef
Compare
HarshK97
force-pushed
the
deps/upgrade-gotreesitter-v0.48.0
branch
from
August 2, 2026 05:47
9437919 to
0a4b312
Compare
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.
Problem
gotreesitter v0.16.0had unbounded GLR parser stack splits on ambiguous syntax like Python blocks, causing severe parsing slowdowns up to ~400ms.What Changed
gotreesitterfromv0.16.0tov0.48.0..github/workflows/ci.ymlinto 4 dedicated, decoupled jobs:lint: Fails fast in ~15s on syntax/formatting issues.test-linux: Runs unit tests + code coverage onubuntu-latest.test-cross: Runs cross-platform unit tests onmacos-latest&windows-latestin parallel.benchmark: Depends on[lint, test-linux](nottest-cross), executing A/B benchmarks as soon as Linux unit tests pass with path filtering.benchstatoutput into a clean GitHub Step Summary report with geometric means, highlighted performance deltas, and collapsible breakdown tables.Version Evolution
Benchmark & CI Reporting Impact
py_fix_encode_filesdropped from 392.57 ms to 23.31 ms).gotreesitterwithCGO_ENABLED=0, giving us zero CGo build setups with only ~10% total pipeline difference against CGo tree-sitter.