Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Test = Params{ Procs: []int{1, 2, 3, 4, 8, 16, 32, 64}, Bounds: []int{1, 2, 3, 4, 5, 6, 7, 8}, WorkStart: []int{0}, WorkDo: []int{0}, WorkFinish: []int{0}, } Bench = Params{ Procs: []int{1, 4, 32, 256}, Bounds: []int{4, 8, 16, 64}, WorkStart: []int{0}, WorkDo: []int{0}, WorkFinish: []int{0, 100}, } )
Functions ¶
func RunBenchmarks ¶
func StartClose ¶
func StartClose(c Combiner) func()
Types ¶
type AsyncCombiner ¶
type AsyncCombiner interface { Combiner DoAsync(op interface{}) }
type Setup ¶
type Setup struct { Name string Create func(exe Batcher, bound int) Combiner Bounds int Procs int WorkStart int WorkDo int WorkFinish int }
Click to show internal directories.
Click to hide internal directories.