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 TabriziandGavin Wood authored and GitHub committed 2020-05-22 13:58:08 +02:00
1 parent aa13e5df14
commit 55d41a255b
6 files changed
+8

No files matched your search

+1
View File
@@ -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>);