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:
Shawn Tabrizi
2020-05-22 13:58:08 +02:00
committed by GitHub
parent aa13e5df14
commit 55d41a255b
6 changed files with 8 additions and 0 deletions
+2
View File
@@ -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>);