Spaces:
Running
Running
File size: 615 Bytes
c3d240e 12bc552 d3ad40f 12bc552 af8beb1 12bc552 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=5)
tnoanneal = @benchmark(fullRun(3,
npop=100,
annealing=false,
ncyclesperiteration=100,
fractionReplaced=0.1f0,
verbosity=0
), evals=5)
println("The median time is $(median(t)) with annealing, $(median(tnoanneal)) without")
|