3 ms·
There is a hidden feature in Chrome Devtools to apply a CPU slowdown... Simply head to Devtools > Performance tab > Gear icon > CPU > 6x slowdown. That isn't
by londons_explore 5y ago
There is a hidden feature in Chrome Devtools to apply a CPU slowdown...
Simply head to Devtools > Performance tab > Gear icon > CPU > 6x slowdown.
That isn't a perfect representation of an old laptop (doesn't throttle GPU operations or trigger low memory behaviours), but it's a good start. As a bonus, it makes your fans spin up wildly whenever loading a page!
- paulryanrogers 5y agoNot only CPU but slow networks and mobile screen sizes too. These are all very helpful for quick sanity checks and reproducing races.
- dmitriid 5y agoLighthouse also emulates slow-ish web on a mobile device. Though I would take its results with a grain of salt: it can show near-perfect green scores for a website that takes 3 seconds to render
- agumonkey 5y agosimilarly i often let throttling on.. very nice way to tame dopamine rush :)
- omgitsabird 5y agoUnless you mean that the menu is hidden behind the gear icon, calling it a hidden feature is a stretch. https://developer.chrome.com/docs/devtools/device-mode/#cpu https://developer.chrome.com/docs/devtools/device-mode/#cpu
- londons_explore 5y agoSufficiently deep in menus that I suspect most people here on HN would consider themselves familiar with devtools, yet wouldn't have been aware of this option.
- deleted 5y ago[deleted]
- aembleton 5y agoAlso available in Firefox Developer Tools. Just click on `No Throttling` and there's a menu of network speed options.