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 2 workers in JVM build #1673

Merged
merged 1 commit into from
May 18, 2017
Merged

Conversation

ceedubs
Copy link
Contributor

@ceedubs ceedubs commented May 16, 2017

As far as I can tell, our CI build has 2 cores available on Travis. So I
suspect that 2 workers might be a sweet spot for our JVM testing. As I
understand it, the JS runtime is single-threaded, so we probably won't
benefit from additional workers on it (as our tests should be
CPU-bound).

I could be totally wrong about these assumptions, but I'm interested in
how the build times for this PR compare.

As far as I can tell, our CI build has 2 cores available on Travis. So I
suspect that 2 workers might be a sweet spot for our JVM testing. As I
understand it, the JS runtime is single-threaded, so we probably won't
benefit from additional workers on it (as our tests should be
CPU-bound).

I could be totally wrong about these assumptions, but I'm interested in
how the build times for this PR compare.
@ceedubs
Copy link
Contributor Author

ceedubs commented May 16, 2017

In the first build, this seems to reduce the JVM build from ~35min to ~30 min. It's tough to infer based on a sample size of 1 though.

@codecov-io
Copy link

codecov-io commented May 16, 2017

Codecov Report

Merging #1673 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1673   +/-   ##
=======================================
  Coverage   93.43%   93.43%           
=======================================
  Files         241      241           
  Lines        4068     4068           
  Branches      140      140           
=======================================
  Hits         3801     3801           
  Misses        267      267

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b15dd3...fedf65b. Read the comment docs.

@ceedubs
Copy link
Contributor Author

ceedubs commented May 16, 2017

I'm going to restart the build to try to see whether the times are consistent.

@ceedubs
Copy link
Contributor Author

ceedubs commented May 16, 2017

There seem to be similar results (or even a bit better) on the second build.

Copy link
Contributor

@kailuowang kailuowang left a comment

Choose a reason for hiding this comment

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

It seems that it improved the JVM build time.

@kailuowang kailuowang merged commit b5caca7 into typelevel:master May 18, 2017
@ceedubs ceedubs deleted the moar-workers branch May 18, 2017 16:35
@kailuowang kailuowang modified the milestone: 1.0.0-MF May 18, 2017
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.

4 participants