#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

#72 in #compact

Download history 1/week @ 2023-12-11 3/week @ 2023-12-18 5/week @ 2024-01-08 9/week @ 2024-02-12 11/week @ 2024-02-19 41/week @ 2024-02-26 26/week @ 2024-03-04 26/week @ 2024-03-11 17/week @ 2024-03-18

110 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

~555KB