mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 14:01:06 +00:00
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:
@@ -44,3 +44,4 @@ std = [
|
||||
"linregress",
|
||||
"log/std",
|
||||
]
|
||||
runtime-benchmarks = []
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user