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

Run slower jobs first so they don't hold up the CI #1626

Merged
merged 1 commit into from Nov 20, 2019

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Nov 19, 2019

The two macOS jobs are the slowest compared to the Linux ones:

image

Rather than having to wait for the slow ones to finish, once everything else has finished, run them first.

That way, when waiting for the to finish, the spare CI runners can finish the fast ones.

It makes full use of the parallelism and reduces end-to-end waiting.

@hugovk
Copy link
Contributor Author

hugovk commented Nov 19, 2019

master

  • Ran for 18 min 15 sec
  • Total time 23 min 18 sec

image

https://travis-ci.org/hugovk/psutil/builds/614066054

PR

  • Ran for 15 min 15 sec
  • Total time 23 min 10 sec

image

https://travis-ci.org/hugovk/psutil/builds/614083788

@giampaolo
Copy link
Owner

Sweet, thanks!

@giampaolo giampaolo merged commit d84fb07 into giampaolo:master Nov 20, 2019
@hugovk hugovk deleted the speedup-build branch November 20, 2019 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants