This performance tool is no longer maintained
For Serving performance testing visit https://github.com/knative/serving/tree/main/test/performance
A Knative Load Test Tool
Please NOTE this project is under rapid development. Kperf is designed for Knative Load test. It helps to generate workload like Knative services and gives measurement result about underneath resource create time duration based on server side timestamps, and give statics and raw measurement result, to help Knative developers or operators to figure out Knative platform stability, scalability and performance bottleneck.
# format and build kperf
$ cd {workspace}/src/knative.dev/kperf
$ ./hack/build.sh
# Move kperf
$ mv kperf /usr/local/bin/
$ kperf service --help Knative service load test and measurement. For example: kperf service measure --range 1,10, --name perf - to measure 10 Knative service named perf-x in perf-x namespace Usage: kperf service [command] Available Commands: clean clean ksvc generate generate Knative Service help Help about any command load Load test and Measure Knative service measure Measure Knative service scale Scale and Measure Knative service Flags: -h, --help help for service Global Flags: --config string kperf configuration file (default "/home/ubuntu/.config/kperf/config.yaml") Use "kperf service [command] --help" for more information about a command.
See the docs for more details on how to run the individual commands.