Measured on PocketIC

RSX performance benchmarks

Compare the cost of an acknowledged order and a forum request across SDKs. The separate workflow and exchange studies report throughput per simulated second.

Signed orders · two collectors and one book

Instructions per acknowledged order action

Two traders placed 128 orders, then canceled all 128. Each build verified the signatures and returned a receipt after the collector and book saved their changes.

Compare all six configurations
DFINITY Rust · one action per call
5,776,188
DFINITY Rust · grouped ingress
3,517,257
RSX · Reactor, Takt and RSX Schnorr
2,259,331

What a forum request costs

Two builds start with the same million-post forum. Both preserve their data across upgrades. Each count includes the full call, from decoding the request to returning the result.

Compare all four builds

Harbor Forum · one update

50.5% fewer instructions to create a topic

Baseline DFINITY Rust with stable structures
8.52M
Result RSX with Nyxus
4.21M

Mean complete instructions over 64 topic-create updates per build on the same million-post Harbor Forum fixture.

Harbor Forum · five calls

46.6% fewer instructions to read and reply

Baseline DFINITY Rust with stable structures
24.26M
Result RSX with Nyxus
12.96M

Mean over 32 runs per build. Each run reads a topic, likes a post, writes a reply, marks the topic read, and reads back the new reply.

Workflow and exchange throughput

Two multi-canister applications. Each rate counts completed work per second of PocketIC’s simulated clock.

Heavy16 · 16 workflow canisters

Workflow steps per simulated second
20,625
Logical endpoint deliveries per simulated second
6,250

The article separates a completed workflow, a graph step, a logical delivery, and a physical message, and shows how each counter was measured.

Showtime · 7 exchange canisters

Order actions per simulated second, higher-load run
30,000
Order actions per simulated second, lower-load run
20,000

An order action is an add or a cancel. Six collectors and one matcher sustained both rates on a 50,000-order book.

Harbor Forum · PocketIC · 21 October 2026

A forum with one million posts

The same 23-method forum ran on RSX, Motoko, and two DFINITY Rust CDK builds. Compare how many instructions each build used for the same request.

How we designed the forum experiment

Read and reply

A five-call forum interaction used 12.96M instructions on average with RSX, versus 24.26M with DFINITY Rust stable structures, a 46.6% reduction.

Read a topic, like a post, reply, mark it read, then read the new reply. Average total over 32 runs per build.

RSX NyxusLowest12.96M
DFINITY Rust Stable structures24.26M
Motoko Enhanced persistence39.28M
DFINITY Rust Plain heap · resets on upgrade72.18M

Millions of instructions. Lower is less work. Each workload has its own scale.

All four workloads

Average instructions in millions. All builds used the same 3 GiB Wasm limit.

Download exact counts

Scroll the table sideways to see all builds.

Average instructions, in millions, for each workload
WorkloadRSXNyxusDFINITY ic-cdkStable structuresMotokoEnhanced persistenceDFINITY ic-cdkPlain heap
Read and reply12.9624.2639.2872.18
Audit 4,096 posts157.25636.521,708.90131.32
Update topic summaries37.25131.022,401.8349.99
Update author summaries75.78257.562,363.2684.57
Same-code upgrade checkRetainedRetainedRetainedReset

Shading marks the lowest count for each task. The upgrade check sampled posts, counts, and summaries after reinstalling the same code as an upgrade.

Separate comparison at 100,000 posts · 22 October 2026

This comparison used a newer RSX build, the same forum API, and saved controls from 21 October. It measures a different build as well as a different population.

Mean complete instructions in millions in the 100,000-post comparison
Workload · millionsRSXNyxusDFINITY ic-cdkStable structuresMotokoEnhanced persistenceDFINITY ic-cdkPlain heap
Five-call discussion interaction10.80718.99530.12153.764
Content audit155.019533.3661,687.105121.128
Topic reconciliation36.413114.240947.03145.728
Author rollup74.104223.2132,093.18878.996

Read the 100,000-post report

How we ran the forum experiment

We asked AI for one spec covering the forum’s public methods and business rules, then gave it to coding agents to implement independently with each SDK.

We wanted everyday requests and heavier work like the kind a Reactor batch handler or Takt step might do. The second round added a moderator query that reads and summarizes 4,096 full posts per call, plus methods that rebuild topic and author summaries.

Matched work

Each arm seeded 100,000 users, 640 categories, 100,000 topics, 1 million posts, and 3 million likes. Setup ran before measurement. The retained checks match returned business digests and final state counts.

Complete calls

The instruction count includes public entry points, codecs, data access, cleanup, and page charges. It measures local execution work in PocketIC. Mainnet latency, throughput, and cycle debits have their own units.

Recorded versions

RSX e3a34291 uses Nyxus, Wire, and wasm64. The DFINITY controls use ic-cdk 0.20.3, Candid, and wasm32. The stable arm uses ic-stable-structures 0.7.2. Motoko uses moc 1.16.1, Core 2.6.2, Candid, and memory64.

Toolchains, codecs, and data layouts differ. The numbers compare the whole applications as deployed in the harness. They come from retained reports. Repeating the run requires the original build artifacts and execution traces.

Read the retained run reportMeasurement guide

Data structure benchmarks · Experimental Minima

Grouping operations on a single filter

Two APIs ran the lifecycle of the same AerisFilter on 1,024 inputs. The scalar version used 121× as many canister instructions as the grouped version.

Explore the data structures
Scalar API Instructions per complete update
8,805,361,842
Grouped API Instructions per complete update
72,735,365

Mean of 32 Wasm64 PocketIC updates after warm-up. Both versions built, exercised, verified, and retired the filter. The grouped version ran positive probes before deletion. Read the data structure benchmark