Open https://location.services.mozilla.com/map_world in Nightly. Map loads, but Firefox freezes for a few seconds while the markers generate and load on the map. Latest Nightly
In my debug build, the hang is longer and it actually triggers a series of slow-script dialogs pointing to: https://location.services.mozilla.com/static/js/leaflet.min.js:6 https://location.services.mozilla.com/static/js/leaflet.min.js:7 https://location.services.mozilla.com/static/js/leaflet.markercluster.min.js:6 I think it's possible the script is just doing a lot of processing and hogs the main thread for a while.
If you put a breakpoint on http://mxr.mozilla.org/mozilla-central/source/layout/base/nsDisplayList.cpp#3858 or http://mxr.mozilla.org/mozilla-central/source/layout/base/nsDisplayList.cpp#3876 (not sure what the define is set to) does it stop there?
(In reply to Daniel Holbert [:dholbert] from comment #2) > I think it's possible the script is just doing a lot of processing and hogs > the main thread for a while. Sysprof says this is the case. No SVG stuff shows up there; looks like we're spending all of our time doing JS work. (e.g. 10% in js::baseops::SetPropertyHelper, and lots of 2-6% chunks in a bunch of other functions in the js:: namespace, and 12% in nsJSContext::CycleCollectNow) So I think this just boils down to "web pages can do lots of work on the main thread and hang the event loop" (until we pop up the slow script dialog after a few seconds).
Instruments on OSX agrees it's all JS. Fwiw, Chrome also takes a good while to generate the markers, although it doesn't block the UI while doing so. I think we have bugs open on separate UI/content processes to fix that. I think the best we can do is give this feedback to the developer of that web page.
Component: SVG → Other
Keywords: hang → perf
OS: Mac OS X → All
Product: Core → Websites
Hardware: x86 → All
Version: Trunk → unspecified
This is WFM using 28/Trunk. Anyone confirm to resolve?
No problem for me anymore.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.