Open Moelf opened 1 year ago
Thanks @Moelf ! I will research a little to check how we can use this new feature. Last time I checked, I could drastically reduce the TTFP, but the package loading time was much higher.
Hi @Moelf !
I switched to PrecompilationTools.jl (in master
). Can you please check if things were improved for you?
Here, the TTFP is very low for your type:
julia> using PrettyTables
julia> @time pretty_table(devnull, Dict(:a=>rand(10), :b=>rand(Float32, 10)))
0.068245 seconds (94.32 k allocations: 6.304 MiB, 96.88% compilation time)
following development of https://github.com/JuliaLang/julia/pull/47184, it seems that this package would benefit from including realistic composite workload.
For example, consider this slow TTFP:
if we make the following change:
we get:
Notice we use different types here to show the precompiled stuff is transferable.