Measure per byte and not kb for certain benchmarks (#10863)

This commit is contained in:
Alexander Theißen
2022-02-16 11:49:31 +01:00
committed by GitHub
parent 6b7eb2e2d7
commit 1a744befd4
5 changed files with 667 additions and 670 deletions
+1 -1
View File
@@ -1998,7 +1998,7 @@ fn reinstrument_does_charge() {
assert!(result2.gas_consumed > result1.gas_consumed);
assert_eq!(
result2.gas_consumed,
result1.gas_consumed + <Test as Config>::WeightInfo::reinstrument(code_len / 1024),
result1.gas_consumed + <Test as Config>::WeightInfo::reinstrument(code_len),
);
});
}