JuliaParallel / Dagger.jl

A framework for out-of-core and parallel execution
Other
629 stars 67 forks source link

Add precompilation via PrecompileTools #446

Closed jpsamaroo closed 10 months ago

jpsamaroo commented 10 months ago

This brings down time-to-first-@spawn from 20 seconds to 0.3 seconds on Julia 1.9!

Most of the churn here is hacking around the asynchronous nature of the scheduler to ensure that all tasks are finished executing before our precompile workload completes (otherwise loading Dagger will fail).