A benchmark suite for testing JMT (Jellyfish Merkle Tree) operations using Criterion.
This project includes benchmarks for various JMT operations:
- Insert operations: Measures performance when inserting different numbers of key-value pairs
- Get operations: Tests retrieval performance with pre-populated trees
- Update operations: Evaluates performance when updating existing keys
To run the benchmarks, use the following command:
cargo benchThis will execute all the benchmark tests and provide detailed performance metrics including:
- Average execution time
- Variance in measurements
- Statistical analysis of performance characteristics
- Rust toolchain (stable)
- Cargo
jmt: Jellyfish Merkle Tree implementationcriterion: Statistics-driven microbenchmarking librarytempfile: Secure temporary file and directory utilitiessha2: SHA-2 hash function implementation