bench

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BenchCommand

type BenchCommand struct {
	Database         string `cli:"required,short=d,env=DATABASE_URL"`
	TemplateFilename string `cli:"short=t"`
	Conns            int    `cli:"short=j,help=number of concurrent connections/goroutines"`
	TxnPerConn       int    `cli:"short=n,help=number of transactions per connection"`
	RowsPerTxn       int    `cli:"short=r,help=number of rows per transaction"`
}

func NewBenchCommand

func NewBenchCommand() *BenchCommand

func (*BenchCommand) Run

func (cmd *BenchCommand) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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