Closed
Bug 237453
Opened 20 years ago
Closed 20 years ago
[FIXr]Less QIing in nsXBLWindowHandler::WalkHandlersInternal
Categories
(Core :: XBL, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.8alpha1
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
Attachments
(1 file)
2.72 KB,
patch
|
sicking
:
review+
peterv
:
superreview+
|
Details | Diff | Splinter Review |
I see the DOM event QI showing up at several percent of profiles of user interaction (like keyboard scrolling). Simply hoisting it out of the loop makes things a bit better... The elt change is also to avoid a possibly-unnecessary QI.
![]() |
Assignee | |
Comment 1•20 years ago
|
||
![]() |
Assignee | |
Updated•20 years ago
|
Priority: -- → P2
Summary: Less QIing in nsXBLWindowHandler::WalkHandlersInternal → [FIX]Less QIing in nsXBLWindowHandler::WalkHandlersInternal
Target Milestone: --- → mozilla1.8alpha
![]() |
Assignee | |
Updated•20 years ago
|
Attachment #143894 -
Flags: superreview?(peterv)
Attachment #143894 -
Flags: review?(bugmail)
Comment on attachment 143894 [details] [diff] [review] Like so r=me Though it seems like if this is performance critical code there is a lot more that can be done.
Attachment #143894 -
Flags: review?(bugmail) → review+
![]() |
Assignee | |
Comment 3•20 years ago
|
||
I don't quite understand the setup here well enough to know what assumptions I can make (but at a guess, this code is all semi-bogus, like most of XBL). This patch was just an easy win.
Comment 4•20 years ago
|
||
Comment on attachment 143894 [details] [diff] [review] Like so Yeah, this isn't the first time we've solved silly code like this in XBL :-(.
Attachment #143894 -
Flags: superreview?(peterv) → superreview+
![]() |
Assignee | |
Updated•20 years ago
|
Summary: [FIX]Less QIing in nsXBLWindowHandler::WalkHandlersInternal → [FIXr]Less QIing in nsXBLWindowHandler::WalkHandlersInternal
Comment 5•20 years ago
|
||
(In reply to comment #2) >Though it seems like if this is performance critical code there is a lot more >that can be done. Such as if (commandElt) commandElt->GetAttribute(NS_LITERAL_STRING("disabled"), disabled); else elt->GetAttr(kNameSpaceID_None, nsHTMLAtoms::disabled, disabled); perhaps?
![]() |
Assignee | |
Comment 6•20 years ago
|
||
hmmm.. maybe. I'm not sure how big the savings are there... In any case, this is checked in for 1.8a.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•