XPerf
LanguagesC++Evidence

cx-endl-hot — measured, still hint

Status

hint. Wall-clock JSONL: cx-endl-hot.jsonl. Not corpus-triaged. The 2026-10-22 corpus verdict does not cover this slug. Two shapes are in the JSONL.

Measurement

Both sides write the same integers. On cout tied to /dev/null, endl flushes every insertion. On a string stream, endl does not flush a file.

rolecasemedian_msopsratio
afternewline on cout, one flush1.022200001
beforeendl on cout23.1282000022.622
afternewline on a string stream3.923500001
beforeendl on a string stream3.397500000.866

The external-stream flush shows a cost. The string-stream shape does not (about 0.87×). Default stays hint.

Unblock

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