Closed
Bug 1356070
Opened 7 years ago
Closed 7 years ago
https://doc.servo.org/webrender/ hangs the main thread
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
DUPLICATE
of bug 1145297
Performance Impact | high |
People
(Reporter: mconley, Unassigned)
Details
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:55.0) Gecko/20100101 Firefox/55.0 (20170412030252) STR: 1) Visit https://doc.servo.org/webrender/ ER: The page should render fine and the main thread in the content process shouldn't be blocked. AR: I get the "a page might be slowing down your browser" notification warning because the page is running JavaScript like crazy. Here's a profile: https://perfht.ml/2p8kFql We seem to be doing a lot of work inside search-index.js, doing some JIT stuff. Unsure if this is the right component, but thought I'd start somewhere. Strangely, this doesn't seem to affect either Safari or Chrome.
Updated•7 years ago
|
Whiteboard: [qf] → [qf:investigate:p1]
Comment 1•7 years ago
|
||
This happens with the profiler turned on.
Comment 2•7 years ago
|
||
This is our old friend js::PCToLineNumber. We call it on the sampler thread we've paused the main thread, and it's taking a very long time, probably because it's doing a linear search on a single line of minified JavaScript. Then we unpause the main thread, realize we should be taking another sample, and pause it again.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•2 years ago
|
Performance Impact: --- → P1
Whiteboard: [qf:investigate:p1]
You need to log in
before you can comment on or make changes to this bug.
Description
•