update timings only on outer call (#16275)

* update timings only on outer call

* test & format
This commit is contained in:
Jeff Washington (jwash)
2021-03-31 18:02:59 -05:00
committed by GitHub
parent c723251575
commit 416312b30b
2 changed files with 28 additions and 13 deletions

View File

@ -24,7 +24,8 @@ fn bench_verify_account_changes_data(bencher: &mut Bencher) {
false,
&Rent::default(),
&post,
&mut ExecuteDetailsTimings::default()
&mut ExecuteDetailsTimings::default(),
false,
),
Ok(())
);
@ -37,6 +38,7 @@ fn bench_verify_account_changes_data(bencher: &mut Bencher) {
&Rent::default(),
&post,
&mut ExecuteDetailsTimings::default(),
false,
)
.unwrap();
});
@ -60,6 +62,7 @@ fn bench_verify_account_changes_data(bencher: &mut Bencher) {
&Rent::default(),
&post,
&mut ExecuteDetailsTimings::default(),
false,
)
.unwrap();
});