benchmark

package
v0.0.0-...-8a6a3e7 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Benchmark

type Benchmark struct {
	Server     string        `clop:"short;long" usage:"server address" valid:"required"`
	Put        bool          `clop:"short;long" usage:"create file"`
	Concurrent int           `clop:"short;long" usage:"Concurrent" default:"10"`
	Number     int           `clop:"short;long" usage:"number"`
	Body       string        `clop:"short;long" usage:"body"`
	Durations  time.Duration `clop:"short;long" usage:"duration"`
}

func (*Benchmark) SubMain

func (b *Benchmark) SubMain()

Jump to

Keyboard shortcuts

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