poolio

crates.io GPL licensed CI

A simple and safe and fast thread-pool based on pure message-passing concurrency defying the mainstream.

For documumentation see Released API docs. In particular, you can find a design- and usage-description there.

Benches

The benches pit poolio against threadpool in a battle of computing various lists of primes and writing them to a sink. On a computer 'Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz' (6 cores and 12 CPUs) running x86_64 GNU/Linux we measured the following average times for executing the job:

| Primes | poolio | threadpool | | ---------- | ----------:| ----------:| | 6 workers | 29.251 ms | 29.855 ms | | 12 workers | 25.295 ms | 24.772 ms |

This suggests that the poolio and threadpool are equally performant. The full result can be downloaded here. (The benchmarks are powered by criterion.)

Contributing

If you want to contribute: CONTRIBUTING.

Security

For security-related issues see: SECURITY.