Phaseline by VERIFYGet the checker
Tutorial Load test against Alloy

Phaseline vs. Alloy under load

How many independent promises can one release check before the time or selection limit stops it? We ran the same version histories through both tools.

Both tools got every release right at 1, 4 and 8 rules. At 9, 16 and 32, Alloy got every release right and Phaseline refused every release.
○ Phaseline ■ Alloy · 16 release cases per marked load · warm service

When to choose each

At up to eight rules in this test, correctness tied. Choose Phaseline for quick feedback on a supported refund agreement in VERIFY. With eight rules its median response was 0.65 ms in a running process. The handwritten Alloy model took 21.03 ms and returned the same decisions.

Choose the Alloy model for a larger agreement in this workload. With 9, 16 or 32 rules, it still returned every required decision. The agreement reader used in this study limits each selection to eight rules. The npm language uses a different input format. Each refusal leaves the reviewer without an answer. Thirty-two was the highest load we ran.

Why these axes?

Each rule ID is a separate refund policy whose old behavior a release can lose. The horizontal axis shows the six tested agreement sizes, spaced as categories. The vertical axis counts the share of whole releases answered correctly within a fixed budget. One silent loss makes the entire release wrong. A fast refusal earns zero. Response time breaks a tie between tools that can finish the job.

What the tools saw

Both received the same bytes for three approved versions, one newer draft, a trusted fingerprint for the parent and a proposed edit. In one pair, the same waiver changed the first refund decision at 29¢ against version two and 7¢ against version three. The input gave both tools the parent fingerprint. A shared resolver checked it against the approved history.

The 96 synthetic release cases use 12 generated histories at six agreement sizes and two seeds. They cover an older or current parent, equivalent wording, a tighter threshold, a partial edit, a full replacement with an omission, unclear wording and mixed edits. An independent scorer enumerated 1–31 cents per rule. A release earned credit only if every verdict and every first differing cent matched. The results include 0 incorrect replies, 0 silent losses, 96 selection-limit refusals and 0 time or memory stops across both startup conditions and tools.

Measured release decisions

Both tools received two seconds per release and a 1 GiB sampled process-group memory ceiling on one Apple M5 Pro. Runs were serial. Each warm batch had one separately measured startup and warm-up. The table’s times cover reading the history through receiving the verdict. P50 is the median and p95 is the 95th percentile of correct responses only. A dash means no correct responses.

RulesPhaseline
correct
Alloy
correct
Phaseline
p50 / p95, ms
Alloy
p50 / p95, ms
116/1616/160.32 / 0.4514.17 / 27.76
416/1616/160.22 / 0.314.14 / 26.19
816/1616/160.65 / 1.7121.03 / 73.35
90/1616/16—29.16 / 117.9
160/1616/16—30.61 / 87.5
320/1616/16—68.21 / 139.25
Fresh process for every release

The same histories and limits, including interpreter or JVM startup in every decision.

RulesPhaseline
correct
Alloy
correct
Phaseline
p50 / p95, ms
Alloy
p50 / p95, ms
116/1616/16192.79 / 214.06292.28 / 406.67
416/1616/16142.91 / 223.67350.66 / 452.35
816/1616/16184.22 / 207.69391.4 / 501.91
90/1616/16—328.8 / 425.88
160/1616/16—327.57 / 483.65
320/1616/16—333.47 / 469.21

Scope of the comparison

The Alloy 6.2.0 model uses SAT4J and a small adapter for the refund wording. Phaseline runs VERIFY’s private agreement checker at 5a77fdb1cb53. These measurements cover independent, explicitly identified rules. They leave open how either workflow performs when promises interact, someone must discover the governing history, or verification must follow an owner’s decision into a shipped release. Model authoring, installation and human review time are unmeasured.

Writing a rule and carrying it through a real product is the broader Phaseline goal. This run establishes a decision boundary for one supported workflow. Independent customer histories and interdependent rules are the next tests of that goal.

Download the case files, Alloy model and replay scripts · All 384 measured runs (CSV) · Per-rule answers (JSON) · Chart (SVG)

Anyone can rerun Alloy and independently rescore both sets of recorded answers. Running the same Phaseline interpreter requires the private checkout. Alloy documentation