Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context provides lightweight timing instrumentation for hook execution. Enabled via config.json: { "debug": { "benchmark": true } }. Output goes to the plugin log file via the provided logFunc.
func New ¶
New creates a new benchmark context. When enabled, timing data is written to the log file via logFunc.
func (*Context) Checkpoint ¶
Checkpoint records a point-in-time event with a success/failure flag.
Click to show internal directories.
Click to hide internal directories.