From 70b19c9aa8de97d726f24c31915cb1d485a47c4e Mon Sep 17 00:00:00 2001 From: Wenqi Qiu Date: Thu, 28 Oct 2021 13:44:17 +0800 Subject: [PATCH] Address some comments Signed-off-by: Wenqi Qiu --- test/performance/benchmark.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/performance/benchmark.yml b/test/performance/benchmark.yml index 8fd510c0e10..24658a41218 100644 --- a/test/performance/benchmark.yml +++ b/test/performance/benchmark.yml @@ -9,19 +9,25 @@ benchmarks: - name: "BenchmarkInitXLargeScaleWithSmallNamespaces" package: "./pkg/controller/networkpolicy" threshold: 0.3 + version_requirement: ">1.3.0" - name: "BenchmarkInitXLargeScaleWithLargeNamespaces" package: "./pkg/controller/networkpolicy" threshold: 0.2 + version_requirement: ">1.3.0" - name: "BenchmarkInitXLargeScaleWithOneNamespace" package: "./pkg/controller/networkpolicy" threshold: 0.3 + version_requirement: ">1.3.0" - name: "BenchmarkInitXLargeScaleWithNetpolPerPod" package: "./pkg/controller/networkpolicy" threshold: 0.15 + version_requirement: ">1.3.0" - name: "BenchmarkInitXLargeScaleWithClusterScopedNetpol" package: "./pkg/controller/networkpolicy" + version_requirement: ">1.3.0" - name: "BenchmarkSyncAddressGroup" package: "./pkg/controller/networkpolicy" + version_requirement: ">1.3.0" - name: "BenchmarkCluster_ShouldSelect/Select_Node_from_1000_alive_Nodes-nodeSelectedForEgress" package: "./pkg/agent/memberlist" - name: "BenchmarkRuleCacheUnionAddressGroups" @@ -54,8 +60,7 @@ benchmarks: package: "./pkg/agent/openflow" - name: "BenchmarkIDAllocate" package: "./pkg/agent/openflow/cookie" - benchtime: 100x - threshold: 0.15 + threshold: 0.2 - name: "BenchmarkNormalizeGroupMemberPod" package: "./pkg/apis/controlplane" - name: "BenchmarkSymmetricDifferenceString"