Harbor Forum ordinary operations — 21 October 2026
First-round record: the original 25 ordinary operation sequences and five-call discussion interaction. The later heavy analytics/maintenance extension is outside these artifacts and measurements.
Four independently authored applications implement the same frozen logical forum API and business rules. RSX uses bounded Wire; the other arms use Candid. Upstream Rust uses Rust 1.99.0/ic-cdk 0.20.3 on wasm32 (stable arm: ic-stable-structures 0.7.2). RSX uses its pinned nightly compiler on wasm64 and Nyxus retained owners. Motoko uses moc 1.16.1/core 2.6.2 with enhanced orthogonal persistence. Source, compiler, representation and transport all differ: this whole-application comparison cannot assign a sole memory cause.
Population finishes in earlier committed calls. Instructions are complete public-call execution charges from the pinned PocketIC trace, including wrappers, codec work, cleanup and page fees. Queries and replicated updates are identified separately; scheduler-only accounting is not added. No-op is reported without subtraction. The five-call interaction contains two queries and three updates.
Wall times are local sequential PocketIC RPC times with memory tracing enabled, including host/client overhead; they are neither production throughput nor mainnet latency. Heap/stable bytes measure grown capacity and IC accounting, not live allocations or host RSS. Query dirty-range reporting differs from updates.
Generated from eight explicitly selected result records and receipts. Interpretation and failed attempts describe the experiment; measurement guidance defines current practice.
Small populated forum
| Initial records | Users | Categories | Topics | Posts | Likes |
|---|---|---|---|---|---|
| Exact fixture counts | 100 | 16 | 200 | 2000 | 6000 |
| Deployment | Upstream heap | Upstream stable | RSX Nyxus | Motoko |
|---|---|---|---|---|
| Raw Wasm bytes | 879,609 | 1,012,234 | 563,079 | 655,999 |
| Gzip Wasm bytes | 247,633 | 270,837 | 122,319 | 165,456 |
| Installed heap capacity, MiB | 1.12 | 1.19 | 16.06 | 5.06 |
| Populated heap capacity, MiB | 2.69 | 1.19 | 16.06 | 25.25 |
| Population heap growth, MiB | 1.56 | 0.00 | 0.00 | 20.19 |
| Installed stable capacity, MiB | 0.00 | 13.06 | 0.00 | 0.00 |
| Populated stable capacity, MiB | 0.00 | 14.06 | 0.00 | 0.00 |
| Population stable growth, MiB | 0.00 | 1.00 | 0.00 | 0.00 |
| Populated total IC accounting, MiB | 2.94 | 15.52 | 16.22 | 25.43 |
| Same-code upgrade retains state | No (expected) | Yes | Yes | Yes |
Mean complete instructions per public call
| Operation | Upstream heap | Upstream stable | RSX Nyxus | Motoko |
|---|---|---|---|---|
| noop (update, n=64) | 967,080 | 567,319 | 483,273 | 804,958 |
| stats-read (query, n=64) | 1,092,619 | 372,428 | 330,825 | 418,140 |
| register (update, n=64) | 3,677,239 | 1,556,775 | 1,352,230 | 1,472,988 |
| profile-update (update, n=64) | 3,481,386 | 1,177,168 | 1,201,731 | 1,546,221 |
| category-create (update, n=64) | 2,357,250 | 1,229,495 | 1,147,622 | 1,477,193 |
| topic-create (update, n=64) | 2,527,686 | 3,865,378 | 2,023,649 | 4,249,322 |
| reply (update, n=64) | 2,740,434 | 3,373,795 | 2,189,815 | 4,401,555 |
| post-edit-grow (update, n=64) | 2,866,069 | 2,251,088 | 1,613,119 | 2,434,606 |
| like-add (update, n=64) | 2,391,086 | 2,549,558 | 1,378,850 | 3,359,201 |
| like-idempotent (update, n=64) | 2,466,318 | 1,791,026 | 1,199,778 | 3,120,540 |
| like-remove (update, n=64) | 2,357,359 | 2,612,425 | 1,371,519 | 3,315,252 |
| watch-add (update, n=64) | 2,115,741 | 1,285,678 | 1,043,758 | 1,900,892 |
| read-advance (update, n=64) | 2,531,080 | 1,921,537 | 1,356,271 | 2,640,259 |
| watch-remove (update, n=64) | 2,258,304 | 1,287,356 | 1,041,284 | 2,011,570 |
| topic-lock (update, n=64) | 2,139,833 | 1,191,475 | 936,577 | 1,994,529 |
| topic-unlock (update, n=64) | 2,139,833 | 1,191,479 | 936,575 | 1,993,274 |
| post-hide (update, n=64) | 2,143,932 | 2,011,233 | 1,050,494 | 2,333,993 |
| post-unhide (update, n=64) | 2,143,932 | 2,011,239 | 1,050,492 | 2,315,238 |
| user-get (query, n=64) | 2,028,482 | 525,255 | 576,202 | 1,026,731 |
| post-get (query, n=64) | 1,933,907 | 1,483,249 | 937,594 | 2,814,159 |
| topic-read (query, n=64) | 2,925,417 | 2,955,741 | 1,563,661 | 4,754,971 |
| category-feed (query, n=64) | 1,919,712 | 882,051 | 689,332 | 2,650,553 |
| global-feed (query, n=64) | 2,208,085 | 1,022,375 | 723,469 | 2,294,046 |
| author-posts (query, n=64) | 3,416,224 | 4,837,493 | 3,940,605 | 11,011,037 |
| dashboard (query, n=32) | 2,744,570 | 1,765,568 | 1,125,791 | 4,957,399 |
| Five-call discussion interaction (n=32) | 17,973,631 | 12,817,481 | 7,989,568 | 17,865,081 |
Local RPC wall latency, p50 / p95 ms
| Operation | Upstream heap | Upstream stable | RSX Nyxus | Motoko |
|---|---|---|---|---|
| noop | 23.53 / 25.17 | 23.24 / 25.15 | 23.12 / 25.62 | 22.76 / 24.56 |
| reply | 31.79 / 34.02 | 31.56 / 34.47 | 29.42 / 31.64 | 31.24 / 34.53 |
| topic-read | 24.98 / 28.05 | 23.61 / 27.97 | 20.04 / 22.92 | 24.49 / 28.05 |
| category-feed | 27.19 / 29.51 | 24.58 / 29.66 | 22.06 / 25.08 | 26.26 / 28.96 |
| dashboard | 43.21 / 45.85 | 39.91 / 46.02 | 35.13 / 37.68 | 43.95 / 46.08 |
| Five-call discussion interaction | 236.61 / 251.84 | 215.40 / 228.10 | 200.47 / 210.35 | 221.01 / 234.96 |
Mean exported heap-page charge per public call
| Operation | Upstream heap | Upstream stable | RSX Nyxus | Motoko |
|---|---|---|---|---|
| noop | 960,000 | 560,000 | 480,000 | 800,000 |
| reply | 2,590,000 | 560,000 | 2,127,500 | 4,301,250 |
| post-edit-grow | 2,703,750 | 560,000 | 1,541,250 | 2,353,750 |
| post-get | 1,785,000 | 320,000 | 888,750 | 2,750,000 |
| topic-read | 2,333,750 | 320,000 | 1,148,750 | 4,130,000 |
| author-posts | 2,541,250 | 320,000 | 3,186,250 | 9,865,000 |
| dashboard | 2,347,500 | 320,000 | 870,000 | 4,502,500 |
These exported heap-page charges are already included in complete instructions. Stable-source page charges remain included in complete instructions but are absent from this export, so subtraction does not isolate CPU work.
Large populated forum
| Initial records | Users | Categories | Topics | Posts | Likes |
|---|---|---|---|---|---|
| Exact fixture counts | 10000 | 64 | 10000 | 100000 | 300000 |
| Deployment | Upstream heap | Upstream stable | RSX Nyxus | Motoko |
|---|---|---|---|---|
| Raw Wasm bytes | 879,609 | 1,012,234 | 563,079 | 655,999 |
| Gzip Wasm bytes | 247,633 | 270,837 | 122,319 | 165,456 |
| Installed heap capacity, MiB | 1.12 | 1.19 | 16.06 | 5.06 |
| Populated heap capacity, MiB | 82.75 | 1.19 | 114.69 | 576.00 |
| Population heap growth, MiB | 81.62 | 0.00 | 98.62 | 570.94 |
| Installed stable capacity, MiB | 0.00 | 13.06 | 0.00 | 0.00 |
| Populated stable capacity, MiB | 0.00 | 96.06 | 0.00 | 0.00 |
| Population stable growth, MiB | 0.00 | 83.00 | 0.00 | 0.00 |
| Populated total IC accounting, MiB | 83.00 | 97.52 | 114.84 | 576.18 |
| Same-code upgrade retains state | No (expected) | Yes | Yes | Yes |
Mean complete instructions per public call
| Operation | Upstream heap | Upstream stable | RSX Nyxus | Motoko |
|---|---|---|---|---|
| noop (update, n=64) | 2,008,328 | 567,086 | 483,273 | 805,040 |
| stats-read (query, n=64) | 3,572,772 | 371,870 | 331,175 | 498,140 |
| register (update, n=64) | 14,668,606 | 2,959,492 | 2,117,738 | 3,174,140 |
| profile-update (update, n=64) | 12,267,996 | 2,036,473 | 1,948,184 | 2,675,029 |
| category-create (update, n=64) | 11,431,200 | 1,594,082 | 1,759,123 | 2,851,148 |
| topic-create (update, n=64) | 15,430,329 | 6,317,420 | 3,666,406 | 7,611,713 |
| reply (update, n=64) | 12,681,434 | 5,196,951 | 3,256,040 | 7,136,983 |
| post-edit-grow (update, n=64) | 11,502,101 | 3,144,709 | 2,087,344 | 3,902,306 |
| like-add (update, n=64) | 9,124,462 | 3,836,818 | 2,128,400 | 5,626,582 |
| like-idempotent (update, n=64) | 9,021,300 | 2,970,083 | 1,898,428 | 5,215,955 |
| like-remove (update, n=64) | 9,419,934 | 4,889,735 | 2,138,627 | 5,496,693 |
| watch-add (update, n=64) | 8,675,778 | 2,018,819 | 1,633,311 | 3,751,419 |
| read-advance (update, n=64) | 8,430,218 | 3,004,759 | 1,994,941 | 4,823,272 |
| watch-remove (update, n=64) | 7,860,328 | 2,024,443 | 1,654,563 | 3,874,963 |
| topic-lock (update, n=64) | 7,827,923 | 1,738,852 | 1,319,806 | 3,875,107 |
| topic-unlock (update, n=64) | 7,827,923 | 1,738,854 | 1,319,804 | 3,875,102 |
| post-hide (update, n=64) | 7,917,002 | 2,702,641 | 1,449,972 | 3,987,071 |
| post-unhide (update, n=64) | 7,917,002 | 2,702,645 | 1,449,970 | 3,987,066 |
| user-get (query, n=64) | 7,606,595 | 822,255 | 719,073 | 1,351,113 |
| post-get (query, n=64) | 7,755,151 | 2,383,403 | 1,624,008 | 4,919,638 |
| topic-read (query, n=64) | 11,039,697 | 4,292,402 | 2,384,554 | 7,172,642 |
| category-feed (query, n=64) | 7,762,660 | 2,132,952 | 1,908,794 | 8,403,759 |
| global-feed (query, n=64) | 7,472,578 | 1,458,077 | 1,023,408 | 1,926,007 |
| author-posts (query, n=64) | 11,659,597 | 10,555,378 | 5,291,582 | 15,026,127 |
| dashboard (query, n=32) | 11,895,684 | 4,367,923 | 4,129,275 | 16,239,021 |
| Five-call discussion interaction (n=32) | 53,764,136 | 18,994,889 | 11,570,016 | 30,145,961 |
Local RPC wall latency, p50 / p95 ms
| Operation | Upstream heap | Upstream stable | RSX Nyxus | Motoko |
|---|---|---|---|---|
| noop | 34.65 / 37.09 | 34.00 / 35.94 | 29.44 / 33.09 | 30.83 / 32.83 |
| reply | 50.43 / 53.69 | 41.39 / 44.33 | 37.23 / 40.55 | 37.55 / 38.69 |
| topic-read | 27.08 / 30.53 | 21.04 / 23.88 | 18.70 / 22.18 | 22.10 / 24.31 |
| category-feed | 28.99 / 32.09 | 23.83 / 24.93 | 22.11 / 24.03 | 25.56 / 26.63 |
| dashboard | 34.54 / 35.62 | 34.08 / 35.56 | 29.67 / 35.52 | 35.84 / 37.49 |
| Five-call discussion interaction | 226.10 / 231.05 | 214.66 / 221.00 | 205.27 / 212.14 | 209.46 / 218.46 |
Mean exported heap-page charge per public call
| Operation | Upstream heap | Upstream stable | RSX Nyxus | Motoko |
|---|---|---|---|---|
| noop | 2,001,250 | 560,000 | 480,000 | 800,000 |
| reply | 12,526,250 | 560,000 | 3,188,750 | 7,006,250 |
| post-edit-grow | 11,337,500 | 560,000 | 2,012,500 | 3,810,000 |
| post-get | 7,602,500 | 320,000 | 1,571,250 | 4,843,750 |
| topic-read | 10,441,250 | 320,000 | 1,971,250 | 6,447,500 |
| author-posts | 11,117,500 | 320,000 | 4,891,250 | 14,312,500 |
| dashboard | 11,495,000 | 320,000 | 3,860,000 | 15,722,500 |
These exported heap-page charges are already included in complete instructions. Stable-source page charges remain included in complete instructions but are absent from this export, so subtraction does not isolate CPU work.
Verification and provenance
Each selected run passes exact fixture-count checks, sampled payload/index verification (32 users, 32 topics, 320 posts), unchanged source/Wasm checks and its same-code upgrade expectation. Separate conformance receipts cover every Small user/topic/post and business rejection/mutation checks on each exact selected artifact. Operation response digests, mixed response digests and final state counts match across arms at each size. This does not constitute exhaustive verification of every Large row/edge.
All calls use distinct ordinary arguments/callers as prescribed by the harness. One untimed no-op precedes each sequence. Missing execution rows/query-cache hits reject a measured sequence. The mixed interaction reads a topic, likes a post, replies, marks read and reads the new reply. Samples describe one controlled local run per artifact/fixture; they are not independent deployment repetitions.
- Upstream heap, small: result, Wasm SHA-256
b18b50d95a98ae4acb154b7c2d7b279be853c13479818b96b102f0b20974bf02. - Upstream stable, small: result, Wasm SHA-256
ba0dafe2ff78e88e3a27a0c0237f5839e58e18ff5c519e3d8b8829f26782380e. - RSX Nyxus, small: result, Wasm SHA-256
7e88568776490cbce1d26cfd9e54586b55ee90a78608c685bab4c7455f92e02f. - Motoko, small: result, Wasm SHA-256
2bbe2c874f34e2162f203ef1b61b18ac9de7bd24595a5e4a21226db92fa8868b. - Upstream heap, large: result, Wasm SHA-256
b18b50d95a98ae4acb154b7c2d7b279be853c13479818b96b102f0b20974bf02. - Upstream stable, large: result, Wasm SHA-256
ba0dafe2ff78e88e3a27a0c0237f5839e58e18ff5c519e3d8b8829f26782380e. - RSX Nyxus, large: result, Wasm SHA-256
7e88568776490cbce1d26cfd9e54586b55ee90a78608c685bab4c7455f92e02f. - Motoko, large: result, Wasm SHA-256
2bbe2c874f34e2162f203ef1b61b18ac9de7bd24595a5e4a21226db92fa8868b.
The compact packet retains per-execution counters, trace hashes, source inventories, build/toolchain identities, matching-artifact conformance and failed-attempt receipts. At publication, all 216 selected raw trace exports matched their compressed/uncompressed receipt hashes. Raw traces, Wasm, app sources, targets and temporary worktrees stay ignored. Original absolute paths inside receipts are provenance; future arithmetic/table checks require only this retained packet, while rebuilding or full raw-trace replay requires the playground. The pinned binary hash identifies the measured server; a reviewed IC checkout is not claimed to be its exact build source.
Regenerate/validate from the repository root: python3 research/experiments/2026-10-21-forum-comparison/report.py (append --check to validate without writing).