Skip to content

Conversation

@NHDaly
Copy link
Member

@NHDaly NHDaly commented Feb 28, 2025

Before:

julia> using Profile, PProf

julia> Profile.Allocs.@profile [[] for _ in 1:5];

julia> @time PProf.Allocs.pprof(web=false);
Analyzing 2152 allocation samples... 100%|███████████████████████| Time: 0:00:01
  2.917925 seconds (5.81 M allocations: 393.504 MiB, 1.46% gc time, 43.90% compilation time)

After:

julia> using Profile, PProf

julia> Profile.Allocs.@profile [[] for _ in 1:5];

julia> @time PProf.Allocs.pprof(web=false);
Analyzing 2006 allocation samples... 100%|███████████████████████| Time: 0:00:00
  1.715353 seconds (1.99 M allocations: 146.044 MiB, 1.96% gc time, 10.93% compilation time)

@NHDaly
Copy link
Member Author

NHDaly commented Feb 28, 2025

I'm not sure why, but i couldn't get rid of 100% of the compilation time. But still, not terrible.

Copy link
Collaborator

@nickrobinson251 nickrobinson251 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@NHDaly NHDaly enabled auto-merge (squash) March 2, 2025 15:14
@NHDaly NHDaly merged commit 75b22b7 into main Mar 2, 2025
6 of 9 checks passed
@NHDaly NHDaly deleted the nhd-precompile branch March 2, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants