#threadpool #compact #crate #implementation #efficient

uvth

Compact and efficient threadpool implementation as an alternative to the threadpool crate

13 stable releases (4 major)

4.0.1 Apr 23, 2020
4.0.0 Aug 15, 2019
3.1.1 Jul 15, 2019
3.0.1 Jun 28, 2019
0.1.0 Jun 25, 2019
Download history 82/week @ 2020-12-22 143/week @ 2020-12-29 154/week @ 2021-01-05 114/week @ 2021-01-12 126/week @ 2021-01-19 101/week @ 2021-01-26 210/week @ 2021-02-02 144/week @ 2021-02-09 166/week @ 2021-02-16 43/week @ 2021-02-23 25/week @ 2021-03-02 12/week @ 2021-03-09 13/week @ 2021-03-16 44/week @ 2021-03-23 48/week @ 2021-03-30 22/week @ 2021-04-06

509 downloads per month
Used in futures-cputask

MIT license

9KB
208 lines

uvth

Compact and efficient threadpool implementation as an alternative to the threadpool crate.

uvth is a more efficient alternative to threadpool with less overhead.

benchmarks

i7-7700HQ 4C/8T Clear Linux

Time taken to run 100k no-op (empty) jobs. Averages from 5050 iterations.

threadpool_crate        time:   [42.201 ms 42.373 ms 42.560 ms]

threadpool_uvth         time:   [4.4844 ms 4.5123 ms 4.5412 ms]

lib.rs:

uvth is a library that provides a efficient threadpool as an alternative to the threadpool crate.

uvth is more efficient and has less overhead than the threadpool crate. Benchmarks can be found in the README.

Dependencies

~500KB