You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using ProgressMeter
functionprog_perf(n)
prog =Progress(n, enabled=false)
x =0.0for i in1:n
x +=rand()
next!(prog)
endreturn x
endfunctionnoprog_perf(n)
x =0.0for i in1:n
x +=rand()
endreturn x
end
time on windows:
noprog: ~0.01 sec
julia 1.10, ProgressMeter 1.10: 8.0 sec
julia 1.9, ProgressMeter 1.10 : 0.17 sec
julia 1.11-rc1, ProgressMeter 1.10 : 2.28 sec
julia 1.10, ProgressMeter 1.9: 0.11 sec
similar times on Linux
profiling seems to inidicate a lot of time in getproperty and setproperty!, so it might be because of ProgressCore, but it doesn't happen in julia 1.9 so it's weird
The text was updated successfully, but these errors were encountered:
time on windows:
noprog: ~0.01 sec
julia 1.10, ProgressMeter 1.10: 8.0 sec
julia 1.9, ProgressMeter 1.10 : 0.17 sec
julia 1.11-rc1, ProgressMeter 1.10 : 2.28 sec
julia 1.10, ProgressMeter 1.9: 0.11 sec
similar times on Linux
profiling seems to inidicate a lot of time in
getproperty
andsetproperty!
, so it might be because ofProgressCore
, but it doesn't happen in julia 1.9 so it's weirdThe text was updated successfully, but these errors were encountered: