Closed Bug 13218 Opened 25 years ago Closed 25 years ago

[perf] ~5% of "new browser window" time spent compiling event handlers

Categories

(Core :: DOM: Events, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: waterson, Assigned: brendan)

References

Details

Attachments

(1 file)

A little over 5% of "browser: new window" time is spent compiling ~400 event handlers. Since only a fraction of those are likely to ever fire, it'd be nice to defer compilation until they're needed. This'll likely require changes to the XUL DOM stuff; assigning to brendan for now.
Status: NEW → ASSIGNED
Target Milestone: M11
Looking at this now. /be
Depends on: 9713
Need to clean up code copying in http://bugzilla.mozilla.org/show_bug.cgi?id=9713 first. /be
Blocks: 15146
See 15146, which I'm making the master bug for this one, which should apply to ducarroz's change. /be
Target Milestone: M11 → M12
No longer blocks: 15146
15146 is not the master of this domain! /be
Vidur says he's doing the lazy compilation of event handlers part of this bug; then for XUL, I'll do the compile-at-most-once and share from the prototype. /be
Vidur's lazy compilation stuff is checked in. I'll hack next. /be
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Attached patch proposed fixSplinter Review
Vidur and waterson reviewed, fix checked in. Waterson'll prolly VERIFY when he gets a chance to requantify. /be
Mass update of qa contact
QA Contact: gerardok → janc
Component: DOM Level 1 → DOM Events
QA Contact Update
QA Contact: janc → vladimire
verifying per developer's coments... cleaning
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: