Performance tip for Julia 1.9, docker and Pkg.precompile on older CPUs

We deploy our apps in Docker containers and recently we upgraded to the 1.9 official Julia image. We started experiencing significant slow start up times when running our containers. Note that we run the Pkg.precompile in our Dockerfile when building our images.

We discovered we had to add the “-C skylake” for the precompile step in our Dockerfile because our target systems are aging. Our container startup times are fast again.

1 Like