kperf

module
v0.0.0-...-52bff85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: Apache-2.0

README

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.

Directories

Path Synopsis
cmd
pkg
third_party
VENDOR-LICENSE/github.com/hashicorp/hcl
Package hcl decodes HCL into usable Go structures.
Package hcl decodes HCL into usable Go structures.
VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/ast
Package ast declares the types used to represent syntax trees for HCL (HashiCorp Configuration Language)
Package ast declares the types used to represent syntax trees for HCL (HashiCorp Configuration Language)
VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/parser
Package parser implements a parser for HCL (HashiCorp Configuration Language)
Package parser implements a parser for HCL (HashiCorp Configuration Language)
VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/printer
Package printer implements printing of AST nodes to HCL format.
Package printer implements printing of AST nodes to HCL format.
VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/scanner
Package scanner implements a scanner for HCL (HashiCorp Configuration Language) source text.
Package scanner implements a scanner for HCL (HashiCorp Configuration Language) source text.
VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/token
Package token defines constants representing the lexical tokens for HCL (HashiCorp Configuration Language)
Package token defines constants representing the lexical tokens for HCL (HashiCorp Configuration Language)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL