- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for trimOutput (0.1 sec)
-
src/go/doc/testdata/benchmark.go
if len(b.output) > 0 { b.trimOutput() fmt.Printf("--- BENCH: %s\n%s", benchName, b.output) } if p := runtime.GOMAXPROCS(-1); p != procs { fmt.Fprintf(os.Stderr, "testing: %s left GOMAXPROCS set to %d\n", benchName, p) } } } } // trimOutput shortens the output from a benchmark, which can be very long. func (b *B) trimOutput() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 7.4K bytes - Viewed (0)