Unverified Commit 27b201ac authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

Expose more benchmarks (Scheduler, Elections) (#1128)



* More benchmarks

* Apply suggestions from code review

* update cargo

Co-authored-by: default avatarGavin Wood <gavin@parity.io>
parent f65ca0c6
Pipeline #93733 passed with stages
in 25 minutes and 58 seconds
......@@ -155,6 +155,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",
......
......@@ -1095,9 +1095,11 @@ sp_api::impl_runtime_apis! {
add_benchmark!(params, batches, b"balances", Balances);
add_benchmark!(params, batches, b"collective", Council);
add_benchmark!(params, batches, b"democracy", Democracy);
add_benchmark!(params, batches, b"elections-phragmen", ElectionsPhragmen);
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>);
......
......@@ -148,6 +148,7 @@ runtime-benchmarks = [
"democracy/runtime-benchmarks",
"elections-phragmen/runtime-benchmarks",
"im-online/runtime-benchmarks",
"scheduler/runtime-benchmarks",
"staking/runtime-benchmarks",
"timestamp/runtime-benchmarks",
"treasury/runtime-benchmarks",
......
......@@ -1012,8 +1012,10 @@ sp_api::impl_runtime_apis! {
add_benchmark!(params, batches, b"balances", Balances);
add_benchmark!(params, batches, b"collective", Council);
add_benchmark!(params, batches, b"democracy", Democracy);
add_benchmark!(params, batches, b"elections-phragmen", ElectionsPhragmen);
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>);
......
......@@ -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>);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment