Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkStoreList (0.79 sec)

  1. pilot/pkg/config/memory/store_test.go

    	b.ResetTimer()
    	for n := 0; n < b.N; n++ {
    		// get one thousand times
    		for i := 0; i < 1000; i++ {
    			if s.Get(gvk, strconv.Itoa(i), "ns") == nil {
    				b.Fatal("get failed")
    			}
    		}
    	}
    }
    
    func BenchmarkStoreList(b *testing.B) {
    	s := initStore(b)
    	gvk := config.GroupVersionKind{
    		Group:   "networking.istio.io",
    		Version: "v1alpha3",
    		Kind:    "ServiceEntry",
    	}
    	b.ResetTimer()
    	for n := 0; n < b.N; n++ {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 26 01:14:27 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top