Skip to content

Commit

Permalink
Drop collecting performance data in release branch (#12672)
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Feb 25, 2022
1 parent b67c091 commit 3f603cd
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions test/e2e-tests.sh
Expand Up @@ -146,31 +146,4 @@ fi
# This is for preventing too many large log files to be uploaded to GCS in CI.
rm "${ARTIFACTS}/k8s.log-$(basename "${E2E_SCRIPT}").txt"

header "Collecting performance data"

cat <<EOF | ko apply $(ko_flags) -f -
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: podspeed
spec:
template:
metadata:
annotations:
autoscaling.knative.dev/minScale: "1"
spec:
containers:
- image: ko://knative.dev/serving/test/test_images/helloworld
EOF

kubectl wait ksvc/podspeed --for=condition=Ready

template=$(mktemp)
kubectl get pods -lserving.knative.dev/service=podspeed -ojson | jq '.items[0]' > "$template"

run_go_tool github.com/markusthoemmes/podspeed/cmd/podspeed@358209f podspeed --prepull -pods 100 -template "$template" > "${ARTIFACTS}/pod-bringup-performance.txt"
cat "${ARTIFACTS}/pod-bringup-performance.txt"

kubectl delete ksvc podspeed

success

0 comments on commit 3f603cd

Please sign in to comment.