Skip to content

Use --concurrency 4 instead of --parallel for tests. #1693

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
merged 1 commit into from
Apr 12, 2019

Conversation

mikelehen
Copy link
Contributor

I'm hoping this makes travis more reliable by limiting the amount of concurrency for our tests .

--concurrency 4 was also slightly faster than --parallel on my local machine. Though any value above 1 was actually fairly comparable:

--parallel:      342.63s
--concurrency 1: 498.26s
--concurrency 2: 351.23s
--concurrency 3: 342.50s
--concurrency 4: 336.55s
--concurrency 5: 349.82s
--concurrency 6: 348.19s
--concurrency 7: 341.47s
--concurrency 8: 348.52s

I'm hoping this makes travis more reliable by limitting the amount of concurrency for our tests .

`--concurrency 4` was also slightly faster than `--parallel` on my local
machine. Though any value above 1 was actually fairly comparable:

--parallel:      342.63s
--concurrency 1: 498.26s
--concurrency 2: 351.23s
--concurrency 3: 342.50s
--concurrency 4: 336.55s
--concurrency 5: 349.82s
--concurrency 6: 348.19s
--concurrency 7: 341.47s
--concurrency 8: 348.52s
@mikelehen
Copy link
Contributor Author

Comparing the travis runs to my last PR, it seems like this speeds things up a bit:

Before: 679.74s / 678.04s
After: 595.03s / 635.62s

And I notice the RTDB emulator starts muuuch faster:
Before: Emulator has started up after 67.517s!
After: Emulator has started up after 9.068s!

@mikelehen mikelehen assigned Feiyang1 and unassigned mikelehen Apr 12, 2019
@Feiyang1
Copy link
Member

Wow, that's super good. Thanks so much for doing the experiments.

@mikelehen mikelehen merged commit a5d8837 into master Apr 12, 2019
@mikelehen mikelehen deleted the mikelehen/set-concurrency branch April 12, 2019 21:57
@firebase firebase locked and limited conversation to collaborators Oct 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants