Spaces:
Sleeping
Sleeping
File size: 617 Bytes
c3d240e 12bc552 d3ad40f 12bc552 af8beb1 b15eaa4 12bc552 d3ad40f 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 |
include("paralleleureqa.jl")
using BenchmarkTools
fullRun(3,
npop=100,
annealing=true,
ncyclesperiteration=100,
fractionReplaced=0.1f0,
verbosity=0)
t = @benchmark(fullRun(3,
npop=100,
annealing=true,
ncyclesperiteration=100,
fractionReplaced=0.1f0,
verbosity=0
), evals=10)
tnoanneal = @benchmark(fullRun(3,
npop=100,
annealing=false,
ncyclesperiteration=100,
fractionReplaced=0.1f0,
verbosity=0
), evals=10)
println("The median time is $(median(t)) with annealing, $(median(tnoanneal)) without")
|