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)
Core
DOM: Events
Tracking
()
VERIFIED
FIXED
M12
People
(Reporter: waterson, Assigned: brendan)
References
Details
Attachments
(1 file)
24.07 KB,
patch
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•25 years ago
|
Target Milestone: M11
Comment 1•25 years ago
|
||
Looking at this now.
/be
Comment 2•25 years ago
|
||
Need to clean up code copying in
http://bugzilla.mozilla.org/show_bug.cgi?id=9713 first.
/be
Assignee | ||
Comment 3•25 years ago
|
||
See 15146, which I'm making the master bug for this one, which should apply to
ducarroz's change.
/be
Assignee | ||
Updated•25 years ago
|
Target Milestone: M11 → M12
Assignee | ||
Comment 4•25 years ago
|
||
15146 is not the master of this domain!
/be
Assignee | ||
Comment 5•25 years ago
|
||
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
Assignee | ||
Comment 6•25 years ago
|
||
Vidur's lazy compilation stuff is checked in. I'll hack next.
/be
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•25 years ago
|
||
Assignee | ||
Comment 8•25 years ago
|
||
Vidur and waterson reviewed, fix checked in. Waterson'll prolly VERIFY when he
gets a chance to requantify.
/be
Updated•24 years ago
|
Component: DOM Level 1 → DOM Events
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•