Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for benchmarkGridStreamRespOnly (0.13 sec)

  1. internal/grid/benchmark_test.go

    		{name: "responses", fn: benchmarkGridStreamRespOnly},
    		{name: "twoway", fn: benchmarkGridStreamTwoway},
    	}
    	for _, test := range tests {
    		b.Run(test.name, func(b *testing.B) {
    			for n := 2; n <= 32; n *= 2 {
    				b.Run("servers="+strconv.Itoa(n), func(b *testing.B) {
    					test.fn(b, n)
    				})
    			}
    		})
    	}
    }
    
    func benchmarkGridStreamRespOnly(b *testing.B, n int) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top