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
Click to show internal directories.
Click to hide internal directories.