debugtime

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package debugtime provides opt-in wall-clock timings without a metrics subsystem.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logf added in v0.4.1

func Logf(format string, args ...any)

Logf writes a diagnostic line to stderr when LIVE_PR_DEBUG_TIMING is enabled. Use it where an error is otherwise swallowed for UX reasons.

func Start

func Start(name string) func()

Start returns a completion logger when LIVE_PR_DEBUG_TIMING is enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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