Expand description
§ELARA Benchmark Suite
Production-grade benchmark suite for the ELARA Protocol using criterion for statistical analysis and performance tracking.
§Overview
This crate provides comprehensive benchmarks for all critical components:
- Wire protocol encoding/decoding
- Cryptographic operations
- State reconciliation
- Time engine operations
§Usage
Run all benchmarks:
cargo bench --package elara-benchRun specific benchmark:
cargo bench --package elara-bench --bench wire_protocol§Configuration
Benchmarks can be configured via BenchmarkConfig for custom scenarios.
Structs§
- Benchmark
Config - Configuration for benchmark execution
Constants§
- EVENT_
COUNTS - Standard event counts for state benchmarks
- PAYLOAD_
SIZES - Standard payload sizes for benchmarking (64B to 1KB for wire protocol)
- WIRE_
PAYLOAD_ SIZES - Wire protocol payload sizes (limited by MTU)