We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f23957a commit 0852baeCopy full SHA for 0852bae
test/cli.js
@@ -23,9 +23,8 @@ test('throttles CPU', async (t) => {
23
const woutT = (await execa(binPath, [fixturePath])).stdout
24
const withT = (await execa(binPath, [fixturePath, '--cpuThrottle=4'])).stdout
25
26
- // difference should be more then 2 times
27
t.assert(
28
- getOpsSec(woutT) - getOpsSec(withT) > getOpsSec(woutT) / 2,
+ getOpsSec(withT) < getOpsSec(woutT),
29
'The difference between throttled and not throttled execution is less then normal'
30
)
31
})
0 commit comments