mirror of
https://github.com/libp2p/go-eventbus.git
synced 2025-01-13 02:00:06 +08:00
Reduce number of samples
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
d2cb2a10b6
commit
facb8f2fed
@ -376,8 +376,8 @@ func (bc benchCase) name() string {
|
||||
func genTestCases() []benchCase {
|
||||
ret := make([]benchCase, 0, 200)
|
||||
for stateful := 0; stateful < 2; stateful++ {
|
||||
for subs := uint(0); subs <= 8; subs = subs + 2 {
|
||||
for emits := uint(0); emits <= 8; emits = emits + 2 {
|
||||
for subs := uint(0); subs <= 8; subs = subs + 4 {
|
||||
for emits := uint(0); emits <= 8; emits = emits + 4 {
|
||||
ret = append(ret, benchCase{1 << subs, 1 << emits, stateful == 1})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user