Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

benchmarks: Add benchmark for block time to bank module #1332

Merged
merged 9 commits into from
Jun 27, 2018
Prev Previous commit
Next Next commit
Fix spelling
  • Loading branch information
ValarDragon committed Jun 27, 2018
commit b654fad5bf4f282e3fe78a202624da18fdce31ca
2 changes: 1 addition & 1 deletion x/bank/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func BenchmarkOneBankSendTxPerBlock(b *testing.B) {
txs := mock.GenSequenceOfTxs([]sdk.Msg{sendMsg1}, []int64{0}, []int64{int64(0)}, b.N, priv1)
b.ResetTimer()
// Run this with a profiler, so its easy to distinguish what time comes from
// Commiting, and what time comes from Check/Deliver Tx.
// Committing, and what time comes from Check/Deliver Tx.
for i := 0; i < b.N; i++ {
benchmarkApp.BeginBlock(abci.RequestBeginBlock{})
x := benchmarkApp.Check(txs[i])
Expand Down