This issue serves as a tracking umbrella for benchmarking the protocol crates.
The primary goal is to scaffold a basic benchmarking suite for each role and use it to identify performance bottlenecks in the current implementations. These benchmarks should help us build a concrete understanding of where time and allocations are spent, rather than relying on intuition or assumptions.
A secondary motivation is to evaluate the viability and trade-offs of existing design choices, particularly around buffer usage and lifetime pollution introduced by binary-sv2.
This issue will track both:
- the addition of benchmarks for protocol crates, and
- any follow-up improvements that arise from insights gained during benchmarking.
Crates to benchmark
This issue serves as a tracking umbrella for benchmarking the protocol crates.
The primary goal is to scaffold a basic benchmarking suite for each role and use it to identify performance bottlenecks in the current implementations. These benchmarks should help us build a concrete understanding of where time and allocations are spent, rather than relying on intuition or assumptions.
A secondary motivation is to evaluate the viability and trade-offs of existing design choices, particularly around buffer usage and lifetime pollution introduced by
binary-sv2.This issue will track both:
Crates to benchmark
binary-sv2