Function mozjs::jsapi::JS::SetProfileTimelineRecordingEnabled

source ·
pub unsafe extern "C" fn SetProfileTimelineRecordingEnabled(
    enabled: bool,
)
Expand description

Tell JS engine whether Profile Timeline Recording is enabled or not. If Profile Timeline Recording is enabled, data shown there like stack won’t be optimized out. This is global state and not associated with specific runtime or context.