#testing #benchmarking #multi-threading

testbench

Testing and benchmarking tools for concurrent Rust code

17 releases (1 stable)

1.0.0 Aug 15, 2022
0.9.0 Aug 10, 2022
0.8.1 Aug 10, 2022
0.8.0 Jan 16, 2021
0.3.1 Jun 25, 2017

#702 in Concurrency

Download history 14/week @ 2024-06-17 26/week @ 2024-06-24 24/week @ 2024-07-08 33/week @ 2024-07-22 27/week @ 2024-08-05 30/week @ 2024-08-19 22/week @ 2024-08-26 23/week @ 2024-09-02 24/week @ 2024-09-09 57/week @ 2024-09-23 85/week @ 2024-09-30

166 downloads per month
Used in 3 crates

MPL-2.0 license

27KB
334 lines

Testing & benchmarking tools for concurrent Rust code

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

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.

No runtime deps