mz-benchmark
Installation
SKILL.md
Benchmark Frameworks
Materialize has some benchmark frameworks targetting local Docker, each suited to different performance concerns. Choose the right one based on what you're measuring.
Decision Guide
| Concern | Framework | Best For |
|---|---|---|
| Single-operation latency | Feature Benchmark | "How fast is this SELECT / INSERT / CREATE INDEX?" |
| SQL throughput under concurrency | Scalability Test | "How many QPS can we sustain at 1/4/16/64/256 concurrent clients?" |
| Sustained performance over time | Parallel Benchmark | "Does latency degrade over a 2-minute mixed workload?" |
1. Feature Benchmark (Micro-benchmarks)
Measures wall-clock time of individual SQL operations without concurrency. Uses testdrive fragments. Great for regression-testing specific code paths.
How to Add a Scenario
Related skills