k6load

command
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 9 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 k6load runs the crud-list workload against a target for a fixed window and KEEPS + validates the k6 summary, exiting non-zero unless the load was a clean measurement (traffic sent, no HTTP errors, no failed checks — benchmarks/internal/k6's Summary.Validate). It is the load half of the footprint measurement: the load generator, not a wall-clock guess, is the authority for whether load actually happened, so footprint-all.sh only records loaded-memory / CPU numbers when this exits 0. Unlike run-crud it writes no results row — it exists purely to drive validated load while the orchestrator samples `docker stats` concurrently.

go run ./benchmarks/scripts/k6load \
  -target-url 'http://127.0.0.1:8081/api/projects?page=1&limit=20' \
  -vus 100 -duration 10s -k6-image grafana/k6:0.55.0 \
  -workload benchmarks/workloads/crud-list.js

Jump to

Keyboard shortcuts

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