#thread-pool #compact #jobs

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

#78 in #compact

39 downloads per month
Used in 2 crates

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

~560KB