Skip to content

Commit

Permalink
testsuite/bench: Tweaked tests to run longer
Browse files Browse the repository at this point in the history
Tweaked parameters so that shorter tests run for longer, typically 2-3
seconds each. This is to reduce sensitivity to potential disturbance
of results by small events during startup e.g. slow system calls.
  • Loading branch information
lukego committed Mar 27, 2017
1 parent f5aa329 commit 4318163
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions testsuite/bench/PARAM_x86_CI.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
array3d 300
array3d 500
binary-trees 16
chameneos 1e7
coroutine-ring 2e7
coroutine-ring 5e7
euler14-bit 2e7
fannkuch 11
fasta 5e6
life
mandelbrot 5000
mandelbrot-bit 5000
md5 20000
nbody 5e6
md5 30000
nbody 8e6
nsieve 12
nsieve-bit 12
nsieve-bit 13
nsieve-bit-fp 12
partialsums 1e7
partialsums 3e7
pidigits-nogmp 5000
ray 9
recursive-ack 10
recursive-fib 40
scimark-fft 50000
scimark-lu 5000
Expand Down
2 changes: 1 addition & 1 deletion testsuite/bench/life.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function LIFE(w,h)
thisgen:draw()
write("Life - generation ",gen,"\n")
gen=gen+1
if gen>2000 then break end
if gen>10000 then break end
--delay() -- no delay
end
end
Expand Down
2 changes: 1 addition & 1 deletion testsuite/bench/roulette.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-- (Let the test harness determine the random seed)
-- math.randomseed(os.time())

local population = 100e6
local population = 200e6
local live = 0
local die = 0

Expand Down

0 comments on commit 4318163

Please sign in to comment.