Add runtime-benchmarks for frame-benchmarking (#10324)

* update frame/benchmarking/src/baseline.rs

* add runtime-benchmarks feature

* add runtime-benchmarks for frame-benchmarking

* update frame-benchmarking/runtime-benchmarks

* trigger GitHub actions
This commit is contained in:
zjb0807
2021-11-30 21:15:52 +08:00
committed by GitHub
parent a01004e143
commit b5ed64684d
35 changed files with 36 additions and 33 deletions
@@ -18,6 +18,8 @@
//! A set of benchmarks which can establish a global baseline for all other
//! benchmarking.
#![cfg(feature = "runtime-benchmarks")]
use crate::benchmarks;
use codec::Encode;
use frame_system::Pallet as System;