Design decisions

170. A runtime ratio counts only when the original runs 100 ms (2026-11-21)

The scoreboard's runtime p50/max and the per-port runtime ratchet count a port only when its original runs at least 100 ms on the port's max input (PERF_FLOOR_MS, was 10 ms on either side). Below that the ratio measures process startup and the scanner, not the algorithm: 142 ports were measured, 136 of them on inputs whose original ran 2-99 ms, and the 6 left had p50 1.54x where the summary said about 1.0x. A port below the floor is recorded as perf: unmeasured with the reason; it gets counted again once its generator (or a spec in bench/corpus_generators.py) reaches the statement's max constraints. Specs at max constraints were added for cf2261g, cf2115f1, ucup5s01a and cf2062h (n = 14). A spec with no generator marks its port unmeasured with the spec's reason instead of falling back to the adaptive probe: cf2157c, whose statement limits are not on file. Reverse: set PERF_FLOOR_MS back to 10 and apply it to max(cpp_ms, orig_ms).

The ratio compares one compiler with itself: when the original only builds with zig c++ (C++23 deducing this, as in cf2261g), the port's timed binary is built with zig c++ too, and perf.compiler records which. Before, such a port's g++ build was timed against a clang-built original, which put cf2261g at 1.39x where the same compiler gives 0.99x. Reverse: time port_bin in evaluate_full_port again.