roadmap BUILT

606. A directory walk costs what it does on Linux

calef, 2026-09-26 (UTC), on the walk figures of milestone 121 (ripgrep on nife: enumeration as a capability): "20x slower is unacceptable." Raised the same day for lane milestone/606-walk-cost. (Number and title provisional: the integrator mints the number at merge, and the title is a draft until an architect names it.)

Index row

A recursive std::fs walk on nife was about 68x slower than Linux on the same machine. The FS server now keeps what it read, so a warm walk never reaches the device, and a subtree grant the server enforces itself brings it to 0.85x Linux.

The goal

Parity with Linux on the same hardware tier for the walk ripgrep's ignore crate performs: list every directory, read every file. The instrument is milestone 121's (walk_pricing over file_system_contract::fixture::walk), through the grant a confined rg pattern src/ will hold.

What is built

Warm walk, release kernel, HVF, 2026-09-26: 27.0 to 29.5 ms before, 0.76 to 0.82 ms after; Linux 0.41 to 0.42 ms. notes/walk-cost.md has the split, the method and the caveats.

The wire changes, ruled 2026-09-27

calef ruled on #1387. Each option was prototyped and measured first; the note has the table.

Follow-on

BUGS