Skip to content

Commit c93536b

Browse files
authored
Nim/solution_3: change sleep time between tests to five seconds (#802)
1 parent e71604f commit c93536b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PrimeNim/solution_3/Primes.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ proc bench(tec: Techniques) =
320320
for p in ps1(): count.inc
321321
isValid = isValid and count == EXPECTED # two checks
322322

323-
sleep 1000 # sleep 1000 milliseconds = one second to let CPU cool down!
323+
sleep 5000 # sleep 5000 milliseconds to let CPU cool down!
324324
let start = getMonoTime().ticks; var duration = 0'i64
325325
var passes = 0; var rslt: PrimeSieve
326326
while duration < FORTO:

0 commit comments

Comments
 (0)