Closed
Bug 1201282
Opened 9 years ago
Closed 1 year ago
What is the performance bottleneck of this map's rendering?
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: potch, Unassigned)
References
()
Details
(Keywords: DevAdvocacy, Whiteboard: [DevRel:P3])
This page (https://www.jasondavies.com/maps/voronoi/airports/) is a pathological test case in SVG rendering performance. I don't expect any silver bullet performance wins, but it would be good to understand what's making this visualization render at ~2fps in Firefox. For comparison, Chrome stable on my machine renders this visualization at a steady 5-7fps. Firefox gets an average of 3, but sometimes with very long <1fps lags.
Reporter | ||
Updated•9 years ago
|
Keywords: DevAdvocacy
Comment 1•9 years ago
|
||
51% Painting, 42% JS, 7% other. Inside Painting: 88% SVG path rendering, 4.5% layer building, 4.5% DLBI, 2.3% display list construction Inside JS: 33% setAttribute, 8% math (atan2, cos, sin, asin), 5% number-to-string conversion when .join()ing an array of numbers.
Comment 2•9 years ago
|
||
This was on OS X with gfx.content.azure.backends=cg (the default). With gfx.content.azure.backends=skia, painting is only 40% of the profile.
Reporter | ||
Comment 3•9 years ago
|
||
This is an awesome breakdown- thanks Markus!
Updated•8 years ago
|
Whiteboard: [DevRel:P3]
Updated•8 years ago
|
Flags: platform-rel?
Updated•8 years ago
|
platform-rel: --- → ?
Updated•8 years ago
|
platform-rel: ? → ---
Updated•2 years ago
|
Severity: normal → S3
Comment 4•1 year ago
|
||
Seems OK now.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•