wardian

App store · Data & analysis

USL scalability lab

Fit load-test results to the Universal Scalability Law and test changes before you build them.

No ratings yet1 installVersion 2Updated Oct 12, 2026

Sign in to install

It is free. You get a .wardian file to open in Wardian.

Try it

Runs here as it does in Wardian, without its saved data, channels or other apps.

About

For anyone who runs load tests: paste the results, and the lab fits them to the Universal Scalability Law. It shows where adding load stops paying off, what a target throughput needs, and what a change to the system would do, before you build it.

What you put in

FieldTypeUnitAllowedDefaultRequired
Runs, one per linetext: load, throughput, optional response time per linethe units belownumbers above 0; at least 4 runs at 3 or more different loadsthe example datayes
Load unitshort text—up to 24 charactersthreadsno
Throughput unitshort text, with its time base—up to 24 characters, like req/sreq/sno
Response times are inmilliseconds or seconds——millisecondsyes
Describe your systemlong text—up to 1,000 charactersemptyno
Target throughputdecimalper second, minute or hourabove 0emptyno
Contention, Coherency, Single-unit speedsliders× the fitted value0–3, 0–3 and 0.25–31yes
Or describe a changeshort text—up to 200 charactersemptyno

Runs can also come from a file (CSV, TSV or text) or from the latest table of the Splunk table app, where you pick the Load, Throughput and, optionally, Response time columns.

What it shows

  • Throughput as load grows: your runs, the fitted curve with its 90% band, linear scaling, the peak, a target line, and the what-if curve; hover or use the arrow keys to read it.
  • What it means: the fit in plain words (no AI), and, for a target, the load that reaches it or what it would take when one system can't.
  • Try a change: the curve with contention, coherency or single-unit speed scaled.
  • What the fit says: the parameters with their ranges. Can you trust it?: findings about the data and the fit.
  • Diagnosis: Claude's reading of the results and your description, when Claude is available.
  • Take it with you: a Markdown report and the fitted curve as CSV.

How it behaves

  • It opens on example data, marked as made up, so every panel has something to show.
  • The fit recomputes a moment after you stop typing, in a background worker.
  • When you leave the runs box, or load a file or a table, with fewer than 4 usable runs or with lines it had to skip, the box is marked and the status line says which lines and why. While there are too few runs, no curve is drawn and the downloads say what they need.
  • The target is checked when you leave it; a wrong value is marked and says what is allowed.
  • Your runs, units, description, target and the layout are kept in this browser.

Layout

  1. Inputs (the side column): Measurements (the runs box, size-full, with Use example, Open file… and Clear), From the Splunk table app (three column choices, size-md), Units and context (Load unit and Throughput unit size-sm, Response times size-sm, Describe your system size-full).
  2. Throughput as load grows, What it means (with Target throughput size-sm, num, and its time unit), Try a change (three sliders, Reset, the plain-language box size-full), What the fit says, Can you trust it?, Diagnosis and Take it with you, in the main column.

The tab order follows that reading order. Errors are marked with aria-invalid and explained in the field's hint through aria-describedby. Disabled downloads say why next to them.

How it is built

A wasm-like architecture using plain web technology. Each app is a sealed unit with a declared contract; the kernel enforces it. The result builds into one self-contained HTML page (what the Claude viewer publishes).

apps/<name>/view.html   markup the app owns
apps/<name>/app.js      Kernel.register({ name, emits, listens, provides, needs, caps, init(ctx) })
core/kernel.js          runtime: contracts, copied messages, capability grants, hot-plug (UslKernel.mount)
core/lib.js             frozen pure helpers (formatting, model, peak maths)
core/engine.js          the maths. Identical source runs in a Web Worker or on the page
core/style.css          shared theme
build.py                audits every app, then assembles dist/usl-lab-apps.html
test/e2e.js             boots the page in jsdom: all apps, worker + fallback, sealing tests
appownstalks to
inputsmeasurements, units, context, storage, tables from the Splunk table app (channel splunk.table)emits data:changed, context:changed; receives splunk.table
sessionnothing visible; coordinatesdata:changed -> engine.analyze -> analysis:ready
enginethe maths, in a worker (or page)provides analyze, curve; emits engine:status
chartchart, legend, hover, target lineanalysis:ready, whatif:changed, target:changed -> engine.curve
meaningplain-language reading of the fit (fixed rules, no AI), "Plan for a target", the N/X/R glossary (storage)analysis:ready, checks:ready -> emits target:changed
whatifsliders, plain-language boxemits whatif:changed; calls diagnosis.parseWhatIf
readoutsparameters and rangesanalysis:ready
checksfindings in wordsanalysis:ready -> emits checks:ready
diagnosisClaude (claude:sample)emits capability:ai, diagnosis:updated
exportreport/CSV (claude:downloads)many listens; calls engine.curve

What makes them "wasm-like": declared imports/exports; nothing shared by reference (every message and call is structuredClone'd); no DOM/window/storage/network except through granted capabilities (build.py audits this); retained topics so a late-joining app gets the latest state; apps can be hot-plugged at runtime.

Build: python3 build.py then node test/e2e.js (needs npm i jsdom). Debug in the browser console: UslKernel.apps(), UslKernel.trace(), UslKernel.faults().

What's new

  1. Version 2 Oct 12, 2026

    Rebuilt to the new standard: clearer fields with units and limits, help and errors right under each field, sample data labelled, and the app opens straight on its content.

  2. Version 1 Oct 11, 2026

    First published.

Ratings and reviews

No ratings yet.