Skip to content

Commit eefc857

Browse files
committed
bench(deps-go): add comprehensive benchmarks for Go ecosystem
Add criterion benchmarks covering: - go.mod parsing (small/medium/large files, all directives) - go.sum lockfile parsing - Version comparison operations - Pseudo-version detection - Module path escaping for proxy API - Position tracking for LSP features - Unicode and comment handling Performance targets documented for LSP latency requirements.
1 parent 59268ff commit eefc857

File tree

3 files changed

+514
-0
lines changed

3 files changed

+514
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/deps-go/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ semver.workspace = true
2828
tokio = { workspace = true, features = ["macros", "rt"] }
2929
tokio-test.workspace = true
3030
tempfile.workspace = true
31+
criterion.workspace = true
32+
33+
[[bench]]
34+
name = "go_benchmarks"
35+
harness = false

0 commit comments

Comments
 (0)