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

Function printline

benchmark/benchresult/main.go:110–114  ·  view source on GitHub ↗
(benchName string, d stats.RunData)

Source from the content-addressed store, hash-verified

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",
112 benchName, d.TotalOps, d.SendOps, d.RecvOps, d.AllocedBytes, d.Allocs,
113 d.ReqT, d.RespT, d.Fiftieth, d.Ninetieth, d.NinetyNinth, d.Average)
114}
115
116func formatBenchmark(fileName string) {
117 f, err := os.Open(fileName)

Callers 1

formatBenchmarkFunction · 0.85

Calls 1

PrintfMethod · 0.65

Tested by

no test coverage detected