Skip to content

Commit

Permalink
Optimize initialization of networking protocol benchmarks (paritytech…
Browse files Browse the repository at this point in the history
…#6636)

# Description
These changes should enhance the quality of benchmark results by
excluding worker initialization time from the measurements and reducing
the overall duration of the benchmarks.

### Integration
It should not affect any downstream projects.

### Review Notes
- Workers initialize once per benchmark to avoid side effects.  
- The listen address is assigned when a worker starts.  
- Benchmarks are divided into two groups by size to create better charts
for comparison.

---------

Co-authored-by: GitHub Action <[email protected]>
  • Loading branch information
AndreiEres and actions-user authored Dec 5, 2024
1 parent 654d60c commit f4a196a
Show file tree
Hide file tree
Showing 3 changed files with 353 additions and 360 deletions.
9 changes: 9 additions & 0 deletions prdoc/pr_6636.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title: Optimize initialization of networking protocol benchmarks
doc:
- audience: Node Dev
description: |-
These changes should enhance the quality of benchmark results by excluding worker initialization time from the measurements and reducing the overall duration of the benchmarks.

crates:
- name: sc-network
validate: false
Loading

0 comments on commit f4a196a

Please sign in to comment.