-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes
54 lines (38 loc) · 2.18 KB
/
notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Benchmarking v2: look at collective pallet
cargo build --release --features runtime-benchmarks
cargo check --features runtime-benchmarks
./target/release/node-template benchmark pallet --chain dev --pallet pallet_template --extrinsic * --steps=50 --repeat=20 --execution=wasm --wasm-execution=compiled --output pallets/template/src/weights.rs --template ../../.maintain/frame-weight-template.hbs
./target/release/node-template benchmark pallet --chain dev --pallet pallet-project-tips --extrinsic "*" --steps=50 --repeat=20 --wasm-execution=compiled --output custom-pallets/project-tips/src/weights.rs --template ./.maintain/frame-weight-template.hbs
cargo run --release --features runtime-benchmarks -- benchmark pallet \
--chain dev \
--wasm-execution compiled \
--pallet "pallet-project-tips" \
--extrinsic "*" \
--steps 50 \
--repeat 20 \
--output custom-pallets/project-tips/src/weights.rs --template=./.maintain/frame-weight-template.hbs
cargo run --release --features runtime-benchmarks -- benchmark pallet \
--chain dev \
--wasm-execution compiled \
--pallet "pallet-positive-externality" \
--extrinsic "*" \
--steps 50 \
--repeat 20 \
--output custom-pallets/positive-externality/src/weights.rs --template=./.maintain/frame-weight-template.hbs
cargo run --release --features runtime-benchmarks -- benchmark pallet \
--chain dev \
--wasm-execution compiled \
--pallet "pallet-department-funding" \
--extrinsic "*" \
--steps 50 \
--repeat 20 \
--output custom-pallets/department-funding/src/weights.rs --template=./.maintain/frame-weight-template.hbs
cargo run --release --features runtime-benchmarks -- benchmark pallet \
--chain dev \
--wasm-execution compiled \
--pallet "pallet-template" \
--extrinsic "*" \
--steps 50 \
--repeat 20 \
--output pallets/template/src/weights.rs --template=./.maintain/frame-weight-template.hbs
./target/release/node-template benchmark pallet --chain dev --pallet "pallet_template" --extrinsic "*" --steps=50 --repeat=20 --wasm-execution=compiled --output pallets/template/src/weights.rs --template=./.maintain/frame-weight-template.hbs