Skip to content

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 latency 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:precompilation Precompilation of modules latency Latency parallelism Parallel or distributed computation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Precompile file for Distributed

3 participants