profiler

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PhaseTiming

type PhaseTiming struct {
	Service  string
	Phase    model.ServicePhase
	Start    time.Time
	End      time.Time
	Duration time.Duration
}

PhaseTiming is the duration a service spent in/at a phase transition.

type ServiceTimings

type ServiceTimings struct {
	Service string
	Phases  []PhaseTiming
	Total   time.Duration
}

ServiceTimings aggregates per-service phase durations for a run.

func CaptureTimings

func CaptureTimings(run *model.Run) []ServiceTimings

CaptureTimings derives per-phase timings from a recorded run's phase history.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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