AirspeedVelocity.jl icon indicating copy to clipboard operation
AirspeedVelocity.jl copied to clipboard

feature request: measure compilation time

Open Krastanov opened this issue 2 years ago • 1 comments

The result of using Pkg; @time @eval Pkg.precompile("PackageName") with an empty precompile cache. The empty cache can be ensured with modifying the JULIA_DEPOT environmental variable.

We would also need to modify ENV["JULIA_PKG_PRECOMPILE_AUTO"]=0. And might want to have access the number of precompilation tasks: ENV["JULIA_NUM_PRECOMPILE_TASKS"] which became available in 1.9.

Krastanov avatar Apr 07 '23 14:04 Krastanov

With precompilation time getting even slower on Julia 1.10, I feel like this is badly needed! Some of my libraries seem to have compiled much slowly lately...

MilesCranmer avatar Jul 21 '23 01:07 MilesCranmer