The benchmark documentation for Uni-CLI (docs/BENCHMARK.md) describes the project's benchmark suite, used to measure the performance of the command-line tool in agent usage scenarios. The document states that the benchmark suite measures cold CLI startup, full directory size, and representative operation response size (from the agent's perspective). Using fixture mode yields deterministic CI output. Each root CLI measurement starts a new process; adapter fixture timing covers in-process parsing and formatting; live mode includes the subprocess and network paths used by commands.
The latest generated results are based on a run on 2026-10-10 on Node v26.11.1 / darwin-arm64 in fixture mode (50 iterations per case). They can be reproduced via npm run bench (local live mode) or BENCH_FIXTURES_ONLY=1 npm run bench (CI deterministic fixture mode). The document includes measurement results such as cold process CLI startup, full directory response size, adapter call p50 and p95 response token counts, and public call budgets.
Regarding interpretation of the results, unicli --help and unicli --version measure the minimal process startup path; unicli list -f json measures directory loading and serialization; adapter cases use --limit 5, reflecting common agent retrieval calls. Full directory output can be obtained on demand, while search and describe provide smaller everyday paths. The public response target for common list operations is a total token count of no more than 600 at --limit 5; commands with larger results should provide limits, pagination, or compact output.
In the local ranking comparison section, measurements were taken on 2026-10-10 using Node 26.11.1 on an Apple M4 Pro. Each method receives the same 2,014 built-in and core command documents (including 2,011 discoverable documents), with host manifests and user overrides disabled for all methods. The frozen comparison uses the complete a3ccd598 source tree. The historical set contains 617 positive queries and 26 negative queries; an additional 32-query set covers academic providers, model lookup, topic boundaries, and explicit sources, and includes four additional no-match queries. The 32 cases were used to diagnose and fix ranking failures and are retained as a diagnostic set; post-fix scores measure these usFor example, untested estimates require a separate holdout set.
The resident sample interleaves 3,395 queries per method. The full router includes query analysis, intent routing, scoring, top-five selection, and result shaping. The lexical baseline uses the same frozen bilingual tokenization and alias expansion. BM25 uses k1=1.2, b=0.75; MiniSearch uses its built-in BM25+ defaults, exact matching, and documented fuzzy presets. Parameters remain fixed throughout the comparison. The current router retains historical results and resolves six source and topic failures in the diagnostic set. Six diagnostic cases miss ranking first, one of which is not in the top five. Raw misses and negative query scores are retained in bench/search-baselines.results.json. Score scales vary by method. Pure lexical retrieval takes less time per query; the full router achieves higher Top-1 accuracy on these sets.
For the cold boundary, each full router uses nine fresh processes, including ESM import, index construction, and first query. The baseline and current median process times are 83.823 ms and 82.790 ms, respectively; median ready times are 50.160 ms and 48.659 ms, respectively. These samples do not include CLI argument parsing and host inventory. The cold CLI measurements above retain their own boundaries. The single in-process build sample in the report is descriptive; repeated cold samples provide the build comparison.
In the resident evidence relevance scoring section, npm run bench:relevance compares the evidence scorer with the fixed 9634121c source code. On Apple M4 Pro, darwin-arm64, and Node 26.11.1, nine alternating rounds measured 10,000 scoreRetrievalAlternatives calls per batch. The baseline median batch time is 31.5234 ms, the current scorer is 18.4456 ms, a ratio of 1.709x. The fixed workload combines 20 queries and 500 constructed records, including multilingual text, punctuation, alternatives, empty input, and overlapping terms. The full result comparison covers both values of requireAllTerms, and all 20,000 comparisons match. Each implementation receives one warm-up batch before alternating measurement. Measured calls include field normalization, term matching, scoring, and alternative selection; query analysis is prepared once. Process startup, module loading, network requests, and file I/O are not timedWithin bounds. These results establish the scorer's behavior and cost on a fixed workload; end-to-end source retrieval has separate network and fetch costs. Raw samples and environment details are in bench/retrieval-relevance.results.json.
Live representation and provider measurements were taken on 2026-10-10 using npm run bench:internet. Byte counts refer to decoded UTF-8 body text. Network compression, connection establishment, source caching, and remote payload retention each have their own effects. Cloudflare total HTTP plus transformation median: 219.557 ms for HTML, 193.453 ms for native Markdown. The first HTML request and transformation sample took 6,768.108 ms; the raw report retains that sample. Native Markdown carries source metadata and content formatting that differ from local HTML extraction. OpenRouter returned 458 catalog records and two native query records; in this run both paths selected the same two model IDs. The recorded request times were 7,111.872 ms and 165.383 ms respectively. One sample per path supports this workload observation; general network speedup requires repeated controlled measurements. The internet access guide describes the implemented routing, caching, and recovery contracts. These measurements cover local discovery and selected HTTP endpoints; retrieval quality for hosted Exa and Context7 has not yet been measured by this suite.
In the current product surface comparison section, the comparison keeps each product within its declared bounds. Catalog totals measure breadth; the Uni-CLI task suite measures whether users can find and prepare operations from the published command line. The shared personal content classifier omits generic identity commands such as whoami; the table reports current counts using the same classifier. Coverage comparisons are observations; maintenance gates check executable tasks and catalog consistency. Among published discovery tasks, Uni-CLI completed 14/14 tasks ranked first; 14/14 top results included the invocation, inspection command, and required authentication setup; personalized tasks completed 5/5. Maintenance gates include: root discovery entry coverage 6/6, generated catalog sync passing, OpenCLI pinned baseline integrity passing, personal content command parity below the comparison baseline, product surface gate passing. This section can be reproduced via npm run bench:product-surface. The report command writes to bench/results.json and updates the generated section on this page.