Add benchmark results and tests for LSP graph builder and staged search

- Introduced a new benchmark results file for performance comparison on 2026-02-09.
- Added a test for LspGraphBuilder to ensure it does not expand nodes at maximum depth.
- Created a test for the staged search pipeline to validate fallback behavior when stage 1 returns empty results.
This commit is contained in:
catlog22
2026-02-09 21:43:13 +08:00
parent 4344e79e68
commit 362f354f1c
25 changed files with 2613 additions and 51 deletions

17
package-lock.json generated
View File

@@ -27,6 +27,8 @@
"node-pty": "^1.1.0-beta21",
"open": "^9.1.0",
"ora": "^7.0.0",
"tree-sitter-wasms": "^0.1.13",
"web-tree-sitter": "^0.24.0",
"zod": "^4.1.13"
},
"bin": {
@@ -25844,6 +25846,15 @@
"tree-kill": "cli.js"
}
},
"node_modules/tree-sitter-wasms": {
"version": "0.1.13",
"resolved": "https://registry.npmjs.org/tree-sitter-wasms/-/tree-sitter-wasms-0.1.13.tgz",
"integrity": "sha512-wT+cR6DwaIz80/vho3AvSF0N4txuNx/5bcRKoXouOfClpxh/qqrF4URNLQXbbt8MaAxeksZcZd1j8gcGjc+QxQ==",
"license": "Unlicense",
"dependencies": {
"tree-sitter-wasms": "^0.1.11"
}
},
"node_modules/trim-lines": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",
@@ -28411,6 +28422,12 @@
"url": "https://github.com/sponsors/wooorm"
}
},
"node_modules/web-tree-sitter": {
"version": "0.24.0",
"resolved": "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.24.0.tgz",
"integrity": "sha512-NZWxfjayD1NlO4klbaR7ohHTp67uBjYC/y7pr+aaiqdpAbRHvmSs30f6O562E6YrwaZwFVu38HIA7GDmuxgtUg==",
"license": "MIT"
},
"node_modules/web-vitals": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-5.1.0.tgz",