Skip to content

Reduce running time of testPickling #3642

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

Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Dec 8, 2017

testPickling pickled directories recursively. It seems this was unintentional
as it caused testPickling to test most files of the dotty compiler three times,
including two runs where basically the whole compiler was tested together. This
was very slow as pickling (and retaining pickled info) caused very high memory pressure.

We now compile root compiler directories non-recursively.

testPickling pickled directories recursively. It seems this was unintentional
as it caused testPickling to test most files of the dotty compiler three times,
including two runs where basically the whole compiler was tested together. This
was very slow as pickling (and retaining pickled info) caused very high memory pressure.

We now compile root compiler directories non-recursively.
@odersky odersky requested a review from nicolasstucki December 8, 2017 10:36
@nicolasstucki nicolasstucki merged commit 55c0fb6 into scala:master Dec 8, 2017
@allanrenucci allanrenucci deleted the change-faster-pickletests branch December 14, 2017 16:58
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