bench/

directory
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: MIT

Directories

Path Synopsis
Command durableperf runs the durable-bench workload (github.com/clavia-labs/durable-bench) on PiG's Go Durable over SQLite.
Command durableperf runs the durable-bench workload (github.com/clavia-labs/durable-bench) on PiG's Go Durable over SQLite.
k8s
cmd/k8sbench command
Command k8sbench runs PiG benchmarks on Kubernetes: one Job per session, PiG and the reference interleaved in the same pod on the same pinned cores, results in durable-report's tracker format.
Command k8sbench runs PiG benchmarks on Kubernetes: one Job per session, PiG and the reference interleaved in the same pod on the same pinned cores, results in durable-report's tracker format.
Package sessionscale writes synthetic long-lived Pi session files and the agent directory that resumes them, so the memory and per-prompt cost of a resumed session can be measured on Pi and PiG with the same bytes.
Package sessionscale writes synthetic long-lived Pi session files and the agent directory that resumes them, so the memory and per-prompt cost of a resumed session can be measured on Pi and PiG with the same bytes.
cmd/pigprobe command
Command pigprobe is cmd/pig with two additions for measurement: SIGUSR1 writes a heap profile (after a collection) to $SESSIONSCALE_HEAP_DIR/heap-<n>.pprof, then an empty heap-<n>.pprof.done marker; SIGUSR2 starts a CPU profile to $SESSIONSCALE_HEAP_DIR/cpu-<n>.pprof and the next SIGUSR2 stops it (then cpu-<n>.pprof.done).
Command pigprobe is cmd/pig with two additions for measurement: SIGUSR1 writes a heap profile (after a collection) to $SESSIONSCALE_HEAP_DIR/heap-<n>.pprof, then an empty heap-<n>.pprof.done marker; SIGUSR2 starts a CPU profile to $SESSIONSCALE_HEAP_DIR/cpu-<n>.pprof and the next SIGUSR2 stops it (then cpu-<n>.pprof.done).
cmd/sessionscale command
Command sessionscale writes and measures long-lived session fixtures (see package sessionscale).
Command sessionscale writes and measures long-lived session fixtures (see package sessionscale).

Jump to

Keyboard shortcuts

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