Implement option to simulate CPU throttling
Categories
(DevTools :: Performance Tools (Profiler/Timeline), enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: sole, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [multiviewport][reserve-rdm])
Updated•7 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Don't forget that besides slow code execution, you also need slow rendering capabilities (for animated effects) and slow event dispatching.
Comment 2•5 years ago
|
||
Moving to Profiler as CPU performance is more contextual (can be exposed elsewhere, of course)
Tech detail: Another product is simulating CPU throttling by regularly suspending their main thread. It should be possible to do that from our profiler sampling loop, somewhere around there: https://searchfox.org/mozilla-central/rev/5a4aaccb28665807a6fd49cf48367d47fbb5a19a/tools/profiler/core/platform.cpp#3220
(And all that code could be copied/reused elsewhere if we wanted to throttle without using the profiler.)
Updated•5 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
This report is related to the old DevTools Profiler.
The Performance panel now points to the new Firefox profiler available at profiler.firefox.com
Closing as Invalid bug
Comment 5•2 years ago
|
||
I believe this is still valid.
Comment 6•2 years ago
|
||
The new Firefox profiler doesn't provide a mechanism to simulate CPU throttling similar to Chrome DevTools.
Description
•