cmd

package
v1.33.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

mkcmp

mkcmp (“minikube compare”) is a binary to compare the performance of two minikbue binaries. It takes in two minikube binaries, runs minikube start 3 times with each, and then outputs a comparison table in Markdown.

mkcmp takes in references to minikube binaries in two ways:

  1. Direct path to a minikube binary
  2. Reference to a PR number via pr://<PR number>, which will use the binary built at that PR

Sample usage:

make out/mkcmp
# Compare local minikube binary with binary built at PR 400
./out/mkcmp ./out/minikube pr://400

mkcmp is primarily used for our pr-bot, which comments mkcmp output on valid PRs example. To make changes to the pr-bot output, submitting a PR to change mkcmp code should be sufficient.

Note: STDOUT from mkcmp is exactly what is commented on github, so we want it to be in Markdown.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the mkcmp command

Types

This section is empty.

Jump to

Keyboard shortcuts

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