Closed Bug 1627460 Opened 3 months ago Closed 3 months ago

Profiler markers would be useful to see which files get imported/required into workers

Categories

(Core :: DOM: Workers, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: florian, Assigned: florian)

Details

Attachments

(1 file)

Figuring out why eg. the OS File worker takes a while to initialize during startup is currently difficult, but if we added markers showing which files are loaded through importScripts and require, it would be much easier.

https://perfht.ml/2X8RCUc is an example profile with the markers I'm proposing.

Pushed by fqueze@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5e45ffaf38e9
Add markers for ImportScripts and require in workers, r=mstange.
Flags: needinfo?(florian)
Pushed by fqueze@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/241aa49e1c23
Add markers for ImportScripts and require in workers, r=mstange.
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.