Closed
Bug 1001845
Opened 10 years ago
Closed 10 years ago
AnimationBenchmark/svg perf regression in Firefox 30 with disable HWA
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: alice0775, Assigned: mattwoodrow)
References
()
Details
(Keywords: perf, regression, reproducible, Whiteboard: [qa!] )
Attachments
(1 file)
(deleted),
patch
|
roc
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1001593 +++
The following SVG benchmark is significant slower in Firefox30 than Firefox 29 with disable HWA.
Steps To reproduce:
1. Start Firefox with Disable HWA
2. Open http://themaninblue.com/experiment/AnimationBenchmark/svg/
Actual Results:
* Firefox 29: more than 17 fps
* Firefox 30: less than 2 fps
* Firefox 31: less than 2 fps
Regression window(m-i):
Good: >17fps
https://hg.mozilla.org/integration/mozilla-inbound/rev/1b4b7d198185
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 ID:20140228113428
Bad: <2fps
https://hg.mozilla.org/integration/mozilla-inbound/rev/4895aa1f1ee5
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 ID:20140228122129
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=9a04137a9c84&tochange=4895aa1f1ee5
Suspect: Bug 976877
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Comment 1•10 years ago
|
||
In local build,
Last Good: 1b4b7d198185
First Bad: 4e0303f0aebc
Regressed by:
4e0303f0aebc Matt Woodrow — Bug 976877 - Don't simplify invalidation regions since it leads to poor results. r=roc
Assignee | ||
Comment 3•10 years ago
|
||
This basically backs out the offending patch and just bumps up the rectangle counts instead.
It doesn't appear to regress the original testcase, but massively improves performance on this one.
Attachment #8413516 -
Flags: review?(roc)
Flags: needinfo?(matt.woodrow)
Updated•10 years ago
|
status-firefox32:
--- → affected
tracking-firefox32:
--- → +
Attachment #8413516 -
Flags: review?(roc) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → matt.woodrow
Comment 5•10 years ago
|
||
sorry had to back this out for test failures like https://tbpl.mozilla.org/php/getParsedLog.php?id=39122304&tree=Mozilla-Inbound
Comment 6•10 years ago
|
||
Matt, are you able to revive the work here in time for our FF30 release? This is a new regression to 30 so if we have a low-risk landing that could take care of it, let's get that into next week's beta.
Flags: needinfo?(matt.woodrow)
Assignee | ||
Comment 7•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=48d3601385f8
https://hg.mozilla.org/integration/mozilla-inbound/rev/cf90b93d9617
Flags: needinfo?(matt.woodrow)
Comment 8•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Comment 9•10 years ago
|
||
Without a beta uplift nomination, this missed the last beta that went to build today. Will have to wontfix for 30 and look for an Aurora nomination to get this landed to 31.
Assignee | ||
Comment 10•10 years ago
|
||
(In reply to Lukas Blakk [:lsblakk] from comment #9)
> Without a beta uplift nomination, this missed the last beta that went to
> build today. Will have to wontfix for 30 and look for an Aurora nomination
> to get this landed to 31.
That's unfortunate, but I felt it needed to make sure there weren't any real regressions, sort out the talos results etc.
I'll request aurora approval now.
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8413516 [details] [diff] [review]
Simplify again
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 976877
User impact if declined: Poor performance on some very dynamic pages
Testing completed (on m-c, etc.): Been on m-c for a few days, manually confirmed it fixes the issue.
Risk to taking this patch (and alternatives if risky): Very low risk, just modifies the amount of overdraw we have to reduce the time spent computing it precisely.
String or IDL/UUID changes made by this patch: None
Attachment #8413516 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Attachment #8413516 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 12•10 years ago
|
||
Whiteboard: [qa+]
Joel, is this something that we could include or replicate in talos so we catch regressions like this in svg? Thanks!
Flags: needinfo?(jmaher)
Comment 14•10 years ago
|
||
Liz, great question. We could add this to Talos, it found an issue that our current SVG tests didn't catch- so that helps justify it. We would need to agree on a few things such as how to determine how long to measure before recording FPS and if FPS is all we want to measure.
Matt, would you like to see this in Talos?
Flags: needinfo?(jmaher) → needinfo?(matt.woodrow)
Comment 15•10 years ago
|
||
I like this benchmark; I think we should even consider adding the HTML and Canvas versions to Talos as well. A few things would need to be fixed: The tests currently use setInterval, we should rather use requestAnimationFrame with ASAP mode. And the -moz- prefixes would need to be removed in the HTML version since we no longer support -moz-border-radius and -moz-box-shadow.
Comment 16•10 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #15)
> I like this benchmark; I think we should even consider adding the HTML and
> Canvas versions to Talos as well. A few things would need to be fixed: The
> tests currently use setInterval, we should rather use requestAnimationFrame
> with ASAP mode. And the -moz- prefixes would need to be removed in the HTML
> version since we no longer support -moz-border-radius and -moz-box-shadow.
Sounds great. I could add it to my backlog, or, if anyone else feels like having a go at it, I'll be able to help where needed.
Assignee | ||
Comment 17•10 years ago
|
||
Yeah, I think all versions of this benchmark would be useful, especially since they've already proven to find performance issues that our current set of tests don't.
Flags: needinfo?(matt.woodrow)
Comment 18•10 years ago
|
||
filed bug 1020365 to track adding these tests to Talos!
Comment 19•10 years ago
|
||
Reproduced with Fx 30 beta 8 (Build ID: 20140527133511).
Verified fixed with Firefox 31 beta 1 (Build ID: 20140610163407) on Windows 7 x32 [1] - more than 32 FPS with HWA disabled.
[1] Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0
Whiteboard: [qa+] → [qa!]
You need to log in
before you can comment on or make changes to this bug.
Description
•