2 releases
| 0.1.1 | Nov 25, 2022 |
|---|---|
| 0.1.0 | Nov 25, 2022 |
#971 in Testing
389 downloads per month
Used in laze
10KB
232 lines
Support for partitioning task runs across several machines.
At the moment this only supports simple hash-based and count-based sharding. In the future it could potentially be made smarter: e.g. using data to pick different sets of binaries and tests to run, with an aim to minimize total build and test times.
Introduction
This Rust library allows partitioning a list of tasks to multiple workers, by count or by hash. It was cut out from the awesome nextest.
License
task_partitioner is licensed under the terms of the Apache License (Version 2.0), or MIT.
Dependencies
~335–750KB
~17K SLoC