Showtime · Recorded evidence

Showtime benchmark evidence

The measured PocketIC workloads, the accounting behind their rates, and the backend design recorded in the Showtime checkout.

Sustained runs on 27 October 2026

Six collectors and one matcher started with 50,000 resting orders across 80 accounts. Each run offered equal numbers of cancellations and noncrossing replacements at two prices for forty 500 ms steps. Each ingress carried 25 signed packs of 20 actions.

The two runs admitted and applied 400,000 and 600,000 actions. In the final ten seconds they acknowledged 20,000 and 30,000 actions per simulated second, with steady backlogs of 10,000 and 15,000 actions. Both backlogs drained in the next step at 20.5 simulated seconds. The runner counted acknowledged actions using credited action points and checked the final order IDs, balances, and reservations.

PocketIC 16.1.0 advanced after the host had signed and encrypted the packs, made verification queries, and submitted ingress. The runs took 303.37 and 400.59 seconds on the host, including setup and checks.

Run / roundReplicated guestSchedulerCombined
20k / 2912,574,897,462386,588,0002,961,485,462
20k / 2922,598,674,549398,588,0002,997,262,549
20k / 2932,600,164,958386,588,0002,986,752,958
30k / 2913,729,228,663406,588,0004,135,816,663
30k / 2923,765,767,239418,588,0004,184,355,239
30k / 2933,772,429,520406,588,0004,179,017,520

Guest counts already include page charges. Query and inspection costs are separate. All seven canisters were traced in rounds 291 to 293.

Record from research/performance/sustained-liquidity-20261027.md and experiments/app/SUSTAINED.md at Showtime revision 1844ee7. Sustained-run Wasm SHA-256 2eb13b3b689d7ff75097a816b263f1521ae621481ec8c466f8271cf8529740d3.

Backend design record

  1. The collector verifies the batch in a query and returns a sealed block. The replicated update checks the current nonces and balances before recording private orders and reserving collateral.
  2. The matcher applies the collector’s inputs to the shared book. It matches at the best eligible price, with global first-in, first-out priority at each price. It retains the results for the collector to apply.
  3. The collector applies at most 128 private allocations per continuation. Once it finishes a result prefix, its acknowledgment lets the matcher record fees and credited action points and retire that prefix in one Rechain commit.

Backend record from docs/backend.md and RSX dependencies from Cargo.toml at Showtime revision 1844ee7.

Separate order-book layout experiment

Each single-canister sample applied 100 commands to a 50,000-order book through the same price ladder and FIFO matcher. The three layouts used varint records with a B-tree lookup, packed records with that same lookup, and packed records with checked slot IDs. Packing reduced bytes. The third layout had the lowest instruction count in all three fixtures.

FixtureVarints and B-treePacked and B-treePacked and slots
One collector with partial fills13.807M14.065M9.257M
Six collectors with mixed prices and 20 cancels16.017M16.626M11.351M
One collector canceling orders within a FIFO queue19.515M19.872M14.679M

The medians include page charges. The run checked that each layout preserved individual order IDs and exact price and quantity effects.

Experiment record from experiments/orderbook/README.md and experiments/orderbook/PROVENANCE.md at Showtime revision 1844ee7. Experiment Wasm SHA-256 3861424e09bde8164922c741a95b1d4fb0ceaa85fd1aedfde0cc4ba91634fb88.