Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add benchmarking for parachain runtime configuration pallet #3862

Merged
17 commits merged into from
Sep 18, 2021

Conversation

KiChjang
Copy link
Contributor

Part of #3850.

@KiChjang KiChjang added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. labels Sep 16, 2021
@KiChjang
Copy link
Contributor Author

/benchmark runtime westend runtime_parachains::configuration

@parity-benchapp
Copy link

parity-benchapp bot commented Sep 16, 2021

Benchmark Runtime Westend Pallet for branch "kckyeung/parachains-configuration-benchmarking" with command cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs

Results
error[E0220]: associated type `WeightInfo` not found for `T`
   --> runtime/parachains/src/configuration.rs:316:23
    |
316 |         #[pallet::weight(T::WeightInfo::set_validation_upgrade_frequency())]
    |                             ^^^^^^^^^^ associated type `WeightInfo` not found

error[E0308]: mismatched types
   --> runtime/parachains/src/configuration.rs:313:12
    |
313 |     #[pallet::call]
    |               ^^^^ expected trait `ClassifyDispatch`, found trait `WeighData`
    |
    = note: expected reference `&dyn ClassifyDispatch<(&<T as frame_system::Config>::BlockNumber,)>`
               found reference `&dyn WeighData<(&<T as frame_system::Config>::BlockNumber,)>`

error[E0308]: mismatched types
   --> runtime/parachains/src/configuration.rs:313:12
    |
313 |     #[pallet::call]
    |               ^^^^ expected trait `PaysFee`, found trait `WeighData`
    |
    = note: expected reference `&dyn PaysFee<(&<T as frame_system::Config>::BlockNumber,)>`
               found reference `&dyn WeighData<(&<T as frame_system::Config>::BlockNumber,)>`

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0220, E0308.
For more information about an error, try `rustc --explain E0220`.
error: could not compile `polkadot-runtime-parachains`

To learn more, run the command again with --verbose.
error: build failed

ERROR: Unable to commit file ./runtime/westend/src/weights/runtime_parachains_configuration.rs

@KiChjang
Copy link
Contributor Author

/benchmark runtime westend runtime_parachains::configuration

@KiChjang
Copy link
Contributor Author

/benchmark runtime westend runtime_parachains::configuration

@parity-benchapp
Copy link

parity-benchapp bot commented Sep 16, 2021

Benchmark Runtime Westend Pallet for branch "kckyeung/parachains-configuration-benchmarking" with command cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs

Results
Pallet: "runtime_parachains::configuration", Extrinsic: "set_validation_upgrade_frequency", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:0)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.127
              µs

Reads = 3
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.127
              µs

Reads = 3
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_validation_upgrade_delay", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:0)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.294
              µs

Reads = 3
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.294
              µs

Reads = 3
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_code_retention_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.98
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.98
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_code_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=       13
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=       13
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_pov_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.98
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.98
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_head_data_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.93
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.93
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_parathread_cores", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.91
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.91
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_parathread_retries", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.93
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.93
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_group_rotation_frequency", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.92
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.92
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_chain_availability_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.85
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.85
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_thread_availability_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.04
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.04
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_scheduling_lookahead", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.94
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.94
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_validators_per_core", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.08
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.08
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_validators", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.08
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.08
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_dispute_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.88
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.88
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_dispute_post_conclusion_acceptance_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.88
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.88
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_dispute_max_spam_slots", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.94
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.94
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_dispute_conclusion_by_time_out_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.83
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.83
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_no_show_slots", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.92
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.92
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_n_delay_tranches", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.01
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.01
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_zeroth_delay_tranche_width", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.05
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.05
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_needed_approvals", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.93
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.93
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_relay_vrf_modulo_samples", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.02
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.02
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_upward_queue_count", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.93
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.93
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_upward_queue_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.91
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.91
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_downward_message_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:0)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.444
              µs

Reads = 3
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.444
              µs

Reads = 3
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_ump_service_total_weight", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.98
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.98
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_upward_message_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.93
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.93
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_upward_message_num_per_candidate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.08
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.08
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_open_request_ttl", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Benchmark Override (r:0 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=  2000000
              µs

Reads = 0
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=  2000000
              µs

Reads = 0
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_sender_deposit", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.05
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.05
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_recipient_deposit", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=     12.8
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=     12.8
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_channel_max_capacity", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.97
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.97
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_channel_max_total_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.96
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.96
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_max_parachain_inbound_channels", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.04
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.04
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_max_parathread_inbound_channels", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.94
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.94
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_channel_max_message_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.91
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.91
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_max_parachain_outbound_channels", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.91
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.91
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_max_parathread_outbound_channels", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.71
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.71
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_max_message_num_per_candidate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.77
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.77
              µs

Reads = 3
Writes = 1


Parity Bot added 2 commits September 16, 2021 09:25
…kckyeung/parachains-configuration-benchmarking
…k --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs
@parity-benchapp
Copy link

parity-benchapp bot commented Sep 16, 2021

Benchmark Runtime Westend Pallet for branch "kckyeung/parachains-configuration-benchmarking" with command cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs

Results
Pallet: "runtime_parachains::configuration", Extrinsic: "set_validation_upgrade_frequency", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:0)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.235
              µs

Reads = 3
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.235
              µs

Reads = 3
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_validation_upgrade_delay", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:0)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.251
              µs

Reads = 3
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.251
              µs

Reads = 3
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_code_retention_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.61
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.61
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_code_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.64
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.64
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_pov_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.62
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.62
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_head_data_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.66
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.66
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_parathread_cores", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.74
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.74
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_parathread_retries", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.62
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.62
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_group_rotation_frequency", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.59
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.59
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_chain_availability_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.64
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.64
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_thread_availability_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.69
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.69
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_scheduling_lookahead", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.64
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.64
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_validators_per_core", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.71
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.71
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_validators", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.59
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.59
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_dispute_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.57
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.57
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_dispute_post_conclusion_acceptance_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.71
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.71
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_dispute_max_spam_slots", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.58
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.58
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_dispute_conclusion_by_time_out_period", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.67
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.67
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_no_show_slots", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.63
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.63
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_n_delay_tranches", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.74
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.74
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_zeroth_delay_tranche_width", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.59
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.59
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_needed_approvals", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=     12.7
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=     12.7
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_relay_vrf_modulo_samples", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.75
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.75
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_upward_queue_count", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.54
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.54
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_upward_queue_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.56
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.56
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_downward_message_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:0)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.161
              µs

Reads = 3
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.161
              µs

Reads = 3
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_ump_service_total_weight", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.68
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.68
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_upward_message_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.45
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.45
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_max_upward_message_num_per_candidate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=     12.6
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=     12.6
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_open_request_ttl", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Benchmark Override (r:0 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=  2000000
              µs

Reads = 0
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=  2000000
              µs

Reads = 0
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_sender_deposit", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.56
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.56
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_recipient_deposit", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.63
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.63
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_channel_max_capacity", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.55
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.55
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_channel_max_total_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.52
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.52
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_max_parachain_inbound_channels", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.65
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.65
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_max_parathread_inbound_channels", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.77
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.77
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_channel_max_message_size", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=     12.7
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=     12.7
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_max_parachain_outbound_channels", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.62
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.62
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_max_parathread_outbound_channels", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.62
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.62
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_max_message_num_per_candidate", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.49
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.49
              µs

Reads = 3
Writes = 1


@KiChjang
Copy link
Contributor Author

/benchmark runtime kusama runtime_parachains::configuration

…k --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs
Copy link
Member

@shawntabrizi shawntabrizi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@KiChjang
Copy link
Contributor Author

/benchmark runtime kusama runtime_parachains::configuration

@parity-benchapp
Copy link

parity-benchapp bot commented Sep 17, 2021

Benchmark Runtime Kusama Pallet for branch "kckyeung/parachains-configuration-benchmarking" with command cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_configuration.rs

Results
Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_block_number", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:0)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.511
              µs

Reads = 3
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    9.511
              µs

Reads = 3
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_u32", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=     13.2
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=     13.2
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_option_u32", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.47
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.47
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_weight", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.42
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.42
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_open_request_ttl", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Benchmark Override (r:0 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=  2000000
              µs

Reads = 0
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=  2000000
              µs

Reads = 0
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_balance", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.41
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    13.41
              µs

Reads = 3
Writes = 1


Parity Bot and others added 4 commits September 17, 2021 06:51
…kckyeung/parachains-configuration-benchmarking
…k --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_configuration.rs
@KiChjang
Copy link
Contributor Author

/benchmark runtime kusama runtime_parachains::configuration

@parity-benchapp
Copy link

parity-benchapp bot commented Sep 17, 2021

Benchmark Runtime Kusama Pallet for branch "kckyeung/parachains-configuration-benchmarking" with command cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_configuration.rs

Results
Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_block_number", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.37
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.37
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_u32", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.38
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.38
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_option_u32", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.74
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.74
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_weight", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.56
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.56
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_open_request_ttl", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Benchmark Override (r:0 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=  2000000
              µs

Reads = 0
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=  2000000
              µs

Reads = 0
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_balance", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.64
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.64
              µs

Reads = 3
Writes = 1


…k --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_configuration.rs
@KiChjang
Copy link
Contributor Author

/benchmark runtime westend runtime_parachains::configuration

@parity-benchapp
Copy link

parity-benchapp bot commented Sep 17, 2021

Benchmark Runtime Westend Pallet for branch "kckyeung/parachains-configuration-benchmarking" with command cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs

Results
Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_block_number", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.79
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.79
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_u32", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.75
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.75
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_option_u32", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.86
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.86
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_weight", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.85
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.85
              µs

Reads = 3
Writes = 1

Pallet: "runtime_parachains::configuration", Extrinsic: "set_hrmp_open_request_ttl", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: Benchmark Override (r:0 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=  2000000
              µs

Reads = 0
Writes = 0

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=  2000000
              µs

Reads = 0
Writes = 0

Pallet: "runtime_parachains::configuration", Extrinsic: "set_config_with_balance", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
Raw Storage Info
========
Storage: ParasShared CurrentSessionIndex (r:1 w:0)
Storage: Configuration PendingConfig (r:1 w:1)
Storage: Configuration ActiveConfig (r:1 w:0)

Median Slopes Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.83
              µs

Reads = 3
Writes = 1

Min Squares Analysis
========
-- Extrinsic Time --

Model:
Time ~=    12.83
              µs

Reads = 3
Writes = 1


…k --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs
@KiChjang
Copy link
Contributor Author

bot merge

@ghost
Copy link

ghost commented Sep 18, 2021

Trying merge.

@ghost ghost merged commit 4c54766 into master Sep 18, 2021
@ghost ghost deleted the kckyeung/parachains-configuration-benchmarking branch September 18, 2021 09:57
ordian added a commit that referenced this pull request Sep 20, 2021
* master:
  Bump `parity-util-mem` to 0.10.2 (#3897)
  Revert "remove connected disconnected state only (#3868)" (#3896)
  Companion for Generate storage info for pallet im_online #9654 (#3744)
  Gather memory usage statistics through `parity-util-mem` (#3893)
  ci: cache seed in fuzzer job (#3885)
  Add benchmarking for parachain runtime configuration pallet (#3862)
  Run fmt (#3887)
  remove connected disconnected state only (#3868)
ordian added a commit that referenced this pull request Sep 21, 2021
* master:
  weights: pallet-staking & pallet-bags-list (#3872)
  Re-enable metadata compare CI check (#3895)
  Bump `parity-util-mem` to 0.10.2 (#3897)
  Revert "remove connected disconnected state only (#3868)" (#3896)
  Companion for Generate storage info for pallet im_online #9654 (#3744)
  Gather memory usage statistics through `parity-util-mem` (#3893)
  ci: cache seed in fuzzer job (#3885)
  Add benchmarking for parachain runtime configuration pallet (#3862)
  Run fmt (#3887)
  remove connected disconnected state only (#3868)
  Dispute distribution improvements (#3853)
  Companion for Store voters in unsorted bags to get good stake iteration properties (#3413)
  Add info logging to dispute activation (#3870)
  update Rococo.json (#3871)
  Companion for #9764 (Force Unreserve) (#3840)
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants