Add storage root recalculation time to benchmarks (#5035)

This commit is contained in:
Shawn Tabrizi
2020-02-24 18:07:38 +01:00
committed by GitHub
parent afa5861f3b
commit ad90ab7ec9
3 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ pub enum BenchmarkParameter {
/// Results from running benchmarks on a FRAME pallet.
/// Contains duration of the function call in nanoseconds along with the benchmark parameters
/// used for that benchmark result.
pub type BenchmarkResults = (Vec<(BenchmarkParameter, u32)>, u128);
pub type BenchmarkResults = (Vec<(BenchmarkParameter, u32)>, u128, u128);
sp_api::decl_runtime_apis! {
/// Runtime api for benchmarking a FRAME runtime.