7 releases

0.2.1 Aug 14, 2024
0.2.0 Aug 8, 2024
0.1.2 Jul 29, 2024
0.1.1 Jul 25, 2024
0.1.0 Jul 25, 2024

#187 in Profiling

22 downloads per month

GPL-3.0 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. The following tasks are currently being worked on:

  • Read-modify-write (RMW) support.
  • More built-in stores and benchmark parameters.
  • Enhanced error messages for better ergonomics.

Dependencies

~8–21MB
~305K SLoC