mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 05:27:56 +00:00
526c81b138
Ready-to-merge version of https://github.com/paritytech/polkadot-sdk/pull/2601 - Added optional CPU profiling - Updated instructions how to set up Prometheus, Pyroscope and Graphana - Added a flamegraph dashboard <img width="1470" alt="image" src="https://github.com/paritytech/polkadot-sdk/assets/27277055/c8f3b33d-3c01-4ec0-ac34-72d52325b6e6"> --------- Co-authored-by: ordian <write@reusable.software>
64 lines
2.5 KiB
TOML
64 lines
2.5 KiB
TOML
[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.74"
|
|
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 = ["derive", "std"] }
|
|
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"] }
|
|
pyroscope = "0.5.7"
|
|
pyroscope_pprofrs = "0.2.7"
|
|
|
|
[features]
|
|
default = []
|