Skip to content
hw.dev
hw.dev/signal/nano-ros-parallel-build-floor-walk-2026
Signalnano-ros

nano-ros Cuts an Embedded Build Check From 45 Seconds to Eight

nano-ros makes an eight-way embedded build analysis fast enough to run routinely without oversubscribing the machine.

Thesis connection

An embedded build check is more valuable when it finishes in seconds and shares the same worker limit as the build itself.

#embedded#tools#software#testing
Read Original

nano-ros checks eight possible dependency orders to find the largest memory footprint an embedded build can reach. Those searches are independent, yet the tool ran them serially. On its RISC-V parameter-store example, a check that should have fit beside the build took 45 seconds.

The walker now borrows available worker tokens from the build system's shared job pool and runs the orders in parallel. It takes only free tokens, returns every token, and falls back to serial work when no pool exists, so the analysis can't start eight extra jobs on top of an already full build. With eight tokens, the check fell from 45 seconds to eight and returned the same 204,536-byte result. Four drift cases also matched their serial results exactly.

At eight seconds, this check can run on every relevant build instead of becoming a manual capacity audit. Embedded tool authors should copy the resource-sharing behavior as carefully as the parallelism, because a faster analysis that overloads the compiler just moves the wait elsewhere.