4 ms·
Another user suggested Revise.jl, but another option is to just reduce the amount of compilation work you have julia doing if your script isn't crazy performanc
by eigenspace 7y ago
Another user suggested Revise.jl, but another option is to just reduce the amount of compilation work you have julia doing if your script isn't crazy performance sensitive. You can play around with command line arguments to julia like `--compile=min`. Here's an example:
~ time julia -e "using Plots; x = 0:0.01:10; plot(x, sin.(x))"
real 0m18.050s
user 0m17.466s
sys 0m0.321s
~ time julia --compile=min -e "using Plots; x = 0:0.01:10; plot(x, sin.(x))"
real 0m4.262s
user 0m3.706s
sys 0m0.263s