#testing #benchmarking #multithreading #concurrent

testbench

Testing and benchmarking tools for concurrent Rust code

14 releases (7 breaking)

0.8.0 Jan 16, 2021
0.7.3 Mar 15, 2020
0.7.2 Feb 7, 2020
0.7.0 Apr 12, 2019
0.3.1 Jun 25, 2017

#140 in Concurrency

Download history 184/week @ 2021-07-01 177/week @ 2021-07-08 195/week @ 2021-07-15 175/week @ 2021-07-22 218/week @ 2021-07-29 192/week @ 2021-08-05 194/week @ 2021-08-12 175/week @ 2021-08-19 172/week @ 2021-08-26 99/week @ 2021-09-02 9/week @ 2021-09-09 74/week @ 2021-09-16 168/week @ 2021-09-23 189/week @ 2021-09-30 173/week @ 2021-10-07 173/week @ 2021-10-14

299 downloads per month
Used in 2 crates

MPL-2.0 license

26KB
338 lines

Testing & benchmarking tools for concurrent Rust code

On crates.io On docs.rs Continuous Integration Requires rustc 1.36+

What is this?

Just a simple collection of testing and benchmarking tools for concurrent Rust code.

The "benchmarking tool" part has been much reduced in v0.8 since I'm now using criterion.

License

This crate is distributed under the terms of the MPLv2 license. See the LICENSE file for details.

More relaxed licensing (Apache, MIT, BSD...) may also be negociated, in exchange of a financial contribution. Contact me for details at knights_of_ni AT gmx DOTCOM.


lib.rs:

Testing and benchmarking tools for concurrent Rust code

This crate groups together a bunch of utilities which I've found useful when testing and benchmarking Rust concurrency primitives in the triple_buffer and spmc_buffer crates.

If it proves popular, other testing and benchmarking tools may be added, based on user demand.

Examples

For examples of this crate at work, look at its "tests" and "benchs" submodules, which showcase expected usage.

Dependencies

~120KB