Open Bug 1915469 Opened 1 year ago Updated 5 months ago

Investigate using an alternative data structure to speed up performance.mark/measure/clearMarks

Categories

(Core :: DOM: Performance APIs, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: alexical, Unassigned)

References

Details

Currently when using the performance.mark/measure APIs, we store events in Performance::mUserEntries, which is just a resizable array. However, we often want to look up entries by name in this array, which involves scanning through it and can get quite costly if the array gets large. We should investigate using a hash table or something more specialized to avoid slowdowns here.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.