Closed Bug 39368 Opened 25 years ago Closed 24 years ago

Enable async reflow processing during document load

Categories

(Core :: Layout, defect, P2)

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: nisheeth_mozilla, Assigned: nisheeth_mozilla)

References

Details

(Keywords: perf, Whiteboard: [nsbeta3+][PDTP2])

The following things need to happen in layout: 1) Differentiate between reflow events generated during document load and after document load. 2) Create an object that exposes the nsIRequest interface. Add the object to the load group at the start of layout and remove it once all the "during doc load" reflow events have been processed. 3) Fix up the perf metrics code. The following things need to happen in necko: 1) Change nsILoadGroup so that requests can get added and removed rather than channels. 2) Fix up the XUL cache code. We'll work on this post beta 2.
Accepting bug and setting target milestone to M17...
Status: NEW → ASSIGNED
Target Milestone: --- → M17
*** Bug 24822 has been marked as a duplicate of this bug. ***
Shouldn't this be for *all* OS ?
Changing OS to All and marking nsbeta3...
Keywords: nsbeta3
OS: Windows NT → All
Marking perf.
Keywords: perf
nsbeta3+, to the extent that it will increased perceived speed/responsiveness, especially on Mac.
Whiteboard: [nsbeta3+]
Target Milestone: M17 → M18
Marking P1..
Priority: P3 → P1
Priority: P1 → P2
Whiteboard: [nsbeta3+] → [nsbeta3+][PDTP2]
PDT downgrading to P2 and adding [PDTP2] to status whiteboard. We'd really like to have this.
PDT wondering if this is the same bug as blocking the throbber/progress while downloading a page. Still agree P2.
I have this fixed and will check it in tonight protected by a pref that is disabled by default. I'm not enabling the pref by default because I did not see much difference in perceived performance on my windows box. Mike and I will test this on the Mac on (slow machine, slow network), (slow machine, fast network), (fast machine, slow network), (fast machine, fast network) configurations. If this makes a significant difference in any configuration, we can enable the pref by default. Right now, the only data point we have is that this fix does not do much on a fast machine, fast network configuration on Windows.
Whiteboard: [nsbeta3+][PDTP2] → [nsbeta3+][PDTP2][Have fix, need testing]
*** Bug 50634 has been marked as a duplicate of this bug. ***
I've turned on async reflow during doc load by default. It can be turned off by setting the "layout.reflow.async.duringDocLoad" pref to false in prefs.js. Marking bug fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: [nsbeta3+][PDTP2][Have fix, need testing] → [nsbeta3+][PDTP2]
Marking verified per last comments.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.