-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Introduce subsystem benchmarking tool #2528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 43 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
01af630
skeleton
sandreim 7c22abe
wip
sandreim c3adc77
measure tput and fixes
sandreim 31b0351
add network emulation
sandreim e4bb037
cleanup
sandreim a694924
Add latency emulation
sandreim 7ca4dba
support multiple pov sizes
sandreim 0430b5b
new metric in recovery and more testing
sandreim 027bcd8
CLI update and fixes
sandreim 5a05da0
peer stats
sandreim 895e8d6
Switch stats to atomics
sandreim a2fb0c9
add more network metrics, new load generator
sandreim d1b9fa3
refactor
sandreim c5937ab
pretty cli + minor refactor + remove unused
sandreim d6c259d
update
sandreim 050529b
remove comment
sandreim cb38be5
separate cli options for availability
sandreim 24a736a
implement unified and extensible configuration
sandreim 2843865
Prepare to swtich to overseer
sandreim fd4620e
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim b17a147
add mocked subsystems
sandreim 4724d8c
full overseer based implementation complete
sandreim 7aed30f
make clean
sandreim b51485b
more cleaning
sandreim 7e46444
more cleaning
sandreim d3df927
proper overseer control
sandreim 7557768
refactor CLI display of env stats
sandreim 787dc00
Add grafana dashboards for DA read
sandreim cd18f8d
network stats fixes
sandreim e8506b3
move examples and grafana
sandreim cbb6772
Add readme
sandreim 1a80870
fmt + readme updates
sandreim eb49ea0
update dashboard and sample
sandreim b249056
remove unused
sandreim 7fbcdfc
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim fb34181
revert unneeded changes
sandreim 3a716a5
add missing comments and minor fixes
sandreim a092b76
clippy
sandreim ca27370
zepter format features --fix
sandreim be814e5
fix markdown
sandreim 11ce8f5
remove sleep till end of block
sandreim 8d93abc
review
sandreim af141ee
Emulated network improvements
sandreim 29d80fa
fix comment
sandreim 74e68bb
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 4d21e5b
cargo lock
sandreim 3e25fdc
more review feedback
sandreim 1458a73
change back to debug
sandreim baa124e
fix test build
sandreim fde982f
fix markdown
sandreim 47c2643
fix test
sandreim 8b49077
taplo fix
sandreim 42f6834
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 4c86691
cargo lock
sandreim bd128b3
clippy
sandreim 1021efb
more clippy
sandreim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| [package] | ||
| name = "polkadot-subsystem-bench" | ||
| description = "Subsystem performance benchmark client" | ||
| version = "1.0.0" | ||
| authors.workspace = true | ||
| edition.workspace = true | ||
| license.workspace = true | ||
| readme = "README.md" | ||
| publish = false | ||
|
|
||
| [[bin]] | ||
| name = "subsystem-bench" | ||
| path = "src/subsystem-bench.rs" | ||
|
|
||
| # Prevent rustdoc error. Already documented from top-level Cargo.toml. | ||
| doc = false | ||
|
|
||
| [dependencies] | ||
| polkadot-node-subsystem = { path = "../subsystem" } | ||
| polkadot-node-subsystem-util = { path = "../subsystem-util" } | ||
| polkadot-node-subsystem-types = { path = "../subsystem-types" } | ||
| polkadot-node-primitives = { path = "../primitives" } | ||
| polkadot-primitives = { path = "../../primitives" } | ||
| polkadot-node-network-protocol = { path = "../network/protocol" } | ||
| polkadot-availability-recovery = { path = "../network/availability-recovery", features=["subsystem-benchmarks"]} | ||
| color-eyre = { version = "0.6.1", default-features = false } | ||
| polkadot-overseer = { path = "../overseer" } | ||
| colored = "2.0.4" | ||
| assert_matches = "1.5" | ||
| async-trait = "0.1.57" | ||
| sp-keystore = { path = "../../../substrate/primitives/keystore" } | ||
| sc-keystore = { path = "../../../substrate/client/keystore" } | ||
| sp-core = { path = "../../../substrate/primitives/core" } | ||
| clap = { version = "4.4.6", features = ["derive"] } | ||
| futures = "0.3.21" | ||
| futures-timer = "3.0.2" | ||
| gum = { package = "tracing-gum", path = "../gum" } | ||
| polkadot-erasure-coding = { package = "polkadot-erasure-coding", path = "../../erasure-coding" } | ||
| log = "0.4.17" | ||
| env_logger = "0.9.0" | ||
| rand = "0.8.5" | ||
| parity-scale-codec = { version = "3.6.1", features = ["std", "derive"] } | ||
| tokio = "1.24.2" | ||
| clap-num = "1.0.2" | ||
| polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" } | ||
| sp-keyring = { path = "../../../substrate/primitives/keyring" } | ||
| sp-application-crypto = { path = "../../../substrate/primitives/application-crypto" } | ||
| sc-network = { path = "../../../substrate/client/network" } | ||
| sc-service = { path = "../../../substrate/client/service" } | ||
| polkadot-node-metrics = { path = "../metrics" } | ||
| itertools = "0.11.0" | ||
| polkadot-primitives-test-helpers = { path = "../../primitives/test-helpers" } | ||
| prometheus_endpoint = { package = "substrate-prometheus-endpoint", path = "../../../substrate/utils/prometheus" } | ||
| prometheus = { version = "0.13.0", default-features = false } | ||
| serde = "1.0.192" | ||
| serde_yaml = "0.9" | ||
| paste = "1.0.14" | ||
| orchestra = { version = "0.3.3", default-features = false, features=["futures_channel"] } | ||
|
|
||
| [features] | ||
| default = [] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.