Spaces:
Running
Running
File size: 665 Bytes
c3d240e 12bc552 d3ad40f 311797d d3ad40f 12bc552 af8beb1 311797d b15eaa4 12bc552 d3ad40f 311797d b15eaa4 d3ad40f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
include("paralleleureqa.jl")
using BenchmarkTools
fullRun(3,
npop=100,
annealing=true,
ncyclesperiteration=100,
fractionReplaced=0.1f0,
verbosity=0,
topn=10
)
t = @benchmark(fullRun(3,
npop=100,
annealing=true,
ncyclesperiteration=100,
fractionReplaced=0.1f0,
verbosity=0,
topn=10
), evals=10)
tnoanneal = @benchmark(fullRun(3,
npop=100,
annealing=false,
ncyclesperiteration=100,
fractionReplaced=0.1f0,
verbosity=0,
topn=10
), evals=10)
println("The median time is $(median(t)) with annealing, $(median(tnoanneal)) without")
|