How To Simulate Lower CPU Processor Machines For Browser Testing

前端 未结 9 668
太阳男子
太阳男子 2020-12-15 23:36

We have some users which are using lower-CPU powered machines and they\'re encountering slow response times using our web application. Is there any way for me to do testing

相关标签:
9条回答
  • 2020-12-15 23:59

    Another big difference between high-performance and low-performance CPUs is the number of cores available. This can realistically differ by a factor of 4, way more than the difference in clock frequency you're likely to encounter.

    You can solve this by setting the thread affinity. Even IE6 will use 13 threads just to show google.com. That means it will benefit from a multi-core CPU. But if you set the thread affinity to one core only, all 13 IE threads will have to share that one core.

    0 讨论(0)
  • 2020-12-15 23:59

    I understand that this question is pretty old, but here are some receipts I personally use (not only for Web development):

    1. BES. I'm getting some weird results while using it.

    2. Go to Control Panel\All Control Panel Items\Power Options\Edit Plan Settings\Change Advanced Power Settings, then go to the "Processor" section and set it's maximum state to 5% (or something else). It works only if your processor supports dynamic multiplier change and ACPI driver is installed correctly.

    3. Run Task Manager and set processor affinity to a single core (or whatever number of cores you want) for your browser's (or any other's) process. Not a best practice for browsers, because JavaScript implementations are usually single-threaded, but, as far as I see, modern browsers actually DO use multiple cores.

    0 讨论(0)
  • 2020-12-16 00:03

    I would recommend to start something on the background which eats up all your processor cycles.

    A program which finds primenumbers or something similar.

    0 讨论(0)
提交回复
热议问题