#benchmark #key-value-store #hash-map #workload #benchmark-framework

bin+lib kvbench

A key-value store benchmark framework with customizable workloads

10 releases

0.3.0 Mar 17, 2025
0.2.3 Feb 6, 2025
0.2.2 Jan 16, 2025
0.2.1 Aug 14, 2024
0.1.2 Jul 29, 2024

#193 in Profiling

Download history 129/week @ 2025-01-16 2/week @ 2025-01-30 145/week @ 2025-02-06 13/week @ 2025-02-13 3/week @ 2025-02-27 93/week @ 2025-03-13 25/week @ 2025-03-20

118 downloads per month

MIT license

165KB
4K SLoC

kvbench

Crates.io Version Docs.rs Status

A benchmark framework designed for testing key-value stores with easily customizable workloads.

Introduction

This Rust crate enables the execution of customizable benchmarks on various key-value stores. Users have the flexibility to adjust benchmark and key-value store parameters and store them in TOML-formatted files. The built-in command line interface is capable of loading these files and running the benchmarks as specified.

In addition to standard single-process benchmarks, it also seamlessly incorporates a key-value client/server implementation that operates with a dedicated server thread or machine.

Usage

The documentation provides detailed usage guidelines.

Development

This project is being actively developed. More built-in stores and benchmark parameters are expected to be added.

Dependencies

~8–22MB
~317K SLoC