#benchmarking #testing #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

#689 in Concurrency

Download history 17/week @ 2023-12-22 1/week @ 2023-12-29 15/week @ 2024-01-05 8/week @ 2024-01-12 7/week @ 2024-01-19 7/week @ 2024-01-26 1/week @ 2024-02-02 23/week @ 2024-02-09 5/week @ 2024-02-16 45/week @ 2024-02-23 28/week @ 2024-03-01 30/week @ 2024-03-08 18/week @ 2024-03-15 23/week @ 2024-03-22 19/week @ 2024-03-29 55/week @ 2024-04-05

116 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