Add networking benchmarks for libp2p (#6077)
# Description Implemented benchmarks for Notifications and RequestResponse protocols with libp2p implementation. These benchmarks allow us to monitor regressions and implement fixes before they are observed in real chain. In the future, they can be used for targeted optimizations of litep2p compared to libp2p. Part of https://github.com/paritytech/polkadot-sdk/issues/5220 Next steps: - Add benchmarks for litep2p implementation - Optimize load to get better results - Add benchmarks to CI to catch regressions ## Integration Benchmarks don't affect downstream projects. --------- Co-authored-by:alvicsam <alvicsam@gmail.com> Co-authored-by:
GitHub Action <action@github.com>
parent
65e79720
Showing
- Cargo.lock 2 additions, 0 deletionsCargo.lock
- prdoc/pr_6077.prdoc 9 additions, 0 deletionsprdoc/pr_6077.prdoc
- substrate/client/network/Cargo.toml 13 additions, 1 deletionsubstrate/client/network/Cargo.toml
- substrate/client/network/benches/notifications_protocol.rs 290 additions, 0 deletionssubstrate/client/network/benches/notifications_protocol.rs
- substrate/client/network/benches/request_response_protocol.rs 278 additions, 0 deletions...trate/client/network/benches/request_response_protocol.rs
prdoc/pr_6077.prdoc
0 → 100644
Please register or sign in to comment