Documentation
¶
Overview ¶
Package timings is the startup timing instrumentation Pi enables with PI_TIMING=1.
Ports packages/coding-agent/src/core/timings.ts
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintTimings ¶
func PrintTimings()
PrintTimings writes every namespace's report to stderr, in the order the namespaces were first used.
func ResetTimings ¶
func ResetTimings(label ...Label)
ResetTimings starts the namespace's timeline at the current time, discarding what it recorded (default namespace "main").
Types ¶
Click to show internal directories.
Click to hide internal directories.