MCPcopy
hub / github.com/grpc/grpc-go / printHeader

Function printHeader

benchmark/benchresult/main.go:104–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102}
103
104func printHeader() {
105 fmt.Printf("%-80s%12s%12s%12s%18s%18s%18s%18s%12s%12s%12s%12s\n",
106 "Name", "TotalOps", "SendOps", "RecvOps", "Bytes/op (B)", "Allocs/op (#)",
107 "RequestT", "ResponseT", "L-50", "L-90", "L-99", "L-Avg")
108}
109
110func printline(benchName string, d stats.RunData) {
111 fmt.Printf("%-80s%12d%12d%12d%18.2f%18.2f%18.2f%18.2f%12v%12v%12v%12v\n",

Callers 1

formatBenchmarkFunction · 0.85

Calls 1

PrintfMethod · 0.65

Tested by

no test coverage detected