Find code by asking what it does. A CLI for coding agents that uses Jev to discover relevant files and source context.
Tree-sitter replacement results
Performance Improvement
Fixed baseline: upstream 2dc1d3c. Five fresh processes per arm/workload,
interleaved before/after in Docker (Linux/amd64, Node 22, two CPUs, 2 GiB,
network disabled). Each process measures the first production inspect() call
and ten subsequent calls on new snapshots. No provider calls were made.
Cold time includes importing the source module and starting the parser worker; it excludes container/Node process launch. Warm time is the median of ten calls, then the median across five processes. These are local inspection measurements, not end-to-end search latency. Output SHA-256 hashes match between arms for every fixture. The source files contain Unicode comments and function bodies.
| Language | Declarations | Cold before → after (ms) | Cold reduction | Warm before → after (ms) | Warm change |
|---|---|---|---|---|---|
| python | 100 | 2809.2 → 541.3 | 80.7% | 7.98 → 6.94 | -13.0% |
| python | 1,500 | 2403.2 → 740.6 | 69.2% | 89.55 → 81.93 | -8.5% |
| typescript | 100 | 463.6 → 470.8 | -1.6% | 7.42 → 7.56 | +1.9% |
| typescript | 1,500 | 637.8 → 652.5 | -2.3% | 32.10 → 36.73 | +14.4% |
Negative warm change means faster. TypeScript is unchanged and is included as a noise/control workload; its fluctuations are not attributed to Tree-sitter. The supported performance claim is lower cold Python inspection latency. Earlier cohorts included warm regressions, and the unchanged TypeScript control also fluctuates. Treat warm differences as noisy, not a general speedup.
| Python declarations | Worker RSS before → after (MiB) |
|---|---|
| 100 | 150.0 → 71.0 |
| 1,500 | 176.9 → 101.8 |
Worker RSS is a Linux /proc snapshot after the repeated inspections, not peak
whole-search memory. Parent peak RSS is retained in the raw data separately.
Reproduction and evidence
Create a separate clean checkout at 2dc1d3c, then from this branch run:
python3 test/parser/run-tree-sitter-bench.py /path/to/baseline > specs/tree-sitter/assets/confirmation.jsonl
python3 specs/tree-sitter/summarize.py
The runner builds both actual source images and records image identities and candidate source hashes. Both use exactly the same benchmark script. It rejects output mismatches and unsupported benchmark language labels.
Final raw data, initial cohort, and query-development confirmation, and pre-review confirmation retain all recorded trials. The initial implementation improved startup but regressed warm inspection; syntax-node filtering was revised before final confirmation. See review disposition and validation.
These measurements precede the final Python-only scope and call-context fixes. Final validation records the integrated candidate separately.
Limits of this cohort: synthetic inspection fixtures; no paid/live-provider evaluation, macOS, ARM, full repository search-latency benchmark, or integration with the separate unsubmitted calibration/parsed-reuse branches. This cohort is historical evidence rather than a timing guarantee for the final merge.