Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkUpdateProtobuf (0.71 sec)

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

    }
    
    func readBodyOrDie(r io.Reader) []byte {
    	body, err := ioutil.ReadAll(r)
    	if err != nil {
    		panic(err)
    	}
    	return body
    }
    
    // BenchmarkUpdateProtobuf measures the cost of processing an update on the server in proto
    func BenchmarkUpdateProtobuf(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: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
Back to top