Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkWatchWebsocket (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/watch_test.go

    		simpleStorage.fakeWatch.Action(actions[i%len(actions)], items[i%len(items)])
    	}
    	simpleStorage.fakeWatch.Stop()
    	wg.Wait()
    	b.StopTimer()
    }
    
    // BenchmarkWatchWebsocket measures the cost of serving a watch.
    func BenchmarkWatchWebsocket(b *testing.B) {
    	items := benchmarkItems(b)
    
    	simpleStorage := &SimpleRESTStorage{}
    	handler := handle(map[string]rest.Storage{"simples": simpleStorage})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 30 17:27:39 UTC 2023
    - 30K bytes
    - Viewed (0)
Back to top