nsDocument::MaybePreconnect does unnecessary hashtable lookups

RESOLVED FIXED in Firefox 56

Status

()

Core
DOM
P2
normal
RESOLVED FIXED
2 months ago
2 months ago

People

(Reporter: Mats Palmgren (vacation - back in August), Assigned: Mats Palmgren (vacation - back in August))

Tracking

({perf})

Trunk
mozilla56
Points:
---

Firefox Tracking Flags

(firefox56 fixed)

Details

Attachments

(1 attachment)

Comment hidden (empty)
Created attachment 8876493 [details] [diff] [review]
Use mPreloadedPreconnects.LookupForAdd instead of Contains+Put to avoid unnecessary hashtable lookups
Attachment #8876493 - Flags: review?(nfroyd)

Updated

2 months ago
Attachment #8876493 - Flags: review?(nfroyd) → review+

Comment 2

2 months ago
Pushed by mpalmgren@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c8576cd6dea2
Use mPreloadedPreconnects.LookupForAdd instead of Contains+Put to avoid unnecessary hashtable lookups.  r=froydnj

Comment 3

2 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/c8576cd6dea2
Status: NEW → RESOLVED
Last Resolved: 2 months 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.