XPerf
LanguagesC++Evidence

cx-regex-ctor-hot — measured, still hint

Status

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

Measurement

Both sides search the short haystack id-2026. Before constructs std::regex every iteration.

rolecasemedian_msopsratio
afterconstruct once0.3054001
beforeconstruct every iteration2.3554007.725

A long haystack hid this constructor (an earlier run was about 1.55×). 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.