#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

#192 in Profiling

Download history 102/week @ 2025-01-11 27/week @ 2025-01-18 118/week @ 2025-02-01 34/week @ 2025-02-08 8/week @ 2025-02-15 1/week @ 2025-02-22 2/week @ 2025-03-01 99/week @ 2025-03-15 19/week @ 2025-03-22

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
~324K SLoC