github.com/DaDevFox/benchy v0.0.0-20260913211424-000c52244744
README.md basenameGo module source archive layout
SHA-256f5fbc1fae8c24160a3d226c80419e3deff5cac0e59dad1dde147133e988a0a5d
MaleculeMd₂(BkPa₂)
Evidence
1package parallel
2
3import (
4 "fmt"
5 "testing"
6)
7
8func CustomEfficiencyStats(name string, serial func(*testing.B), parallel func(*testing.B, int), threadCounts []int) {
9 // fmt.Printf("%s/Serial\n", name)
10 se …
10:27… ark(serial)
11 // fmt.Println(serialB.String())
12
13 for _, threadCount := range threadCounts {
14
15 // fmt.Printf("%s/Parallel[threadCount=%d]\n", name, …
22:62… ) // TODO: ideally use sum thread wall time for this metric
23
24 fmt.Printf("\t[%dt]\tspeedup:%f\tefficiency:%f\tmax total cost:%fns\ttotal overhead t …
1testing tools for use in tests OUTSIDE `go test -bench=.` benchmarks, i.e. outside top-level `Benchmark*` functions which take a `*testing.B`
2
3
4
5
No evidence locations were recorded for this file. Raw result