Thx @dlakelan, interesting package with detailed description also of its principal limitations due to how Julia works. Apparently there are two modes:
Creating sysimages, would be needed for every new script.jl.
Compile time amortizes depending on actual runtime and total number of runs.
Creating “apps”, packing all necessary, type specialized functions into a runtime lib.
Possibly allowing to run scripts with different code, but same data types and operations,
would be very helpful.
Note that to use PackageCompiler.jl effectively some knowledge on how packages and “environments” work is required. If you are just starting out with Julia, it is unlikely that you would want to use PackageCompiler.jl