[Webkit-unassigned] [Bug 191197] New: SVG filters crash on iOS and are slow in general
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 2 10:23:53 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=191197
Bug ID: 191197
Summary: SVG filters crash on iOS and are slow in general
Product: WebKit
Version: Safari 12
Hardware: All
OS: All
Status: NEW
Severity: Major
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jan.boesenberg at incors.com
CC: zimmermann at kde.org
Created attachment 353709
--> https://bugs.webkit.org/attachment.cgi?id=353709&action=review
Test case for filter performance
A simple SVG using filters may crash on Safari iOS and is very slow.
To reproduce the issue open the attached test case or follow this link: https://codepen.io/anon/pen/eQOxKE
With each cycle the test adds a clone of an SVG to the document. The SVG consists of a rect which has a filter applied.
It crashes after ~10 cycles on iPhone 4s, ~35 cycles on iPhone X and ~80 cycles on iPhone SE. On Safari desktop it is easily five times slower than Chrome, maybe comparable to Internet Explorer 11.
More notes:
- The same problem occurs if one SVG is created with multiple filtered rect elements, even if the same filter is applied to all elements.
- It does not matter what the filter does, even an empty filter containing only <feOffset /> gives the same result.
- I could not reproduce the crash with masks, so there seems to be a difference (although better performance on masks would not hurt)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181102/3d01534a/attachment.html>
More information about the webkit-unassigned
mailing list