Closed
Bug 1202317
Opened 9 years ago
Closed 9 years ago
Firefox slow with degenerate SVG filter
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: roc, Assigned: roc)
References
()
Details
Attachments
(5 files)
https://information-node.net/illustration1.svg renders very slowly in Firefox but not in Chrome. The problem seems to be the SVG filter, which is very complex (55 primitives). The filter is applied to just one <path> element, which is fill:none and stroke:url(#pattern6816-3) ... but <pattern id="pattern6816-3"> is empty (though we can't just optimize away filter processing for empty elements).
The filter contains, among other things, 7 <feComposite operator="arithmetic"> with all-zero k values (i.e. transparent black), and 14 <feColorMatrix type="saturate"> with values="1" (i.e. noop).
Assignee | ||
Comment 1•9 years ago
|
||
Bug 1202317. Bail out early if RequestRect is going to do redundant work. r=mstange
Attachment #8657673 -
Flags: review?(mstange)
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1202317. Support PodEqual over fixed-length arrays. r=Waldo
Attachment #8657674 -
Flags: review?(jwalden+bmo)
Assignee | ||
Comment 3•9 years ago
|
||
Bug 1202317. Optimize away identity ColorMatrix nodes. r=mstange
Attachment #8657675 -
Flags: review?(mstange)
Assignee | ||
Comment 4•9 years ago
|
||
Bug 1202317. Optimize feComposite type="arithmetic" with all-zero k values to transparent black. r=mstange
Attachment #8657676 -
Flags: review?(mstange)
Assignee | ||
Comment 5•9 years ago
|
||
The first patch is the real fix of course.
Updated•9 years ago
|
Attachment #8657673 -
Flags: review?(mstange) → review+
Comment 6•9 years ago
|
||
Comment on attachment 8657673 [details]
MozReview Request: Bug 1202317. Bail out early if RequestRect is going to do redundant work. r=mstange
https://reviewboard.mozilla.org/r/18395/#review16567
Comment 7•9 years ago
|
||
Comment on attachment 8657675 [details]
MozReview Request: Bug 1202317. Optimize away identity ColorMatrix nodes. r=mstange
https://reviewboard.mozilla.org/r/18399/#review16569
Attachment #8657675 -
Flags: review?(mstange) → review+
Comment 8•9 years ago
|
||
Comment on attachment 8657676 [details]
MozReview Request: Bug 1202317. Optimize feComposite type="arithmetic" with all-zero k values to transparent black. r=mstange
https://reviewboard.mozilla.org/r/18401/#review16571
Attachment #8657676 -
Flags: review?(mstange) → review+
Assignee | ||
Comment 9•9 years ago
|
||
Assignee | ||
Comment 10•9 years ago
|
||
Oooops, pushed without Waldo's review. Oh well. Let's assume he'll r+ it when he's ready :-).
Comment 11•9 years ago
|
||
Updated•9 years ago
|
Attachment #8657674 -
Flags: review?(jwalden+bmo) → review+
Comment 12•9 years ago
|
||
Comment on attachment 8657674 [details]
MozReview Request: Bug 1202317. Support PodEqual over fixed-length arrays. r=Waldo
https://reviewboard.mozilla.org/r/18397/#review16679
Comment 13•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e416ad732757
https://hg.mozilla.org/mozilla-central/rev/e3a099db7378
https://hg.mozilla.org/mozilla-central/rev/76240ee211ca
https://hg.mozilla.org/mozilla-central/rev/f088e6dbb1ba
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•