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

use precompile generation for Distributed instead of hardcoded list #33077

Merged
merged 1 commit into from
Oct 16, 2019

Conversation

KristofferC
Copy link
Member

@KristofferC KristofferC commented Aug 26, 2019

Optionally, we just delete the precompile file in Distributed and do no precompilation for it.

Fixes #31938

@KristofferC KristofferC added parallelism Parallel or distributed computation compiler:precompilation Precompilation of modules compiler:latency Compiler latency labels Aug 26, 2019
@KristofferC KristofferC reopened this Aug 26, 2019
@JeffBezanson
Copy link
Member

With this we could probably delete the precompile.jl file for Serialization as well.

@KristofferC
Copy link
Member Author

Removed the Sockets precompile file as well. I looked at the generated precompile statements and there was a bunch of Socket stuff in there.

@KristofferC
Copy link
Member Author

Good to go?

@JeffBezanson JeffBezanson merged commit 220681f into master Oct 16, 2019
@JeffBezanson JeffBezanson deleted the kc/distributed branch October 16, 2019 17:34
@JeffBezanson
Copy link
Member

It's surprising how much time this adds to the build.
Before:

Generating precompile statements... 3842 generated in 104.492933 seconds (overhead  67.737766 seconds)

After:

Generating precompile statements... 4393 generated in 133.891992 seconds (overhead  90.435911 seconds)

Not a huge problem maybe, but it did kind of surprise me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:latency Compiler latency compiler:precompilation Precompilation of modules parallelism Parallel or distributed computation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Precompile file for Distributed
2 participants