EventStateManager::GetWrapperByEventID does unnecessary hashtable lookups

RESOLVED FIXED in Firefox 56

Status

()

Core
DOM: Events
P2
normal
RESOLVED FIXED
12 days ago
10 days ago

People

(Reporter: mats, Assigned: mats)

Tracking

({perf})

Trunk
mozilla56
Points:
---

Firefox Tracking Flags

(firefox56 fixed)

Details

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Comment 1

12 days ago
Created attachment 8876878 [details] [diff] [review]
Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups
Attachment #8876878 - Flags: review?(nfroyd)
Attachment #8876878 - Flags: review?(nfroyd) → review+

Comment 2

10 days ago
Pushed by mpalmgren@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e5fc31c0df74
Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups.  r=froydnj
https://hg.mozilla.org/mozilla-central/rev/e5fc31c0df74
Status: NEW → RESOLVED
Last Resolved: 10 days ago
status-firefox56: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.