I thought I would share my success with all of you. By making a userimg.jl
in the julia folder containing the following and building the sysimg with
the command bellow, the load time of of PyPlot's can be reduced by a factor
of 3.
>julia -e "tic(); using PyPlot; toc()"
INFO: Loading help data...
elapsed time: 21.096362371 seconds
With custom userimg.jl
>julia -e "tic(); using PyPlot; toc()"
INFO: Loading help data...
elapsed time: 7.611489099 seconds
My userimg.jl contains the following:
## userimg.jl
require("PyCall")
require("Color")
Command for building the sysimg
bin\julia.exe share\julia\build_sysimg.jl --force C:\your_path_here\Julia-
0.3.7\lib\julia\sys native userimg.jl
If `require("PyPlot")` is added to the userimg.jl the sysimg is not usable.
If any of you have ideas for further reducing the load time of PyPlot it
would be greatly appreciated.