NEW 193703
Browser hangs on opening an SVG with Bezier curves and dash lines
https://bugs.webkit.org/show_bug.cgi?id=193703
Summary Browser hangs on opening an SVG with Bezier curves and dash lines
Eric Wang
Reported 2019-01-22 18:47:11 PST
Created attachment 359833 [details] TheSlowSVGInSafari.html I have extracted the problematic SVG image into a test page (see attachment TheSlowSVGInSafari.html). It can repro easily opening this file in Safari: Moving the mouse over the title will trigger some animation effects on the SVG image displayed below. You will see that every time when the mouse moves over the tile, the page becomes extremely slow, the animation shows up frame by frame, very junky. Opening the timeline recorder dev tool in Safari, you will notice that most of the time is spent doing Composite/Pain in the page. Tried the same file on all other types of browsers (Firefox, Chrome, Edge, IE on MacBook or Windows), this problem only happens in Safari.
Attachments
TheSlowSVGInSafari.html (9.05 KB, text/html)
2019-01-22 18:47 PST, Eric Wang
no flags
Radar WebKit Bug Importer
Comment 1 2019-01-23 09:51:40 PST
Simon Fraser (smfr)
Comment 2 2019-01-23 09:51:57 PST
This is under CoreGraphics (CGPathApplyStrokedDashedPath).
Ahmad Saleem
Comment 3 2022-08-13 15:52:31 PDT
smfr@webkit.org - Since it is under CG, should it be "RESOLVED MOVED" and then I don't know internal process (do mojo something). Can you also explain it for my learning? Thanks!
Simon Fraser (smfr)
Comment 4 2022-08-13 16:34:50 PDT
We probably want to keep this open in case we decide to do a WebKit workaround for slow CGPathApplyStrokedDashedPath() performance.
Note You need to log in before you can comment on or make changes to this bug.