Versions in this module Expand all Collapse all v1 v1.0.1 Jun 10, 2024 v1.0.0 Jun 7, 2024 Changes in this version + type Metrics struct + CompactionCounts struct{ ... } + EstimatedDebt SampledMetric + Final *pebble.Metrics + Ingest struct{ ... } + PaceDuration time.Duration + QuiesceDuration time.Duration + ReadAmp SampledMetric + TombstoneCount SampledMetric + TotalSize SampledMetric + TotalWriteAmp float64 + WorkloadDuration time.Duration + WriteBytes uint64 + WriteStalls map[string]int + WriteStallsDuration map[string]time.Duration + WriteThroughput SampledMetric + func (m *Metrics) Plots(width, height int) []Plot + func (m *Metrics) WriteBenchmarkString(name string, w io.Writer) error + type PaceByFixedReadAmp int + type PaceByReferenceReadAmp struct + type Pacer interface + type Plot struct + Name string + Plot string + type Runner struct + MaxWriteBytes uint64 + Opts *pebble.Options + Pacer Pacer + RunDir string + WorkloadFS vfs.FS + WorkloadPath string + func (r *Runner) Close() error + func (r *Runner) Run(ctx context.Context) error + func (r *Runner) Wait() (Metrics, error) + type SampledMetric struct + func (m *SampledMetric) Max() int64 + func (m *SampledMetric) Mean() float64 + func (m *SampledMetric) Min() int64 + func (m *SampledMetric) Plot(width, height int, scale float64) string + func (m *SampledMetric) PlotIncreasingPerSec(width, height int, scale float64) string + func (m *SampledMetric) Values(n int) []float64 + type Unpaced struct + type WorkloadCollector struct + func NewWorkloadCollector(srcDir string) *WorkloadCollector + func (w *WorkloadCollector) Attach(opts *pebble.Options) + func (w *WorkloadCollector) IsRunning() bool + func (w *WorkloadCollector) Start(destFS vfs.FS, destPath string) + func (w *WorkloadCollector) Stop() + func (w *WorkloadCollector) WaitAndStop()