Skip to content

Commit 4f198d0

Browse files
authored
gateway: benchmark has same alignment for header and rows (#1133)
Minor formatting issue which caused the table to not be aligned. Test Plan: Ran the shared incantation with "--requests 1" and the table looked good.
1 parent 20c534f commit 4f198d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/src/gateway_benchmark.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ func printResults(results []endpointResult, requestCount *int) {
384384

385385
// Print each row
386386
for _, r := range results {
387-
fmt.Printf("%-20s | %-19s | %-19s | %-19s | %-19s | %-19s | %-19s | %-19s | %s\n",
387+
fmt.Printf("%-25s | %-19s | %-19s | %-19s | %-19s | %-19s | %-19s | %-19s | %s\n",
388388
r.name,
389389
formatDuration(r.avg, r.avg == bestAvg, r.avg == worstAvg),
390390
formatDuration(r.median, r.median == bestMedian, r.median == worstMedian),

0 commit comments

Comments
 (0)