Closed Bug 1534342 Opened 1 year ago Closed 1 year ago

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

Categories

(DevTools :: Debugger, enhancement, P1)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: loganfsmyth, Assigned: loganfsmyth)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

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

Pushed by lsmyth@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a7dee08698fc
Fix O(n^2) perf issues in getSymbols. r=jlast
Pushed by lsmyth@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fe49766985d1
Fix test flakiness introduced by not blocking on parser.setSource().
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.