18

I am trying to emulate the feel of an application on lower spec systems, running on Chrome. Is it possible throttle the CPU and put limitations on resources?

Mark Nguyen
  • 7,168
  • 9
  • 31
  • 41

3 Answers3

12

As of Chrome 112.0.5615.121, CPU throttling is available under the 'Performance Insights' tab.

DevTools > Performance Insights > Settings (gear icon) > CPU

enter image description here

Select something in CPU throttling and click "Measure page load"

Uzair Farooq
  • 2,402
  • 3
  • 24
  • 37
Chic
  • 9,836
  • 4
  • 33
  • 62
  • There are only two choices for CPU throttling: 4x slowdown and 6x slowdown. My machine is so fast that even a 6x slowdown is only causing a < 1s delay loading the page, whereas I have reports on slow machines of it taking longer than this. How can I get better control of exactly how much throttling is done so I can slow it down further? – Michael Jun 14 '23 at 16:54
  • @Michael I don't think there are many options for fine grained CPU throttling. You might try combining 6x slowdown with the Network throttling, advanced pain instrumentation, and maybe a low hardware concurrency. But ultimately you'll want to test on slower hardware for a real world example. – Chic Jun 16 '23 at 16:38
6

Chrome has introduced CPU throttling (it's in canary channel as of 22 Jan, 2016. Update: now available in latest Chrome, checked in v54.0).

Goto DevTools -> Timeline and select from dropdown.

Chrome CPU Throttling

Uzair Farooq
  • 2,402
  • 3
  • 24
  • 37
1

That depends on your platform and available tools at your disposal. Usually, you are able to set CPU clock in your BIOS settings. There may also be CPU clock management software tools that you could use within your OS for more dynamic control.

You can also emulate network data throttling in Chrome's Dev Tools. If you enable device emulation mode, the network throttling option becomes available.

Trung Nguyen
  • 519
  • 3
  • 18