Closed
Bug 1382427
Opened 7 years ago
Closed 7 years ago
Support running reftest in a mode than runs the test with Retained Display lists on, and references with it off
Categories
(Core :: Web Painting, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: bugs, Assigned: jwatt)
References
Details
(Keywords: perf)
Attachments
(1 file, 3 obsolete files)
4.84 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
The Retained DisplayLists feature is a rendering optimization that caches the current display so that later Layout mutations are faster to paint. Our existing reftests are good at validating initial rendering, but not so good at testing Layout mutations with subsequent paints.
The current reftest harness does this:
1. start test
2. wait for stable paint
3. take snapshot for bitmap comparison
We need to modify the reftest harness so that it will test the cases that break when incorrect DisplayList calculations from Layout mutations end up painting the wrong pixels.
Reporter | ||
Updated•7 years ago
|
Assignee: nobody → tschneider
Comment 2•7 years ago
|
||
I talked to Matt, he says it's very unlikely for this to land in 57. In line with our triage rules that makes this P2.
Whiteboard: [qf:p1] → [qf:p2]
I though the way the reftest harness works tested at least some of this codepath...
Assignee | ||
Comment 4•7 years ago
|
||
Running reftests with the pref reftest.compareRetainedDisplayLists set to true will run them with RDL turned on for the tests and off for the reference files.
Assignee | ||
Comment 5•7 years ago
|
||
Assignee | ||
Comment 6•7 years ago
|
||
Note these patches build on top of the patches from bug 1404181.
Reporter | ||
Updated•7 years ago
|
Assignee: tschneider → jwatt
Assignee | ||
Comment 7•7 years ago
|
||
Assignee | ||
Comment 8•7 years ago
|
||
Try run with just part 1, running tests with RDL enabled, references with it off:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e902775b6126f9212aa73bb8cfcbabd665d73911
Try run with just part 2, fuzzing reftests without RDL enabled:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=53eb85b8c1adbc744241c1a917dafd1e437f0edb
Try run with both parts 1 and 2:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=898eb728fa6d88ab4801e6f10d3d47b0f88bde66
Assignee | ||
Comment 9•7 years ago
|
||
(In reply to Jonathan Watt [:jwatt] (needinfo? me) from comment #7)
> Created attachment 8920063 [details] [diff] [review]
> part 3 - WIP fuzzing patch to the reftest harness
This is based on the 10 year old add-on, refdyn, from:
https://bugzilla.mozilla.org/show_bug.cgi?id=373610
refdyn's code is no obsolete I didn't try and resurrect it in its previous add-on form. Instead I integrated the still useful parts into our current reftest harness and modified it with some of the current ideas from domfuzz.
Assignee | ||
Updated•7 years ago
|
Attachment #8920063 -
Attachment is obsolete: true
Assignee | ||
Comment 10•7 years ago
|
||
I've pretty much rewritten the fuzzer code (e.g. to apply and then remove a stack of changes, rather than push and remove one change at a time) and moved it off to bug 1415558.
Assignee | ||
Comment 11•7 years ago
|
||
Let's make this bug just about supporting running reftest in a mode than runs the test with Retained Display lists on, and references with it off.
Summary: Reftest changes to validate retained DisplayLists → Support running reftest in a mode than runs the test with Retained Display lists on, and references with it off
Assignee | ||
Comment 12•7 years ago
|
||
Attachment #8917423 -
Attachment is obsolete: true
Attachment #8917424 -
Attachment is obsolete: true
Attachment #8926424 -
Flags: review?(matt.woodrow)
Comment 13•7 years ago
|
||
Comment on attachment 8926424 [details] [diff] [review]
patch
Review of attachment 8926424 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good!
Attachment #8926424 -
Flags: review?(matt.woodrow) → review+
Comment 14•7 years ago
|
||
Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c2bf7ca0839c
Support running reftests with retained display lists on for the test files only. r=mattwoodrow
Comment 15•7 years ago
|
||
Backed out changeset c2bf7ca0839c (bug 1382427) for failing reftests r=backout on a CLOSED TREE
https://hg.mozilla.org/integration/mozilla-inbound/rev/907fb4683dfef81fbb746035939ac8154b66dfe5
https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=c2bf7ca0839c7be4964557d10eab2b198004c803&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception
Flags: needinfo?(jwatt)
Comment 16•7 years ago
|
||
Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4162a11c0a7e
Support running reftest in a mode that runs the test with Retained Display lists on, and references with it off. r=mattwoodrow
Assignee | ||
Comment 17•7 years ago
|
||
(In reply to Noemi Erli[:noemi_erli] from comment #15)
> Backed out changeset c2bf7ca0839c (bug 1382427) for failing reftests
> r=backout on a CLOSED TREE
I pushed an old patch from the wrong tree with testing changes to modules/libpref/init/all.js to flip the comparison pref on.
Flags: needinfo?(jwatt)
Comment 18•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•3 years ago
|
Performance Impact: --- → P2
Whiteboard: [qf:p2]
You need to log in
before you can comment on or make changes to this bug.
Description
•