Closed Bug 1300165 Opened 3 years ago Closed 6 months ago

improve efficiency of combineLists in getHSTSPreloadList.js

Categories

(Core :: Security: PSM, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox51 --- affected
firefox70 --- fixed

People

(Reporter: keeler, Assigned: mbirghan)

Details

(Whiteboard: [psm-cleanup])

Attachments

(1 file)

combineLists in getHSTSPreloadList.js is currently O(n^2), which is a bit of a bummer now that n is on the order of 10s of thousands. In terms of the overall runtime of getHSTSPreloadList.js, it doesn't really matter, but when debugging an issue it would be nice if the script didn't have to spend a lot of time up front doing more work than necessary before getting on to actually making network requests.
Assignee: nobody → mbirghan
Pushed by dkeeler@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d2a49b5659f
Improves performance of combineLists in getHSTSPreloadList.js r=keeler
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.