Closed Bug 1383538 Opened 7 years ago Closed 14 days ago

lightningmaps.org very slow, makes the content process unresponsive

Categories

(Core :: JavaScript Engine, defect, P3)

x86_64
Linux
defect

Tracking

()

RESOLVED INCOMPLETE
Performance Impact low

People

(Reporter: 6lobe, Unassigned)

References

()

Details

(Keywords: nightly-community, perf)

URL: https://www.lightningmaps.org

Very slow performance compared to Chrome, especially when you enable additional map features from the top right corner.

Furthermore, if I leave the site open for a while and then navigate away from it (in the same tab/content process) the performance remains poor and the tab keeps going unresponsive from time to time. Mouse input is especially affected.

I need to kill the tab/content process as it is unusable even after navigating away from this site.

CPU usage remains at 100% too for some time even after leaving the site.
Has STR: --- → yes
I am also hitting some crashes on this site.
Hi reporter(6lobe),

I have tested this on Ubuntu 16.04 with latest nightly, but I could not manage to reproduce.
Could you please provide the performance report? The steps are described in detail here: https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Reporting_a_Performance_Problem

thanks
Flags: needinfo?(6lobe)
Here is a performance report:

https://perfht.ml/2vmkCtV
Flags: needinfo?(6lobe)
Hi Mike,
Comment/suggestion on this performance report, comment 3? Thanks
Flags: needinfo?(mconley)
Two things jump out at me:

1) There's a long series of paints occurring in a row, purportedly blocking the main thread throughout. This looks like it's probably some kind of animation running on the main thread, but it's hard to say for sure. JS is firing throughout the animation, but it doesn't look like it's running the animation directly, just adding data from a message event... : https://perfht.ml/2vLVihC

2) There's a bunch of stuff near the beginning that looks like raw JS being run. The JS team might be interested in looking at that: https://perfht.ml/2vMekVe

I'm afraid that's all I see.
Flags: needinfo?(mconley)
Moving it to JS Engine component based on comment 5.
Component: Untriaged → JavaScript Engine
Worth retrying in FF57+. I tried it and it feels snappy on both Chrome and FF57beta.
Priority: -- → P3
Whiteboard: [qf:p3]
Keywords: perf
Performance Impact: --- → P3
Whiteboard: [qf:p3]
Severity: normal → S3
Status: UNCONFIRMED → RESOLVED
Closed: 14 days ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.