The sourcemap worker uses too much CPU
Categories
(DevTools :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: julienw, Unassigned)
References
(Blocks 1 open bug)
Details
I realized today that the sourcemap worker takes a lot of CPU on my computer. This is visible using about:performance.
This happens even though I don't use the devtools window nor the website (of course the devtools are opened).
This was happening on the profiler development server for example.
I believe the worker should be more peaceful, notably when the debugged tab isn't in foreground.
Comment 1•5 years ago
|
||
The severity field is not set for this bug.
:Honza, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 2•5 years ago
|
||
Julien, can you share the page you used (assuming a page with rather bigger source maps) when noticing the data in about:performance?
Honza
| Reporter | ||
Comment 3•5 years ago
|
||
I noticed this on the profiler server, especially on the development server but I just looked at the production server and this seems to happen there too:
- go to https://profiler.firefox.com
- check about:performance => notice that no worker dedicated to source maps is present
- open the devtools (console panel or debugger panel, where source maps are needed)
- check about:performance again => notice that the worker dedicated to source maps is present and takes quite some time
If you open more tabs you'll notice that there are several instances of that worker, even if the tab is in background and doesn't do much.
Updated•5 years ago
|
| Reporter | ||
Comment 4•5 years ago
|
||
I've seen a similar issue when I was opening the devtools on a MDN page.
Comment 5•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
| Reporter | ||
Updated•5 years ago
|
Description
•