Closed Bug 999671 Opened 11 years ago Closed 1 year ago

GC taking too long on my beautiful earth

Categories

(Core :: JavaScript: GC, defect)

x86
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ehsan.akhgari, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: perf)

https://mybeautifulearth.withgoogle.com/ See the profile link. We spend around 25% of our time GCing during scrolling.
Thankfully, it's not a regression from our new generational GC: we're only spending 0.8% of our GC time in Nursery::collect, according to the trace above. 59.1% in processMarkStackTop is normal marking. 16% nested in this is JSFunction::trace, so we can assume there a bunch of functions in play: not surprising. Really there's nothing that sticks out here, so the next question is why we're GCing so much here. Running this locally on my 500+ tab profile, I'm not actually getting much of any GC activity on this page at all. Retrying in a fresh profile, I'm seeing lots more GCs, but they are entirely due to CC_WAITING. Our max-pause is a quite reasonable 30-50ms, but I am seeing severe jankyness -- maybe my slow linux graphics drivers?
FWIW I tested this on Mac, on my normal daily profile (with <100 tabs!). I also have AdBlock Plus installed in this profile, and there are js frames elsewhere in the profile coming from that, so it might be playing a role here too.
Keywords: perf
Summary: GC taking too long ob my beautiful earth → GC taking too long on my beautiful earth
Severity: normal → S3
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.