Closed Bug 39554 Opened 24 years ago Closed 24 years ago

open in new window wastes time in GC.

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 42321
Future

People

(Reporter: Marko.Macek, Assigned: jst)

Details

(Keywords: perf)

Attachments

(1 file)

186.65 KB, application/octet-stream
Details
Attached jprof seems to show a lot of time being wasted in JS_GC when I am
opening new windows (opened several dozen in a row).

How can we get rid of (reduce) GC calls in SetNewDocument and SetupNewViewer?

The default page is about:blank.

See also bug 28639 (closing windows), and 30660.
Attached file jprof output (.ZIP!)
Keywords: perf
Opening windows also gets slower and slower. First window takes about 0.3
seconds (time displayed status line), window 31 took 2 seconds to open.
Please also test bug 27574 if this gets fixed.  Good catch Marko!
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reassigning to get some insight into the problem
Assignee: adamlock → rogerl
Component: Embedding: Docshell → Javascript Engine
QA Contact: adamlock → pschwartau
I suggest marking it depend on 42321 (perhaps some others mentioned there too).
As was done with related bug 42321, would like to redirect to DOM Level 0 -
 
Assignee: rogerl → jst
Component: Javascript Engine → DOM Level 0
QA Contact: pschwartau → desale
We should really try to reduce the calls to GC when opening new windows,
nominating for beta3. I had a quick look and it looks like we're calling GC 3
times for every new document we load or for every new window we open, seems like
once would be enough.
Status: NEW → ASSIGNED
Keywords: nsbeta3
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Future
This is coverd by bug 42321 (nsbeta3+), duping.

*** This bug has been marked as a duplicate of 42321 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified Duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: