-
Notifications
You must be signed in to change notification settings - Fork 129
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
ci: run with pytest-xdist and split dask client / not client tests #1278
Conversation
Faster by about ~half @lgray |
Also whoa, some of these are expensive
|
This is great! the integration-tests are pretty much bound mainly by the runtime of the coffea tests, so I'm very happy to see such improvements 🎉 We'd have to use |
This is interesting - I will read about xdist... |
Some of those tests are necessarily insanely expensive but the reason they're expensive is because of the number of branches being read in. We could likely thin the file to just the branches being used (or slightly more) and it would significantly speed up computation time while covering the same bits of code. Repeatedly checking delayed on/off is also going to get worse when we add virtual arrays. |
ah, ok, we are faster because we are multiprocessing. This may work against us in some of the tests since they spawn dask clients @andrzejnovak. |
This is ready (should be squashed in the merge) |
…1278) * ci: try pytest-xdist * Update ci.yml * ci: paralellize tests that don't depend on dask-client * ci: paralellize tests that don't depend on dask-client * ci: paralellize tests that don't depend on dask-client * ci: paralellize tests that don't depend on dask-client * ci: paralellize tests that don't depend on dask-client * ci: paralellize tests that don't depend on dask-client * ci: paralellize tests that don't depend on dask-client * ci: paralellize tests that don't depend on dask-client * ci: paralellize tests that don't depend on dask-client
@andrzejnovak could you make a corresponding PR over in https://github.com/scikit-hep/integration-tests ? |
Will it run faster?