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 / round | Replicated guest | Scheduler | Combined |
|---|---|---|---|
| 20k / 291 | 2,574,897,462 | 386,588,000 | 2,961,485,462 |
| 20k / 292 | 2,598,674,549 | 398,588,000 | 2,997,262,549 |
| 20k / 293 | 2,600,164,958 | 386,588,000 | 2,986,752,958 |
| 30k / 291 | 3,729,228,663 | 406,588,000 | 4,135,816,663 |
| 30k / 292 | 3,765,767,239 | 418,588,000 | 4,184,355,239 |
| 30k / 293 | 3,772,429,520 | 406,588,000 | 4,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
- 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.
- 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.
- 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.
| Fixture | Varints and B-tree | Packed and B-tree | Packed and slots |
|---|---|---|---|
| One collector with partial fills | 13.807M | 14.065M | 9.257M |
| Six collectors with mixed prices and 20 cancels | 16.017M | 16.626M | 11.351M |
| One collector canceling orders within a FIFO queue | 19.515M | 19.872M | 14.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.