Closed
Bug 650790
Opened 15 years ago
Closed 15 years ago
Disable session restore during Talos add-on ts tests
Categories
(Testing :: Talos, defect)
Testing
Talos
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: nmaier, Unassigned)
References
Details
If I'm not mislead, browser session restore is still active between test runs when performing add-on ts tests.
It should be disabled, to avoid restoring remote or local first run pages that add-ons or the browser might open, as this might contribute to ts a little, e.g. I/O or locally generated content and to avoid any overhead of session restore itself.
IIRC, Session restore might be disabled by setting:
browser.sessionstore.max_(windows|tabs)_undo : 0
Since the time ranges add-on ts tests for are generally very low (a percent point equals about 4-7ms) even such micro-optimizations might have an actual impact on the outcome/ranking.
(As this is a configuration issue, I wasn't sure on which would be the appropriate component to file this under)
Comment 1•15 years ago
|
||
The sessionRestore prefs are kept at the default used by the browser. The
session restore itself is not activated as the browser hasn't crashed, it has
been closed cleanly and if a crash occurs testing is halted.
As we compare the addon ts perf results to the same ts test without an addon
installed whatever overhead is involved with sessionRestore will be the same
across both tests.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•