2 releases
0.1.1 | Nov 25, 2022 |
---|---|
0.1.0 | Nov 25, 2022 |
#8 in #partitioning
207 downloads per month
Used in laze
10KB
232 lines
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.
lib.rs
:
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.
Dependencies
~0.4–0.9MB
~20K SLoC