Hacker News new | ask | show | jobs
by npalli 1134 days ago
Nice improvements

----------------------------

JULIA 1.8.5

julia> @time using Plots

11.341913 seconds (14.83 M allocations: 948.442 MiB, 6.88% gc time, 12.73% compilation time: 62% of which was recompilation)

julia> @time plot(sin.(0:0.01:π))

3.342452 seconds (8.93 M allocations: 472.925 MiB, 4.44% gc time, 99.78% compilation time: 78% of which was recompilation)

-----------------------------------

JULIA 1.9.0

julia> @time using Plots;

2.907620 seconds (3.43 M allocations: 195.045 MiB, 7.52% gc time, 5.61% compilation time: 93% of which was recompilation)

julia> @time plot(sin.(0:0.01:π))

0.395429 seconds (907.48 k allocations: 59.422 MiB, 98.54% compilation time: 74% of which was recompilation)