PySR / benchmark.jl
MilesCranmer's picture
Fix issue with empty hall of fame
311797d
raw
history blame
665 Bytes
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")