Skip to documentation content
Branchcut
Evidence

Direct CLI comparison

Same-session comparison of Branchcut, zlob, ripgrep, fd, fast-glob, and tinyglobby using official command-line or package APIs.

Scope

This is the historical 12 November 2026 snapshot. Later builds have separate dated evidence.

This comparison uses each project's official CLI or public package API. It does not use the development walker adapter for zlob. Every command searches the same generated 100,000-file tree and serializes the selected relative paths.

The retained raw record contains three warmups, nine measured samples per implementation, executable hashes, package versions, exact failure handling, and every raw timing.

The fixture includes ordinary source, documentation, build-output, dependency, hidden, ignored, and brace-expanded cases. Filenames are ASCII and the filesystem cache is uncontrolled.

Method

  • Every complete result is compared with a generator manifest before timing and after every measured sample.
  • Every result is checked for duplicate paths.
  • Unordered limits are checked for exact count and membership in the complete valid set.
  • Combinations without an equivalent invocation implemented in this runner are not measured (n/t); this does not establish feature absence.
  • Branchcut default, four-worker, and automatic modes were all measured where legal.
  • ripgrep and fd default, one-worker, and four-worker modes were measured for broad, fixed-prefix, and exclusion workloads.
  • Times are fresh-process wall-clock milliseconds and include startup, query planning, traversal, filtering, and stdout capture.

Results

Each cell is the fastest tested configuration for that tool on the workload. The fast-glob and tinyglobby rows include fresh Node process startup and package loading.

WorkloadMatchesBranchcutzlobripgrepfdfast-globtinyglobby
Broad files100,00264.39 ms auto110.75 ms98.05 ms98.98 ms430.70 ms264.85 ms
Fixed-prefix Rust1,25037.64 ms auto37.99 ms72.67 ms46.59 ms237.99 ms181.28 ms
Rust/TOML with exclusions37,50149.70 ms auton/t73.35 ms88.09 ms365.77 ms231.10 ms
Hidden Rust37,50357.50 ms auto99.21 ms79.89 ms91.14 ms347.63 ms225.47 ms
.gitignore Rust25,00064.09 ms default90.47 ms76.18 ms105.95 msn/tn/t
Directories20251.46 ms auto90.69 msn/t78.60 ms279.47 ms152.17 ms
Sorted Rust37,50192.23 ms auto107.54 ms239.39 msn/tn/tn/t
First 10 Rust1036.12 ms default104.92 msn/t44.49 msn/tn/t
Broad NUL output100,00267.21 ms auton/t98.44 ms98.14 msn/tn/t
Recursive basename Rust37,50157.22 ms default92.81 ms91.55 ms94.62 ms349.65 ms214.40 ms

Worker controls

Broad-files configurationMedianP90
Branchcut automatic (--threads 0)64.39 ms76.03 ms
Branchcut adaptive default67.98 ms88.97 ms
Branchcut four workers78.77 ms86.80 ms
ripgrep default98.05 ms111.66 ms
fd default98.98 ms116.79 ms
zlob default110.75 ms133.99 ms
fd four workers120.87 ms130.99 ms
ripgrep four workers132.67 ms139.58 ms
fd one worker239.38 ms264.72 ms
ripgrep one worker252.19 ms291.78 ms
tinyglobby264.85 ms324.64 ms
fast-glob430.70 ms561.26 ms

Branchcut leads the fixed-prefix workload by 0.9%, which is effectively a tie with zlob. Branchcut is faster on every other tested common workload.

Interpretation

Branchcut's strongest measured advantages come from combining traversal with query planning: exclusions, hidden-path filtering, .gitignore, directory selection, limits, NUL output, and recursive basename matching. Its automatic worker policy also performs well on this Windows/NTFS fixture.

The result is not universal. zlob ties the fixed-prefix case and remains a strong low-level glob and walker implementation. ripgrep and fd remain excellent general-purpose defaults, and fast-glob and tinyglobby provide broader JavaScript APIs than Branchcut's current Rust interface.

Public-repository, Linux, macOS, cold-disk, and memory measurements remain separate gates.

On this page