Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some explicit precompile statements and precompile-friendly loadtime hooks #735

Merged
merged 2 commits into from
Jun 4, 2023

Conversation

ranocha
Copy link
Contributor

@ranocha ranocha commented May 29, 2023

On my system, I get the following results.

Current master:

$ julia --project=. -e 'import Pkg; Pkg.precompile(); @time @eval using MPI'
Precompiling project...
  1 dependency successfully precompiled in 3 seconds. 13 already precompiled.
  0.068064 seconds (60.26 k allocations: 4.630 MiB, 51.31% compilation time)

This PR:

$ julia --project=. -e 'import Pkg; Pkg.precompile(); @time @eval using MPI'
Precompiling project...
  1 dependency successfully precompiled in 3 seconds. 13 already precompiled.
  0.038507 seconds (57.11 k allocations: 4.375 MiB, 6.25% compilation time)

src/MPI.jl Outdated Show resolved Hide resolved
src/MPI.jl Outdated Show resolved Hide resolved
@ranocha ranocha requested a review from giordano June 2, 2023 08:36
@ranocha
Copy link
Contributor Author

ranocha commented Jun 2, 2023

Bump

@giordano giordano merged commit 5dce978 into JuliaParallel:master Jun 4, 2023
33 of 51 checks passed
@ranocha ranocha deleted the hr/precompile branch June 4, 2023 11:32
@ranocha
Copy link
Contributor Author

ranocha commented Jun 4, 2023

Thanks for the review and for merging this, @giordano. It would be nice to get a new release of MPI.jl 🙂

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.

None yet

3 participants