Documentation
¶
Overview ¶
Package startupprofile provides opt-in diagnostics for application startup.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Profiler ¶
type Profiler struct {
// contains filtered or unexported fields
}
Profiler records startup milestones and owns optional runtime profiles.
func FromContext ¶
FromContext returns the attached profiler or nil.
func Start ¶
Start creates diagnostics configured through LIBRECODE_STARTUP_* environment variables.
func (*Profiler) FirstFrame ¶
FirstFrame records the first completed visible frame and finalizes startup profiles.
Click to show internal directories.
Click to hide internal directories.