Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkServiceDeepCopy (0.25 sec)

  1. pilot/pkg/model/service_test.go

    				)
    			}
    		})
    	}
    }
    
    func BenchmarkBuildSubsetKey(b *testing.B) {
    	for n := 0; n < b.N; n++ {
    		_ = BuildSubsetKey(TrafficDirectionInbound, "v1", "someHost", 80)
    	}
    }
    
    func BenchmarkServiceDeepCopy(b *testing.B) {
    	svc1 := buildHTTPService("test.com", visibility.Public, "10.10.0.1", "default", 80, 8080, 9090, 9999)
    	svc1.ServiceAccounts = []string{"sa1"}
    	svc1.ClusterVIPs = AddressMap{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top