- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MemString (0.12 sec)
-
src/testing/benchmark.go
case y >= 0.00099995: format = "%17.6f %s" default: format = "%18.7f %s" } fmt.Fprintf(w, format, x, unit) } // MemString returns r.AllocedBytesPerOp and r.AllocsPerOp in the same format as 'go test'. func (r BenchmarkResult) MemString() string { return fmt.Sprintf("%8d B/op\t%8d allocs/op", r.AllocedBytesPerOp(), r.AllocsPerOp()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*T).Skipped", Method, 1}, {"(*T).TempDir", Method, 15}, {"(BenchmarkResult).AllocedBytesPerOp", Method, 1}, {"(BenchmarkResult).AllocsPerOp", Method, 1}, {"(BenchmarkResult).MemString", Method, 1}, {"(BenchmarkResult).NsPerOp", Method, 0}, {"(BenchmarkResult).String", Method, 0}, {"AllocsPerRun", Func, 1}, {"B", Type, 0}, {"B.N", Field, 0}, {"Benchmark", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)