dysonance / Temporal.jl

Time series implementation for the Julia language focused on efficiency and flexibility
Other
100 stars 26 forks source link

`using Temporal; using Temporal` takes 13 times slower on Julia 1.2, Julia 1.3 #37

Open wookay opened 5 years ago

wookay commented 5 years ago

here's tests on travis.

$ time julia -e '@info VERSION; using Temporal; using Temporal' [ Info: 1.1.1 real 0m3.696s user 0m3.576s sys 0m0.228s

$ time julia -e '@info VERSION; using Temporal; using Temporal; using Temporal' [ Info: 1.1.1 real 0m3.638s user 0m3.508s sys 0m0.245s


* https://travis-ci.org/wookay/TestTemporal.jl/jobs/549070404

$ time julia -e '@info VERSION; using Temporal' [ Info: 1.3.0-DEV.433 real 0m1.173s user 0m1.036s sys 0m0.253s

$ time julia -e '@info VERSION; using Temporal; using Temporal' [ Info: 1.3.0-DEV.433 real 0m15.681s <===================== user 0m15.503s sys 0m0.292s

$ time julia -e '@info VERSION; using Temporal; using Temporal; using Temporal' [ Info: 1.3.0-DEV.433 real 0m15.632s <===================== user 0m15.476s sys 0m0.268s

iblislin commented 5 years ago

I guess it's related https://github.com/JuliaLang/julia/issues/32971

PallHaraldsson commented 5 years ago

Strange that using the second time adds time (close to as much as the first time, or even worse). Can it simply be avoided until this is fixed?