Closed Bug 794623 Opened 13 years ago Closed 13 years ago

Fewer virtual GetTargetForEventTargetChain calls

Categories

(Core :: DOM: Events, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
We have different target for event target chain item and DOM events only when dealing with nsGlobalWindow. So, we can optimize out some virtual calls. The patch seems to speed up pure event dispatching (no event listeners) few %. https://tbpl.mozilla.org/?tree=Try&rev=a2f7940dd6e9
Attachment #665131 - Flags: review?(jst)
Attachment #665131 - Flags: review?(jst) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: