XPerf
LanguagesCEvidence

cp-fopen-hot — measured, still hint

Status

hint. Wall-clock JSONL: cp-fopen-hot.jsonl. Not corpus-triaged. The 2026-10-22 corpus verdict does not cover this slug.

Measurement

2000 opens of a one-byte file. After opens once and rewind/fgetc. This is syscall-bound, not a parse benchmark.

rolecasemedian_msopsratio
afterfopen_once0.06800020001
beforefopen_each_iter28.7920002000423.413

The microbench shows a cost for this one shape. Default stays hint until the shape is corpus-triaged. This ratio is not a general speedup.

Unblock

Do not set the default to error from this file alone. A changing input, a cold path, or another ABI can erase the difference. Corpus triage is still required before any default change.