Closed Bug 1386407 Opened 8 years ago Closed 8 years ago

Disable javascript.options.asyncstack when running AWSY tests

Categories

(Testing :: AWSY, enhancement)

enhancement
Not set
normal

Tracking

(firefox56 disabled, firefox57 fixed)

RESOLVED FIXED
mozilla57
Tracking Status
firefox56 --- disabled
firefox57 --- fixed

People

(Reporter: erahm, Assigned: erahm)

References

Details

Attachments

(2 files)

`javascript.options.asyncstack` [1] is used for debugging promises in devtools, it's disabled by default in beta and release. We should also disable it during testing as it is causing memory regressions as more code switches to native promises. [1] http://searchfox.org/mozilla-central/rev/bbc1c59e460a27b20929b56489e2e55438de81fa/modules/libpref/init/all.js#1433
Assignee: nobody → erahm
Status: NEW → ASSIGNED
This avoids the extra memory overhead from providing debug information for promises. The `javascript.options.asyncstack` pref is disabled by default in release and beta so this better mirrors what users will see. MozReview-Commit-ID: 5H8Kc08hjq9
Attachment #8892658 - Flags: review?(bob)
We specify '--preferences' in `awsy_script.py`, but weren't doing so for local testing. This uses 'conf/prefs.json' by default, but lets the user override that by specifying '--preferences'. MozReview-Commit-ID: 5j7a1LA4e8a
Attachment #8892659 - Flags: review?(bob)
Attachment #8892658 - Flags: review?(bob) → review+
Attachment #8892659 - Flags: review?(bob) → review+
== Change summary for alert #8488 (as of August 01 2017 22:55 UTC) == Improvements: 2% JS summary linux64 opt 115,106,387.70 -> 112,477,988.47 2% JS summary windows7-32 pgo 94,413,368.73 -> 92,401,944.59 2% JS summary windows10-64 pgo 126,978,628.95 -> 124,293,846.65 For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=8488
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Component: General → AWSY
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: