mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 04:41:03 +00:00
Expose more benchmarks (Scheduler, Elections) (#1128)
* More benchmarks * Apply suggestions from code review * update cargo Co-authored-by: Gavin Wood <gavin@parity.io>
This commit is contained in:
@@ -158,6 +158,7 @@ runtime-benchmarks = [
|
||||
"elections-phragmen/runtime-benchmarks",
|
||||
"identity/runtime-benchmarks",
|
||||
"im-online/runtime-benchmarks",
|
||||
"scheduler/runtime-benchmarks",
|
||||
"society/runtime-benchmarks",
|
||||
"staking/runtime-benchmarks",
|
||||
"timestamp/runtime-benchmarks",
|
||||
|
||||
@@ -890,6 +890,7 @@ sp_api::impl_runtime_apis! {
|
||||
add_benchmark!(params, batches, b"identity", Identity);
|
||||
add_benchmark!(params, batches, b"im-online", ImOnline);
|
||||
add_benchmark!(params, batches, b"offences", OffencesBench::<Runtime>);
|
||||
add_benchmark!(params, batches, b"scheduler", Scheduler);
|
||||
add_benchmark!(params, batches, b"session", SessionBench::<Runtime>);
|
||||
add_benchmark!(params, batches, b"staking", Staking);
|
||||
add_benchmark!(params, batches, b"system", SystemBench::<Runtime>);
|
||||
|
||||
Reference in New Issue
Block a user