benchmark

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InitCommandRunning events.EventType = "init_command_running"
	RunCommandRunning  events.EventType = "run_command_running"
)

Variables

This section is empty.

Functions

func Init

func Init(config *models.BenchmarkConfig) error

Init initializes a target database using pgbench

func ParseOutput

func ParseOutput(output string) (*models.Benchmark, error)

ParseOutput parses the output of the pgbench command (always gets run with -M extended)

func Run

Run executes the pgbench command with the provided configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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