loadtest

command
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 14 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 loadtest measures Workly's sustained throughput and latency.

It runs a no-op delivery endpoint, enqueues tasks to a running Workly server at a fixed rate, one request per task as a typical client would (or -batch tasks per request), and reports enqueue latency, end-to-end latency (enqueue to delivery) and throughput:

go run ./tools/loadtest -rate 1000 -duration 60s

With -paused the queue stays paused, so nothing is delivered and only enqueues are measured; -rate 0 enqueues as fast as the workers can:

go run ./tools/loadtest -paused -rate 0 -batch 100 -duration 20s

Jump to

Keyboard shortcuts

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