Open Bug 1106424 Opened 11 years ago Updated 3 years ago

Very laggy moving mouse over azimuth-distance map (very long paths) due to slow stroke hit-testing

Categories

(Core :: SVG, defect)

defect

Tracking

()

People

(Reporter: jwatt, Unassigned)

References

()

Details

(Keywords: perf, Whiteboard: [hit-testing])

We are not nearly as responsive as Chrome when mousing around on the following, especially on Windows: http://www.jasondavies.com/maps/azimuth-distance/ Profiling shows us spending a lot of time hit-testing (40% of the profile under nsSVGPathGeometryFrame::GetFrameForPoint).
Specifically we're spending a lot of time under PathSkia::StrokeContainsPoint. Here's a profile: https://perfht.ml/2mYClRE
Summary: Slow on azimuth-distance map → Very laggy moving mouse over azimuth-distance map (very long paths) due to slow stroke hit-testing
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.