Crates.io | bustle |
lib.rs | bustle |
version | 0.5.1 |
source | src |
created_at | 2020-02-26 18:33:26.259786 |
updated_at | 2023-02-05 18:37:26.021174 |
description | Benchmarking harness for concurrent key-value collections |
homepage | |
repository | https://github.com/jonhoo/bustle.git |
max_upload_size | |
id | 212769 |
size | 41,681 |
Bustle is a benchmarking harness for concurrent key-value collections.
Say you have a concurrent collection (like a HashMap
) and you want to measure how well it
performs across different workloads. Does it collapse when there are many writes? Or when there
are many threads? Or if there are concurrent removals? This crate tries to give you answers.
bustle
runs a concurrent mix of operations (a "workload") against your collection, measuring
statistics as it goes, and gives you a report at the end about how you did. There are many
parameters to tweak, but hopefully the documentation for each element will help you decide. You
probably want to measure your collection against many different workloads, rather than just a
single one.
See the documentation for details.
The crate is, at the time of writing, a pretty direct port of the Universal Benchmark from
libcuckoo
, though that may change over time.
If you have a concurrent key-value collection you would like to run through this benchmark, feel free to send a PR to add it as a benchmark to this repository!
Licensed under Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.