Skip to content
Unverified Commit 6b84431e authored by Andrei Eres's avatar Andrei Eres Committed by GitHub
Browse files

Add litep2p network protocol benches (#6455)

# Description

Add support to run networking protocol benchmarks with litep2p backend.

Now we can compare the work of both libp2p and litep2p backends for
notifications and request-response protocols.

Next step: extract worker initialization from the benchmark loop.

### Example run on local machine
<img width="916" alt="image"
src="https://github.com/user-attachments/assets/6bb9f90a-76a4-417e-b9d3-db27aa8a356f">


## Integration

Does not affect downstream projects.

## Review Notes


https://github.com/paritytech/polkadot-sdk/blob/d4d95025

/substrate/client/network/src/litep2p/service.rs#L510-L520

This method should be implemented to run request benchmarks.

---------

Co-authored-by: default avatarGitHub Action <[email protected]>
parent e617d1d0
Pipeline #505501 waiting for manual action with stages
in 1 hour and 13 minutes