baseline

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Baseline

type Baseline struct {
	Endpoints map[string]EndpointBaseline `json:"endpoints"`
}

func Create

func Create(records []report.Record) *Baseline

func Load

func Load(path string) (*Baseline, error)

func (*Baseline) Lookup

func (b *Baseline) Lookup(provider, model string) (EndpointBaseline, bool)

func (*Baseline) Save

func (b *Baseline) Save(path string) error

type EndpointBaseline

type EndpointBaseline struct {
	TTFTP50    float64 `json:"ttft_p50_ms"`
	LatencyP50 float64 `json:"latency_p50_ms"`
}

Jump to

Keyboard shortcuts

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