nsDocument::MaybePreconnect does unnecessary hashtable lookups

RESOLVED FIXED in Firefox 56

Status

()

Core
DOM
P2
normal
RESOLVED FIXED
13 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

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

Comment 2

11 days 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

10 days ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/c8576cd6dea2
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.