Loading packages take a long time

I am creating a package that uses DataFrames.jl. It’s great but the problem is that the using DataFrames statement takes ~ 20 seconds. So every time I restart the julia process for unit testing, it takes that much time to bootstrap. Is there any way to speed this up?

If I use workspace() it gives all kinds of ugly method redefinition errors and it still takes a long time. If I use reload() for my module only it doesn’t always refresh properly (I am yet to reproduce the problem for a smaller sample program.)


1 Like

Use Revise.jl. Once you go Revise you never go back.