What's the difference between `PackageCompiler.create_sysimage()` and `Pkg.precompile()`?

[edit: posted as standalone question]