Skip to content
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

feat: pop bench pallet logic implementation #407

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
d051d35
feat: add bench subcommand
chungquantin Feb 10, 2025
0cb63a0
feat: integrates frame-benchmarking-cli
chungquantin Feb 10, 2025
9798c5d
refactor: PalletCmd run with spec
chungquantin Feb 10, 2025
9719f05
feat: set RUST_LOG=info for benchmarking display
chungquantin Feb 10, 2025
9b94bbf
feat: add CLI messages and tests
chungquantin Feb 10, 2025
5bd6946
feat: add benchmark runtime wasm test
chungquantin Feb 11, 2025
949f972
chore: fix comment
chungquantin Feb 11, 2025
7dbe642
fix: operator cannot be applied to type
chungquantin Feb 11, 2025
1285436
chore: display error and refactor test file
chungquantin Feb 12, 2025
52760a4
chore: rename `bench` file
chungquantin Feb 13, 2025
d6a4c19
chore: clippy warning
chungquantin Feb 17, 2025
2d618e6
refactor: parachain feature in bench command
chungquantin Feb 17, 2025
760e8df
feat: add bench subcommand
chungquantin Feb 10, 2025
89eb0a5
feat: integrates frame-benchmarking-cli
chungquantin Feb 10, 2025
0aa7bcb
refactor: PalletCmd run with spec
chungquantin Feb 10, 2025
a24205a
feat: add CLI messages and tests
chungquantin Feb 10, 2025
33d6544
feat: add benchmark runtime wasm test
chungquantin Feb 11, 2025
001afac
chore: fix comment
chungquantin Feb 11, 2025
4d53b7c
fix: operator cannot be applied to type
chungquantin Feb 11, 2025
1fe3728
chore: display error and refactor test file
chungquantin Feb 12, 2025
c1f84a4
chore: rename `bench` file
chungquantin Feb 13, 2025
8a2a0d8
chore: clippy warning
chungquantin Feb 17, 2025
3ca377a
refactor: parachain feature in bench command
chungquantin Feb 17, 2025
5a33cb5
chore: revert mod.rs
chungquantin Feb 17, 2025
4fb8a52
Merge branch 'chungquantin/feat-pop_bench_command' into chungquantin/…
chungquantin Feb 18, 2025
bc3844f
feat: add bench subcommand
chungquantin Feb 10, 2025
81ca595
chore: revert mod.rs
chungquantin Feb 17, 2025
5c69429
feat: add bench subcommand
chungquantin Feb 10, 2025
3166017
feat: integrates frame-benchmarking-cli
chungquantin Feb 10, 2025
932e2a9
refactor: PalletCmd run with spec
chungquantin Feb 10, 2025
eedefd7
feat: set RUST_LOG=info for benchmarking display
chungquantin Feb 10, 2025
2ed185f
feat: add CLI messages and tests
chungquantin Feb 10, 2025
4c2b2de
feat: add benchmark runtime wasm test
chungquantin Feb 11, 2025
43e85b3
chore: fix comment
chungquantin Feb 11, 2025
ad5159c
fix: operator cannot be applied to type
chungquantin Feb 11, 2025
7d32588
chore: display error and refactor test file
chungquantin Feb 12, 2025
06d6528
chore: rename `bench` file
chungquantin Feb 13, 2025
b3e726b
chore: clippy warning
chungquantin Feb 17, 2025
c8cf39b
refactor: parachain feature in bench command
chungquantin Feb 17, 2025
832088a
feat: add bench subcommand
chungquantin Feb 10, 2025
0340eaf
feat: integrates frame-benchmarking-cli
chungquantin Feb 10, 2025
0dd02b0
refactor: PalletCmd run with spec
chungquantin Feb 10, 2025
f5eef31
feat: add CLI messages and tests
chungquantin Feb 10, 2025
ce95ff0
feat: add benchmark runtime wasm test
chungquantin Feb 11, 2025
e42d1c3
chore: fix comment
chungquantin Feb 11, 2025
52dfb95
fix: operator cannot be applied to type
chungquantin Feb 11, 2025
2785e52
chore: display error and refactor test file
chungquantin Feb 12, 2025
6435fc9
chore: rename `bench` file
chungquantin Feb 13, 2025
834307a
chore: clippy warning
chungquantin Feb 17, 2025
704196b
refactor: parachain feature in bench command
chungquantin Feb 17, 2025
1ef73f5
chore: revert mod.rs
chungquantin Feb 17, 2025
028a2bc
feat: add bench subcommand
chungquantin Feb 10, 2025
ad10ab4
chore: revert mod.rs
chungquantin Feb 17, 2025
146ab34
Merge remote-tracking branch 'refs/remotes/origin/chungquantin/feat-p…
chungquantin Feb 18, 2025
9d7c1b7
chore: revert changes
chungquantin Feb 18, 2025
c3684ce
feat: benchmark existing runtime binary and select policy, presets (#…
chungquantin Feb 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7,413 changes: 6,445 additions & 968 deletions Cargo.lock

Large diffs are not rendered by default.

16 changes: 14 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@ subxt = "0.38.0"
ink_env = "5.0.0"
sp-core = "32.0.0"
sp-weights = "31.0.0"
scale-info = { version = "2.11.4", default-features = false, features = ["derive"] }
scale-value = { version = "0.17.0", default-features = false, features = ["from-string", "parser-ss58"] }
scale-info = { version = "2.11.4", default-features = false, features = [
"derive",
] }
scale-value = { version = "0.17.0", default-features = false, features = [
"from-string",
"parser-ss58",
] }
contract-build = "5.0.2"
contract-extrinsics = "5.0.2"
contract-transcode = "5.0.2"
Expand All @@ -68,6 +73,13 @@ serde = { version = "1.0", features = ["derive"] }
zombienet-sdk = "0.2.18"
git2_credentials = "0.13.0"

# benchmarking
cumulus-primitives-proof-size-hostfunction = "0.10.0"
frame-benchmarking-cli = "46.0.0"
sc-chain-spec = "41.0.0"
sp-runtime = "40.0.1"
sp-statement-store = "15.0.0"

# pop-cli
clap = { version = "4.5", features = ["derive"] }
cliclack = "0.3.1"
Expand Down
6 changes: 6 additions & 0 deletions crates/pop-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ axum.workspace = true
open.workspace = true
tower-http = { workspace = true, features = ["fs", "cors"] }

# benchmarking
cumulus-primitives-proof-size-hostfunction.workspace = true
frame-benchmarking-cli.workspace = true
sp-runtime.workspace = true
sp-statement-store.workspace = true

[dev-dependencies]
assert_cmd.workspace = true
contract-extrinsics.workspace = true
Expand Down
Loading
Loading