bootprobe

command
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

bootprobe reports where core boot time goes: bundle decode vs definition replay vs everything else, using LoadCoreBundle's OnPhase hooks. It boots compiler-free (same surface as cmd/lg-runtime), so the numbers isolate the runtime boot path.

Usage:

bootprobe                              one boot, phase breakdown + counts
bootprobe -decodes 300                 also re-decode the bundle N times
bootprobe -replays 300                 also re-run the core chunk N times
bootprobe -decodes 300 -cpuprofile p   CPU-profile the loop

Loops report min/median/max so a quiet-host median is easy to extract; run the binary itself repeatedly to sample process-level variance.

Jump to

Keyboard shortcuts

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