Threads.resize_nthreads!
can take a significant time to infer
#40630
Labels
compiler:latency
Compiler latency
Looking at some package load time I saw quite a bit of time is spent in inferring
Threads.resize_nthreads!
.For example, loading HTTP.jl takes:
on 1.6 for me. Remove the
resize_nthreads!
calls in HTTP.jl (and URIs.jl) makes it take:Maybe the
deepcopy
in the function makes it expensive to infer?The text was updated successfully, but these errors were encountered: