Repository navigation
LoadStride 0.2.0 adds configurable browser concurrency and measured capacity
calibration. The default browser ceiling remains 20 VUs; teams can explicitly
raise it after measuring their workload and generator machine.
Changes
- Set the ceiling with
--browser-max-vus,browser.maxVUsor
LOADSTRIDE_BROWSER_MAX_VUS.--vusstill selects actual concurrency. - Select 1–4 browser instances with
--browser-processesor
LOADSTRIDE_BROWSER_PROCESSES; browser options preserve script/env/CLI precedence. - Run
loadstride calibrateon macOS/Linux to repeat increasing VU levels,
measure worker/browser CPU and RAM plus host/event-loop headroom, and save
calibration and per-repetition HTML/JSON reports. - Run
loadstride capacityfor explicitly unvalidated CPU/RAM planning estimates
when at least three repeated passing levels support positive resource fits.
Estimates retain the first failed level and cannot override observed bottlenecks. - Diagnose HTTP transport errors through error-sample codes such as ECONNREFUSED
and optionalresponse.errorCode.
Install
npm install --save-dev --omit=optional loadstride@0.2.0
npx --no-install loadstride --versionBrowser execution additionally requires optional Playwright/Acorn and browser
binaries. See first run
and browser calibration.
Scope and compatibility
Existing browser workloads within the default ceiling keep their behavior.
Browser mode still supports one fixed-VU workload, not arrival/ramping scenarios.
Ordinary browser execution retains its existing platform support; process-tree
capacity telemetry is currently macOS/Linux only and is not container-quota aware.
Calibration executes hooks and test flows repeatedly; use suitable test data.
A local 25-VU fixture completed 350 requests without request failures, but missed
the event-loop headroom gate (55ms p99 vs 50ms). Repeated 1/5/10-VU levels passed
all gates. This is workload-specific evidence, not a production capacity promise.
CPU/RAM models do not predict target, network or event-loop capacity, and higher
configuration validation bounds are not tested throughput claims.
The attached .tgz is the same archive distributed by npm. No distributed
workers, streaming exporters or Allure integration are added in this release.