fleetsoak

command
v0.0.0-...-7673ef3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 31 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 fleetsoak measures what a fleet's churn costs the hub and its manager: it runs a throwaway hub (its own home directory, port and Postgres container) from the tree under test, with computers whose nodes it plays itself and app connections that read what the hub pushes, and reports the manager's and the hub's allocation and CPU time per minute (docs/operations/testing.md "Fleet soak").

cd server
go run ./scripts/fleetsoak -label head -minutes 20
go run ./scripts/fleetsoak -label base -minutes 20 -tree <a worktree of the base commit>/server
go run ./scripts/fleetsoak -compare <base out>/report.json <head out>/report.json

CPU time follows the machine's state: to compare it, run the two soaks at the same time (each in its own terminal, they share nothing) and -compare prints the second's CPU time over the first's in the same minute.

It never reads or writes the machine's own installation: every process it starts gets an environment made here.

Jump to

Keyboard shortcuts

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