Skip to content

Commit

Permalink
fixing print in 'benchmarks/sequencer/../metrics'
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay Nedkov <[email protected]>
  • Loading branch information
Psykepro committed Aug 24, 2023
1 parent 12e7228 commit c40b8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/benchmarks/sequencer/common/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func PrintSummary(
fmt.Printf("- Executor Time Percentage from Total: %.2f%%\n\n", (processingTimeExecutor/processingTimeSequencer)*oneHundred)
fmt.Println("Metrics:")
fmt.Printf("- Transactions per Second: %.2f\n", float64(totalTxs)/processingTimeSequencer)
fmt.Printf("(only for predefinded transactions - excluding the random transactions)")
fmt.Printf("-- the rest of the metrics are only for predefined transactions - excluding the random transactions --\n")
fmt.Printf("- Gas per Second: %.2f\n", float64(totalGas)/processingTimeSequencer)
fmt.Printf("- Total Gas Used: %d\n", totalGas)
fmt.Printf("- Average Gas Used per Transaction: %d\n\n", totalGas/totalTxs)
Expand Down

0 comments on commit c40b8dd

Please sign in to comment.