Skip to content

Commit cd42a1d

Browse files
author
Maxime Chevalier-Boisvert
committed
Change benchmark parameters
1 parent 914412b commit cd42a1d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

benchmarks/nqueens.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ def nq_solve(n)
3636
m
3737
end
3838

39-
n = 12
39+
n = 10
4040
if ARGV.length > 0
4141
n = ARGV[0].to_i
4242
end
4343

4444
run_benchmark(40) do
45-
nq_solve(n)
45+
10.times do
46+
nq_solve(n)
47+
end
4648
end

0 commit comments

Comments
 (0)