Open tlienart opened 7 years ago
Experiments:
Current machine, full load time
julia -e 'tic(); using PDMP; toc()'
elapsed time: 7.926201809 seconds
This is outrageous. Chasing the culprit.
In PDMP.jl
:
using Compat
using Klara.ess
using ApproxFun
using Polynomials:
Poly,
roots,
polyint,
polyval
julia -e 'tic(); using Compat; toc()'
elapsed time: 0.047637768 seconds
Negligible
julia -e 'tic(); using Klara.ess; toc()'
elapsed time: 1.290301332 seconds
That's pretty bad
julia -e 'tic(); using ApproxFun; toc()'
elapsed time: 6.580165969 seconds
That's downright awful.
julia -e 'tic(); using Polynomials; toc()'
elapsed time: 0.062788019 seconds
Negligible again.
Klara.ess
Distributions:Beta
ApproxFun
julia -e 'tic(); using PDMP; toc()'
elapsed time: 1.567161443 seconds
More informations:
due to dependencies, loading time is quite slow (several seconds). Would be good to check how to strip down dependencies so that only the strict minimum is loaded in order to speed up loading.