Run the benchmark suite
./gradlew benchmark
Make sure Java 11 is installed before running the suite locally.
MicroRaft includes a JMH benchmark suite for the core module. Use it to evaluate Java Raft throughput and latency tradeoffs under a controlled setup, not to make context-free production claims.
./gradlew benchmark
Make sure Java 11 is installed before running the suite locally.
./gradlew :microraft:jmh --args="WitnessReplicaOverheadBenchmark"
This scenario compares local state machine execution and snapshot overhead with the witness fast path.
When sharing performance claims, include:
Look for trend changes first. If a benchmark is slower, ask whether the change bought safer durability, better batching, or more predictable failure behavior before treating it as a regression.