Open Bug 1588511 Opened 6 years ago Updated 3 years ago

Disable ENABLE_STRING_STATS in a normal debug build

Categories

(Core :: XPCOM, task)

task

Tracking

()

People

(Reporter: sg, Unassigned)

Details

Currently, any Debug build enables ENABLE_STRING_STATS via https://searchfox.org/mozilla-central/source/xpcom/string/nsSubstring.cpp#8, and there is no runtime condition that guards the output it generates. However, this is information is not really useful in most executions, e.g. when running tests that. So either this should not be enabled in a regular Debug build by default, or at least not in a regular execution by default, but guarded via a pref or environment variable.

Component: String → XPCOM
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.