Closed
Bug 138900
Opened 22 years ago
Closed 22 years ago
pageload times went up ~1% with this checkin
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mcafee, Assigned: jst)
References
Details
(Keywords: perf, regression)
Attachments
(2 files, 2 obsolete files)
1.41 KB,
patch
|
john
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
1.37 KB,
patch
|
john
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
pageload times went up ~1% with this checkin: http://bonsai.mozilla.org/cvsquery.cgi?module=MozillaTinderboxAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1019330340&maxdate=1019330580&who=jkeiser%25netscape.com
Reporter | ||
Comment 1•22 years ago
|
||
sorry, bugzilla + return submits?! Who made that a feature. Anyways, just a reminder bug to check this out, most of the linux Tp tests show a jump of about 1% around noon today.
Keywords: perf,
regression
Comment 2•22 years ago
|
||
Methinks we must be calling load twice, though I am not sure why.
Assignee: jkeiser → jst
Component: Browser-General → HTMLFrames
Comment 3•22 years ago
|
||
Any new findings on that?
Comment 4•22 years ago
|
||
This patch ought to help things (it will cause us to call LoadFrame() less, which we were doing on unload and when the iframe was inside a form).
Comment 5•22 years ago
|
||
Oops, that last patch was an earlier version--this is the real one.
Attachment #80743 -
Attachment is obsolete: true
Assignee | ||
Comment 6•22 years ago
|
||
Comment on attachment 80744 [details] [diff] [review] Patch v1.0.1 sr=jst Do we still have a problem with iframe's loading their document twice if we end up demoting a container that contains an iframe element? Either way, we can open a new bug on that if that's still a problem.
Attachment #80744 -
Flags: superreview+
Comment 7•22 years ago
|
||
We shouldn't--that's why I added the code in SetParent().
Assignee | ||
Comment 8•22 years ago
|
||
What happens when we're done with DemoteContainer() and we set the parent back to a non-null value? Don't we then end up requesting the same document again?
Comment 9•22 years ago
|
||
Fix DemoteForm() problems by only loading frame when the frame loader is not there, which it will not be in the case that the iframe has actually been removed from the document and reinserted.
Attachment #80744 -
Attachment is obsolete: true
Comment 10•22 years ago
|
||
r=peterv on the right patch (the one with |if (!aParent || mFrameLoader)| instead of |if (!aParent)|). I don't like the name *Ensure*FrameLoader since you're now actually destroying the loader in that function sometimes. r stands regardless of a better name, but as you suggested I prefer Validate to Ensure.
Comment 11•22 years ago
|
||
Comment on attachment 80905 [details] [diff] [review] Patch v1.1 From IRC: r=peterv, assuming you upload the actual patch with the change you talked about (ED: change if (!aParent) to if (!aParent || mFrameLoader)) Also consider changing EnsureFrameLoader to ValidateFrameLoader.
Attachment #80905 -
Flags: review+
Assignee | ||
Comment 12•22 years ago
|
||
Comment on attachment 80905 [details] [diff] [review] Patch v1.1 sr=jst
Attachment #80905 -
Flags: superreview+
Comment 13•22 years ago
|
||
Fix checked in, but does not resolve the pageload regression. Setting as blocker of bug 52334 (the springboard of all this) so that we don't forget patches here.
Blocks: 52334
Assignee | ||
Comment 14•22 years ago
|
||
This should eliminate double loading (or double initialization of loads) of iframes which should have a positive impact on our pageload perf numbers. I'm building right now to get some numbers, I'll report back once I have those numbers...
Comment 15•22 years ago
|
||
Comment on attachment 85512 [details] [diff] [review] Untested perf regression fix. r=jkeiser
Attachment #85512 -
Flags: review+
Assignee | ||
Comment 16•22 years ago
|
||
Comment on attachment 85512 [details] [diff] [review] Untested perf regression fix. jag says sr=jag
Attachment #85512 -
Flags: superreview+
Assignee | ||
Comment 17•22 years ago
|
||
Fix checked in, lets see if we get any Tp improvments from this now...
Comment 18•22 years ago
|
||
Any stats about the improvements?
Assignee | ||
Comment 19•22 years ago
|
||
There was an improvment in the Tp numbers after the checkin, but we're talking small numbers here, so I'm not sure it was all of 1%... Cathleen, could you look into this, how much did we loose and how much did we gain back? Can we close this bug? I'm not sure there's much more we can do here...
Comment 20•22 years ago
|
||
so check it in ?
Comment 21•22 years ago
|
||
Is there still anything that need's to be done about that?
Reporter | ||
Comment 22•22 years ago
|
||
What is the status of the two attached patches? Let's find that out and then make a decision about what to do with this bug.
Comment 23•22 years ago
|
||
They were checked in according to comments, so there's no work here not in the tree already.
Reporter | ||
Comment 24•22 years ago
|
||
jst, we probably should mark this as worksforme or fixed. I'll give jst a chance to do so.
Comment 25•22 years ago
|
||
Much of the 1% was already recovered by the patches in this bug.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•