loadreport

command
v0.110.14-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command loadreport renders the pull request comment the CI load job posts when a load test fails. It reads the sample log written by hack/ci/cpu-sampler.sh and the plain-text summaries written by hack/ci/pprof-sampler.sh and hack/ci/pgstat-sampler.sh, and prints GitHub markdown on stdout: a CPU summary, a Mermaid chart of busy and steal over time, a chart of the top processes, and the two summaries folded into details sections.

go run ./hack/ci/loadreport -cpu cpu-samples.log \
    -pprof pprof/summary.txt -pgstat pgstat/summary.txt \
    -label "load (optimistic true, race false)" \
    -repository hatchet-dev/hatchet -run-id 1 \
    [-max-bytes 60000]

The summaries are optional and may be missing or empty. -repository and -run-id come from the workflow's own context and only build the link to the run; when either is missing or invalid the link is left out. Every file is untrusted and must be a regular file of at most 8 MiB; sanitize.go documents the policy. On any input error a short message goes to stderr, the exit code is 1 and nothing is written to stdout.

Jump to

Keyboard shortcuts

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