MilesCranmer commited on
Commit
b15eaa4
·
1 Parent(s): cf95c4d

More accurate benchmarks

Browse files
Files changed (2) hide show
  1. benchmark.jl +2 -2
  2. benchmarktimes.txt +1 -0
benchmark.jl CHANGED
@@ -14,7 +14,7 @@ t = @benchmark(fullRun(3,
14
  ncyclesperiteration=100,
15
  fractionReplaced=0.1f0,
16
  verbosity=0
17
- ), evals=5)
18
 
19
  tnoanneal = @benchmark(fullRun(3,
20
  npop=100,
@@ -22,7 +22,7 @@ tnoanneal = @benchmark(fullRun(3,
22
  ncyclesperiteration=100,
23
  fractionReplaced=0.1f0,
24
  verbosity=0
25
- ), evals=5)
26
 
27
  println("The median time is $(median(t)) with annealing, $(median(tnoanneal)) without")
28
 
 
14
  ncyclesperiteration=100,
15
  fractionReplaced=0.1f0,
16
  verbosity=0
17
+ ), evals=10)
18
 
19
  tnoanneal = @benchmark(fullRun(3,
20
  npop=100,
 
22
  ncyclesperiteration=100,
23
  fractionReplaced=0.1f0,
24
  verbosity=0
25
+ ), evals=10)
26
 
27
  println("The median time is $(median(t)) with annealing, $(median(tnoanneal)) without")
28
 
benchmarktimes.txt CHANGED
@@ -5,3 +5,4 @@ The median time is TrialEstimate(985.015 ms) with annealing, TrialEstimate(857.9
5
  The median time is TrialEstimate(690.542 ms) with annealing, TrialEstimate(581.777 ms) without
6
  The median time is TrialEstimate(298.679 ms) with annealing, TrialEstimate(327.586 ms) without
7
  The median time is TrialEstimate(336.991 ms) with annealing, TrialEstimate(341.092 ms) without
 
 
5
  The median time is TrialEstimate(690.542 ms) with annealing, TrialEstimate(581.777 ms) without
6
  The median time is TrialEstimate(298.679 ms) with annealing, TrialEstimate(327.586 ms) without
7
  The median time is TrialEstimate(336.991 ms) with annealing, TrialEstimate(341.092 ms) without
8
+ The median time is TrialEstimate(302.600 ms) with annealing, TrialEstimate(308.811 ms) without