Add Product

Search Results:

Reply
Highlighted
New Member
Posts: 2
Registered: ‎01-25-2020

Fast CPU masks test errors

[ Edited ]
I have a Node.js application which I'm testing with Mocha on a fast(ish) dev machine. I've noticed that sometimes the fast CPU will mask some errors. If the tests are run on a machine with a slower CPU these errors starting showing up.

Question: Is there an easy way to temporarily slow down or simulate a slow down in CPU processing to surface these errors? {removed per forum guidelines}  Or way to run these tests at full speed and still discover this type of error?

Highlighted
New Member
Posts: 2
Registered: ‎01-25-2020

Re: Fast CPU masks test errors


I have a Node.js application which I'm testing with Mocha on a fast(ish) dev machine. I've noticed that sometimes the fast CPU will mask some errors. If the tests are run on a machine with a slower CPU these errors starting showing up.

Question: Is there an easy way to temporarily slow down or simulate a slow down in CPU processing to surface these errors? Or way to run these tests at full speed and still discover this type of error?

Any solution ?

Thanks.
Highlighted
Emerging Expert
Posts: 7,231
Registered: ‎02-25-2013

Re: Fast CPU masks test errors

Switch to an Intel processor

I am not an employee of Best Buy and all opinions left on this forum are my own. Please leave Kudo’s if you like a post or click Accept as Solution if a post answers your query.
Highlighted
Valued Contributor
Posts: 1,617
Registered: ‎02-07-2011

Re: Fast CPU masks test errors

Go into the power settings and set max cpu power to 25% or 50% or whatever?