Fix symbols.functions and symbols.identifiers getSymbols O(n^2) behavior

RESOLVED FIXED in Firefox 67

Status

enhancement
P1
normal
RESOLVED FIXED
2 months ago
15 days ago

People

(Reporter: loganfsmyth, Assigned: loganfsmyth)

Tracking

(Blocks 1 bug)

Trunk
Firefox 67

Firefox Tracking Flags

(firefox67 fixed)

Details

Attachments

(2 attachments)

(Assignee)

Description

2 months ago

We have a few noticeable O(n^2) issues in the getSymbols implementation along with one that we already fixed.

Comment 2

2 months ago
Pushed by lsmyth@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a7dee08698fc
Fix O(n^2) perf issues in getSymbols. r=jlast

Comment 4

2 months ago
Pushed by lsmyth@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fe49766985d1
Fix test flakiness introduced by not blocking on parser.setSource().

Comment 5

2 months ago
bugherder
Status: ASSIGNED → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.