benchmark

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintResultsTable

func PrintResultsTable(results []BenchmarkResult)

func Run

func Run()

func SaveResultsToCSV

func SaveResultsToCSV(filename string, results []BenchmarkResult) error

Types

type BenchmarkResult

type BenchmarkResult struct {
	Engine   string
	Scenario string
	KeyCount int
	SetRPS   float64
	GetRPS   float64
	SetP50   float64
	GetP50   float64
}

type Config

type Config struct {
	Engines   []string
	KeyCounts []int
	Port      int
	CSVPath   string
	Scenarios []Scenario
}

func ParseConfig

func ParseConfig() *Config

type Scenario

type Scenario struct {
	Name string
	Args []string
}

Jump to

Keyboard shortcuts

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