I just tagged a new version of PackageCompiler that supports incremental compilation of system images and 1.0 compatible snooping of precompile statements.
This allows to to ahead of time compile your packages and remove JIT overhead!
There is some documentation in the README and I wrote some short instructions how one can compile a package and turn it into a docker image with nextjournal.
You can also try some images online by signing up (signup code
julia1.0) and remixing these articles:
If you find any package missing, anyone can create a new image with the above instructions (and maybe post it here?).
I must admit, this release is not 100% finished, since it took much more time and frustration to fix every single way things can go wrong when loading packages + precompiling them, leaving less time for polish…
Anyways, I put up a little list in the initial PR of what I think still needs to be done. Any help would be very much appreciated
There is also a rename to ProjectCompiler pending.
I’m aiming to do the rename for the next proper release, so if anyone has a much better name, feel free to comment in that thread.