Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

knative-extensions/kperf

kperf

This performance tool is no longer maintained

For Serving performance testing visit https://github.com/knative/serving/tree/main/test/performance

This component is ALPHA

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.

Build and install kperf

# format and build kperf
$ cd {workspace}/src/knative.dev/kperf
$ ./hack/build.sh

# Move kperf
$ mv kperf /usr/local/bin/

Using Kperf

$ 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.

About

A benchmarking tool to evaluate Knative performance

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published