bench

command
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 25 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 bench measures taskmill against the targets in docs/design/benchmarks.md, and checks its reliability under faults.

It runs against the database in TASKMILL_TEST_DATABASE_URL, in a schema of its own that it recreates, and prints a Markdown report:

go run ./internal/cmd/bench -scenarios enqueue,throughput,chaos

The fault scenarios start worker and producer processes, kill them, cut them off from the database, and restart the database, then check each invariant exactly. A failed check fails the run.

Jump to

Keyboard shortcuts

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