Skip to content
Snippets Groups Projects
  1. Feb 18, 2025
  2. Nov 13, 2024
    • Andrei Eres's avatar
      Add litep2p network protocol benches (#6455) · 6b84431e
      Andrei Eres authored
      # 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 <action@github.com>