docs/BENCHMARK.md
Benchmark documentation for Uni-CLI, used to measure the performance of the command-line tool in areas such as cold start, directory loading, and adapter call response size, and to provide retrieval ranking comparisons against baseline methods. The document contains test results generated on Node v26.11.1 / darwin-arm64, covering cold process startup time, full directory response size, adapter call p50/p95 response token counts, public call budgets, and other metrics. It also records comparisons of local ranking against baselines such as BM25 and MiniSearch, as well as the performance improvement of the evidence relevance scorer (median batch duration reduced from 31.5234 ms to 18.4456 ms, a 1.709x improvement). In addition, the document includes live representation and provider measurements, current product surface comparisons, maintenance gates, and other content, and explains that tests can be reproduced via npm run bench or BENCH_FIXTURES_ONLY=1 npm run bench.