Spaces:
Running
Running
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") | |