I've wrote a script to plot daily data in Julia, but I found it run slow. Seems no ideal method to speed it up.
for example foo.jl
#!/bin/bash
#=
exec julia -O0 --compile=min "${BASH_SOURCE[0]}" "$@"
=#
using UnicodePlots, CSV, DataFrames, Chain, Dates
...
I wish if first time I run 'foo.jl a.csv b.csv", it may takes time to compile/load (10 seconds). And the 2nd time I run it, it can skip the compile process.(It should be around 3 seconds).
Is it possible now? I'm use version 1.8.3. Or, can I setup those packages which I used as default required compiled every time I launch julia to speed it up?