Skip to main content

Module storage_benchmark

Module storage_benchmark 

Source
Expand description

Storage performance benchmarking utilities

Provides comprehensive tools for measuring storage read/write/delete throughput and latency across all operation types, including:

  • Configurable benchmark runs with warmup support
  • Per-operation latency sampling (microsecond resolution)
  • Statistical analysis: p50/p95/p99 percentiles, min/max
  • Throughput computation in MB/s
  • Deterministic pseudo-random block generation (xorshift64)
  • Human-readable result formatting
  • Aggregate statistics across multiple runs

Structs§

BenchmarkConfig
Configuration controlling a single benchmark run.
BenchmarkResult
Aggregated result of a completed benchmark run.
BenchmarkStats
Running aggregate statistics across multiple benchmark runs.
LatencySample
A single latency measurement for one storage operation.
StorageBenchmark
Storage performance benchmarking engine.

Enums§

BenchmarkOp
The type of storage operation being benchmarked.