Open Bug 1518677 Opened 5 years ago Updated 2 years ago

Avoid collection during page load

Categories

(Core :: JavaScript: GC, enhancement, P3)

enhancement

Tracking

()

REOPENED
Performance Impact medium

People

(Reporter: pbone, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf:pageload)

The GC will collect if memory usage passes a percentage of what it assumes is the working set, Either 150% during normal operation or up to 300% for "high allocation rate". If SpiderMonkey knows that page loading is happening (before first interaction) we could use the high threshold to attempt GCing at that time to get to the first interaction sooner.

Priority: -- → P3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

Oh wait, that's not the same issue.

Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Whiteboard: [qf?] → [qf:p1:pageload]

Paul, do you think this needs to be qf:p1. In general I haven't GC too often on pageloads (except those GCs after page load).

Flags: needinfo?(pbone)
Whiteboard: [qf:p1:pageload] → [qf:p2:pageload]

I haven't looked at pageload in a while, so I'm happy to go with p2. Thanks.

Flags: needinfo?(pbone)
Performance Impact: --- → P2
Keywords: perf:pageload
Whiteboard: [qf:p2:pageload]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.