Repository navigation
test(performance): compare shared upstream filesystem workloads - #30
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
test(performance): publish reproducible API comparisons and fix review findings
Problem and result
Our existing Node comparisons did not show how Vooya performs against specialized filesystem libraries. This adds reproducible shared workloads adapted from pinned fdir and tinyglobby benchmarks, compares Node, fdir, fast-glob, tinyglobby, glob and Vooya, and publishes complete Node 22/24 evidence including losses.
Based on #29 (
perf/native-batch-overheads). The integrated change includes all 26 API comparison tables, sequential reproduction and review corrections for glob semantics, Windows scan metadata and actual native-binary provenance. Runtime concurrency defaults are unchanged.Benchmark contract
Findings and follow-up
On the real repository, synchronous full-tree glob wins against the tested synchronous competitors, while asynchronous glob trails the fastest fdir/tinyglobby result. Default recursive readdir also trails fdir. A separate public-API concurrency sweep reduces Vooya readdir wall time by 61–62% with four workers and CPU time by 85–86%, bringing it close to fdir. Small differences do not establish a repeatable lead. Tiny and wide cases expose additional losses. Documentation includes every result and prioritizes profiling scheduling and allocation before changing defaults.
Validation
Final verified code tree:
27d9beaac4576bdb74ddafb4a7bfceb58ff7bb06. Passing cross-platform CI. Integration preserves this exact tree.