Harbor Forum at one million posts — 21 October 2026
All four implementations complete the full dataset, both measured suites and separate same-code upgrade checks with the default configured 3 GiB Wasm limit.
The seed is 100,000 users, 640 categories, 100,000 topics, 1,000,000 posts and 3,000,000 likes: ten times each Large-fixture count. The dataset is not reduced after a failure. All 25 ordinary sequences, the five-call interaction and three heavy operations use the frozen 23-method artifacts from the heavy round. Ordinary scaling ratios use new 100,000-post controls built from those exact artifacts; the earlier 20-method ordinary artifacts are excluded from ratios.
RSX uses native Wire/wasm64 against SDK e3a34291; upstream Rust uses Candid/wasm32 with Rust 1.99.0 and ic-cdk 0.20.3 (stable: ic-stable-structures 0.7.2). Motoko uses Candid, moc 1.16.1/core 2.6.2, EOP and memory64. The default benchmark Wasm limit is 3 GiB. Any explicit alternative limit is named in the tables and retained settings receipts; normal query/update instruction limits are unchanged. The separate 6 GiB Motoko case uses its own same-limit 100,000-post controls for both ordinary and heavy ratios.
Complete instructions include public wrappers, codecs, text/hash/join work, cleanup and page charges. The separately exported heap-page charge is included already; stable-source charges are not exported separately, so subtraction does not isolate CPU. Independent code, representations, compiler and transport differences prevent attributing the result solely to memory. RPC percentiles are local sequential PocketIC wall times with tracing/client overhead, not mainnet latency or production throughput. Calls are sequential within each run; sibling runs overlap on the host, so timing remains a local diagnostic.
Population occurs once, outside tracing, in committed batches of at most 500, with periodic capacity/status receipts. seed_batch is not a timed phase. The ordinary stats-read phase is timed; other setup/validation stats queries are outside capture. A controller snapshot preserves the pristine seeded baseline. Ordinary measurements and their explicit same-code upgrade check run first; loading and verifying that baseline, then deleting its snapshot, precedes heavy setup and measurements. Snapshot restore is a management operation, not an upgrade/KEEP test. Snapshot storage appears separately below because it increases IC total accounting while the ordinary suite runs.
Population and admission
| Selected arm / limit | Outcome | Committed seed batches | Recorded seed posts / likes |
|---|---|---|---|
| Upstream heap (3 GiB) | PASS | 8,402 | 1,000,000 / 3,000,000 |
| Upstream stable (3 GiB) | PASS | 8,402 | 1,000,000 / 3,000,000 |
| RSX Nyxus (3 GiB) | PASS | 8,402 | 1,000,000 / 3,000,000 |
| Motoko (3 GiB) | PASS | 8,402 | 1,000,000 / 3,000,000 |
| Motoko (6 GiB) | PASS | 8,402 | 1,000,000 / 3,000,000 |
Ordinary operations
Cells contain exact instruction mean per complete call, followed by the ratio to the matched 100,000-post ordinary control. A tenfold database does not imply tenfold per-call work: page limits and requests remain bounded. Queries and updates are identified; no-op is reported without subtraction.
| Operation | Upstream heap (3 GiB) | Upstream stable (3 GiB) | RSX Nyxus (3 GiB) | Motoko (3 GiB) | Motoko (6 GiB) |
|---|---|---|---|---|---|
| noop (update, n=64) | 2,328,327.03125 (1.159×) | 567,063.40625 (1.000×) | 483,273 (1.000×) | 885,040 (1.099×) | 885,040 (1.099×) |
| stats-read (query, n=64) | 3,652,516 (1.022×) | 373,274 (1.004×) | 331,665 (1.001×) | 578,140 (1.161×) | 578,140 (1.161×) |
| register (update, n=64) | 16,715,471.734375 (1.140×) | 3,123,609.40625 (1.055×) | 2,462,301.9375 (1.116×) | 4,413,540.46875 (1.351×) | 4,413,540.46875 (1.351×) |
| profile-update (update, n=64) | 14,807,797.0625 (1.207×) | 2,363,510.390625 (1.161×) | 2,118,108.640625 (1.093×) | 3,590,617.296875 (1.327×) | 3,590,617.296875 (1.327×) |
| category-create (update, n=64) | 13,282,412.0625 (1.162×) | 2,127,729.125 (1.335×) | 1,883,964.6875 (1.070×) | 3,421,679.65625 (1.209×) | 3,421,679.65625 (1.209×) |
| topic-create (update, n=64) | 20,958,211.75 (1.358×) | 8,520,143.4375 (1.349×) | 4,214,733.9375 (1.181×) | 10,797,493.9375 (1.376×) | 10,797,493.9375 (1.376×) |
| reply (update, n=64) | 15,950,994.109375 (1.258×) | 6,658,343.3125 (1.281×) | 3,846,390.875 (1.215×) | 9,530,300.1875 (1.331×) | 9,530,300.1875 (1.331×) |
| post-edit-grow (update, n=64) | 15,805,870.53125 (1.374×) | 3,687,215.265625 (1.173×) | 2,251,869.9375 (1.085×) | 5,080,443.109375 (1.307×) | 5,080,443.109375 (1.307×) |
| like-add (update, n=64) | 11,602,799.90625 (1.272×) | 4,470,350.84375 (1.165×) | 2,304,750.453125 (1.087×) | 7,202,492.328125 (1.282×) | 7,202,492.328125 (1.282×) |
| like-idempotent (update, n=64) | 11,442,405.34375 (1.268×) | 3,558,504.421875 (1.198×) | 2,140,482.765625 (1.133×) | 6,767,754.96875 (1.299×) | 6,767,754.96875 (1.299×) |
| like-remove (update, n=64) | 11,599,337.5 (1.231×) | 5,578,396.859375 (1.141×) | 2,305,030.921875 (1.083×) | 7,053,231.484375 (1.285×) | 7,053,231.484375 (1.285×) |
| watch-add (update, n=64) | 9,234,023.609375 (1.064×) | 2,360,116.96875 (1.169×) | 1,733,205.3125 (1.078×) | 5,094,672.421875 (1.354×) | 5,094,672.421875 (1.354×) |
| read-advance (update, n=64) | 9,666,812.1875 (1.147×) | 3,645,478.796875 (1.213×) | 2,216,268.859375 (1.119×) | 6,479,559.5 (1.343×) | 6,479,559.5 (1.343×) |
| watch-remove (update, n=64) | 8,717,161.984375 (1.109×) | 2,363,792.15625 (1.168×) | 1,756,924.734375 (1.099×) | 5,303,117.75 (1.343×) | 5,303,117.75 (1.343×) |
| topic-lock (update, n=64) | 8,625,466.796875 (1.102×) | 2,167,504.46875 (1.247×) | 1,567,187.796875 (1.187×) | 4,740,060.15625 (1.223×) | 4,740,060.15625 (1.223×) |
| topic-unlock (update, n=64) | 8,625,466.796875 (1.102×) | 2,167,492.484375 (1.247×) | 1,567,185.796875 (1.187×) | 4,740,055.15625 (1.223×) | 4,740,055.15625 (1.223×) |
| post-hide (update, n=64) | 8,727,311.46875 (1.102×) | 3,307,410.53125 (1.224×) | 1,677,631.75 (1.166×) | 4,778,299.8125 (1.203×) | 4,778,299.8125 (1.203×) |
| post-unhide (update, n=64) | 8,727,311.46875 (1.102×) | 3,307,414.375 (1.224×) | 1,677,629.75 (1.166×) | 4,780,794.8125 (1.203×) | 4,780,794.8125 (1.203×) |
| user-get (query, n=64) | 9,091,265.578125 (1.195×) | 911,064.359375 (1.108×) | 798,131.765625 (1.114×) | 1,770,914.46875 (1.316×) | 1,770,914.46875 (1.316×) |
| post-get (query, n=64) | 10,221,001.234375 (1.318×) | 2,920,355.875 (1.225×) | 1,851,066.9375 (1.148×) | 6,467,787.890625 (1.319×) | 6,467,787.890625 (1.319×) |
| topic-read (query, n=64) | 15,023,784.703125 (1.361×) | 5,364,565.609375 (1.250×) | 2,662,446.203125 (1.150×) | 9,311,943.953125 (1.314×) | 9,311,943.953125 (1.314×) |
| category-feed (query, n=64) | 11,908,943.84375 (1.534×) | 4,676,724.421875 (2.193×) | 4,501,563 (2.357×) | 16,877,537.640625 (1.984×) | 16,877,537.640625 (1.984×) |
| global-feed (query, n=64) | 9,582,454.5625 (1.282×) | 1,808,872.40625 (1.241×) | 1,183,426.875 (1.155×) | 2,370,796.40625 (1.227×) | 2,370,796.40625 (1.227×) |
| author-posts (query, n=64) | 15,709,035.9375 (1.347×) | 14,018,891.765625 (1.328×) | 6,386,766.109375 (1.224×) | 19,861,263.90625 (1.336×) | 19,861,263.90625 (1.336×) |
| dashboard (query, n=32) | 17,930,453.5625 (1.507×) | 6,907,807.59375 (1.581×) | 6,219,585.03125 (1.509×) | 23,253,671.28125 (1.426×) | 23,253,671.28125 (1.426×) |
| Five-call interaction (n=32) | 72,179,253.4375 (1.343×) | 24,256,183.125 (1.277×) | 12,960,699.46875 (1.137×) | 39,275,525.78125 (1.304×) | 39,275,525.78125 (1.304×) |
Selected heap examples are dominated by exported page charges: noop 2,328,327.03125 total / 2,321,250 heap-page instructions (99.70%); reply 15,950,994.109375 total / 15,793,750 heap-page instructions (99.01%); post-get 10,221,001.234375 total / 10,067,500 heap-page instructions (98.50%). The literal no-op body reads no application state. These complete endpoint costs do not establish a full-heap scan or isolate collection costs; no-op is not a universal fee to subtract. Assigning individual pages to Candid, the allocator or another layer requires attribution profiling.
Local ordinary RPC wall latency, p50 / p95 ms
| Operation | Upstream heap (3 GiB) | Upstream stable (3 GiB) | RSX Nyxus (3 GiB) | Motoko (3 GiB) | Motoko (6 GiB) |
|---|---|---|---|---|---|
| noop | 124.73 / 136.80 | 121.40 / 129.55 | 86.91 / 93.08 | 123.27 / 127.97 | 109.26 / 111.27 |
| stats-read | 17.29 / 20.86 | 15.49 / 18.36 | 15.66 / 21.68 | 16.82 / 18.58 | 15.06 / 15.46 |
| register | 133.87 / 140.55 | 126.20 / 132.79 | 91.35 / 98.11 | 127.30 / 137.71 | 113.28 / 116.35 |
| profile-update | 133.81 / 139.79 | 124.13 / 130.37 | 89.21 / 94.24 | 127.56 / 131.97 | 113.96 / 116.17 |
| category-create | 133.38 / 140.30 | 124.64 / 130.57 | 90.48 / 94.51 | 128.34 / 132.87 | 113.27 / 119.40 |
| topic-create | 140.26 / 149.39 | 130.04 / 138.17 | 92.85 / 98.03 | 137.37 / 158.77 | 125.25 / 148.52 |
| reply | 137.49 / 142.51 | 130.11 / 136.07 | 93.76 / 99.77 | 135.80 / 143.64 | 121.41 / 122.81 |
| post-edit-grow | 138.35 / 143.24 | 129.79 / 137.90 | 94.82 / 100.33 | 135.53 / 143.85 | 119.27 / 123.63 |
| like-add | 138.26 / 145.67 | 131.50 / 136.11 | 96.32 / 101.61 | 136.69 / 143.37 | 122.63 / 126.10 |
| like-idempotent | 138.21 / 144.54 | 131.76 / 138.22 | 95.64 / 101.71 | 130.36 / 136.03 | 121.86 / 124.17 |
| like-remove | 138.88 / 144.05 | 133.34 / 139.18 | 97.69 / 102.32 | 131.02 / 135.84 | 123.35 / 125.91 |
| watch-add | 138.06 / 144.63 | 131.11 / 138.54 | 96.81 / 102.98 | 129.02 / 133.27 | 122.06 / 124.47 |
| read-advance | 141.51 / 147.63 | 134.09 / 140.04 | 97.97 / 104.03 | 131.69 / 140.00 | 122.99 / 138.34 |
| watch-remove | 139.14 / 148.40 | 132.67 / 138.89 | 98.01 / 104.59 | 135.50 / 140.36 | 126.49 / 129.67 |
| topic-lock | 139.96 / 144.89 | 132.87 / 138.63 | 97.62 / 101.19 | 131.75 / 134.96 | 123.63 / 127.85 |
| topic-unlock | 140.27 / 147.39 | 136.22 / 140.50 | 99.08 / 104.17 | 134.41 / 140.26 | 123.63 / 125.42 |
| post-hide | 141.03 / 146.63 | 136.24 / 144.35 | 99.53 / 103.20 | 132.16 / 139.43 | 123.39 / 126.08 |
| post-unhide | 142.78 / 147.88 | 135.88 / 141.63 | 99.74 / 118.11 | 133.21 / 141.78 | 123.90 / 125.79 |
| user-get | 21.10 / 24.67 | 16.23 / 20.12 | 15.65 / 16.78 | 17.08 / 18.39 | 16.17 / 16.57 |
| post-get | 21.87 / 23.97 | 18.17 / 21.83 | 16.95 / 19.26 | 20.92 / 22.69 | 19.58 / 20.26 |
| topic-read | 28.57 / 31.62 | 23.27 / 25.35 | 21.30 / 23.88 | 27.01 / 30.20 | 25.56 / 27.50 |
| category-feed | 30.72 / 34.35 | 26.35 / 30.37 | 25.62 / 28.05 | 36.89 / 40.35 | 34.64 / 37.01 |
| global-feed | 31.79 / 35.26 | 27.24 / 30.38 | 25.88 / 29.79 | 28.08 / 30.35 | 26.83 / 27.89 |
| author-posts | 38.90 / 43.83 | 37.71 / 42.09 | 32.32 / 35.38 | 45.09 / 48.57 | 42.77 / 45.69 |
| dashboard | 44.57 / 48.07 | 36.61 / 39.43 | 34.52 / 37.45 | 43.61 / 45.47 | 41.60 / 42.70 |
| Five-call interaction | 549.62 / 566.32 | 502.59 / 515.40 | 394.12 / 408.70 | 494.81 / 515.95 | 464.24 / 492.92 |
Heavy operations
All heavy calls use 16 samples. Ratios reuse the exact-artifact 100,000-post heavy receipts, not rebuilt controls. Real ordinary edits, moderation, likes, watch/read activity and eight replies precede this suite on the restored baseline. Maintenance scans full stored bodies and indexes, then rewrites complete persistent summaries. With 16 samples, nearest-rank p95 equals the maximum. Content audit still scans 4,096 posts per call, but mean body bytes grow from 2,141,882.125 to 2,145,666.25, and returned category groups from 64 to 410.375 as configured categories grow 64→640. Its end-to-end ratio includes greater aggregation and reply encoding work; it is not identical-work storage isolation.
| Operation / metric | Upstream heap (3 GiB) | Upstream stable (3 GiB) | RSX Nyxus (3 GiB) | Motoko (3 GiB) | Motoko (6 GiB) |
|---|---|---|---|---|---|
| content-audit: complete instructions (ratio) | 131,322,532.3125 (1.084×) | 636,521,532.8125 (1.193×) | 157,252,888.25 (1.042×) | 1,708,896,262.5625 (1.013×) | 1,708,896,262.5625 (1.013×) |
| Included heap-page charge | 17,050,000 | 555,000 | 11,280,000 | 216,300,000 | 216,300,000 |
| Local RPC p50 / p95 ms | 71.80 / 78.59 | 218.16 / 251.31 | 67.59 / 87.18 | 514.72 / 535.17 | 489.88 / 504.46 |
| Mean real posts / body bytes / summary writes | 4,096 / 2,145,666.25 / 0 | 4,096 / 2,145,666.25 / 0 | 4,096 / 2,145,666.25 / 0 | 4,096 / 2,145,666.25 / 0 | 4,096 / 2,145,666.25 / 0 |
| topic-reconciliation: complete instructions (ratio) | 49,993,467.375 (1.093×) | 131,015,430.5 (1.147×) | 37,245,870.6875 (1.024×) | 2,401,829,176.9375 (2.536×) | 2,401,829,176.9375 (2.536×) |
| Included heap-page charge | 19,505,000 | 560,000 | 4,500,000 | 1,014,050,000 | 1,014,050,000 |
| Local RPC p50 / p95 ms | 166.45 / 171.93 | 180.01 / 194.16 | 117.91 / 123.54 | 624.25 / 11000.78 | 586.24 / 10649.14 |
| Mean real posts / body bytes / summary writes | 1,280.5 / 670,872.25 / 128 | 1,280.5 / 670,872.25 / 128 | 1,280.5 / 670,872.25 / 128 | 1,280.5 / 670,872.25 / 128 | 1,280.5 / 670,872.25 / 128 |
| author-rollup: complete instructions (ratio) | 84,574,067 (1.071×) | 257,563,935.4375 (1.154×) | 75,780,060.25 (1.025×) | 2,363,256,735.125 (1.129×) | 2,363,256,735.125 (1.129×) |
| Included heap-page charge | 23,520,000 | 720,000 | 10,045,000 | 668,275,000 | 668,275,000 |
| Local RPC p50 / p95 ms | 180.13 / 186.03 | 225.28 / 232.53 | 127.35 / 134.04 | 607.87 / 9689.39 | 578.21 / 9451.41 |
| Mean real posts / body bytes / summary writes | 2,560.5 / 1,341,590.75 / 256 | 2,560.5 / 1,341,590.75 / 256 | 2,560.5 / 1,341,590.75 / 256 | 2,560.5 / 1,341,590.75 / 256 | 2,560.5 / 1,341,590.75 / 256 |
Memory, snapshots and upgrades
Capacities are MiB, not live allocation or host RSS. Each cell shows grown heap / stable / snapshot storage / total IC accounting. Total accounting includes snapshots; it must not be presented as application heap. Populated is before the snapshot; ordinary end is before its explicit upgrade; heavy end is before its own upgrade and after snapshot deletion.
| Measurement boundary | Upstream heap (3 GiB) | Upstream stable (3 GiB) | RSX Nyxus (3 GiB) | Motoko (3 GiB) | Motoko (6 GiB) |
|---|---|---|---|---|---|
| Matched 100k ordinary end | 83.00 / 0.00 / 0.00 / 83.26 | 1.19 / 98.06 / 0.00 / 99.53 | 115.00 / 0.00 / 0.00 / 115.18 | 576.00 / 0.00 / 0.00 / 576.19 | 576.00 / 0.00 / 576.17 / 1152.37 |
| Matched 100k heavy end | 83.75 / 0.00 / 0.00 / 84.01 | 1.25 / 98.06 / 0.00 / 99.60 | 115.81 / 0.00 / 0.00 / 115.99 | 704.00 / 0.00 / 0.00 / 704.19 | 704.00 / 0.00 / 0.00 / 704.19 |
| Populated | 818.19 / 0.00 / 0.00 / 818.45 | 1.19 / 899.06 / 0.00 / 900.53 | 1127.56 / 0.00 / 0.00 / 1127.74 | 2624.00 / 0.00 / 0.00 / 2624.19 | 2624.00 / 0.00 / 0.00 / 2624.19 |
| Ordinary ready | 818.19 / 0.00 / 818.44 / 1636.88 | 1.19 / 899.06 / 900.52 / 1801.06 | 1127.56 / 0.00 / 1127.70 / 2255.44 | 2624.00 / 0.00 / 2624.17 / 5248.37 | 2624.00 / 0.00 / 2624.17 / 5248.37 |
| Ordinary end | 818.44 / 0.00 / 818.44 / 1637.13 | 1.19 / 899.06 / 900.52 / 1801.06 | 1127.88 / 0.00 / 1127.70 / 2255.75 | 2624.00 / 0.00 / 2624.17 / 5248.37 | 2624.00 / 0.00 / 2624.17 / 5248.37 |
| Heavy ready | 818.25 / 0.00 / 0.00 / 818.51 | 1.19 / 899.06 / 0.00 / 900.53 | 1127.62 / 0.00 / 0.00 / 1127.80 | 2624.00 / 0.00 / 0.00 / 2624.19 | 2624.00 / 0.00 / 0.00 / 2624.19 |
| Heavy end | 819.19 / 0.00 / 0.00 / 819.45 | 1.25 / 899.06 / 0.00 / 900.60 | 1128.69 / 0.00 / 0.00 / 1128.87 | 2688.00 / 0.00 / 0.00 / 2688.19 | 2688.00 / 0.00 / 0.00 / 2688.19 |
| Ordinary 1M−100k end heap / stable growth | 735.44 / 0.00 | 0.00 / 801.00 | 1012.88 / 0.00 | 2048.00 / 0.00 | 2048.00 / 0.00 |
| Heavy 1M−100k end heap / stable growth | 735.44 / 0.00 | 0.00 / 801.00 | 1012.88 / 0.00 | 1984.00 / 0.00 | 1984.00 / 0.00 |
| Ordinary / heavy same-code state persistence | No (expected) / No (expected) | Yes / Yes | Yes / Yes | Yes / Yes | Yes / Yes |
| Same-code hook instructions: ordinary / heavy | 0 / 0 | 2,438,970 / 2,438,970 | 27,484,440 / 27,484,850 | 2,686,044 / 2,686,486 | 2,686,044 / 2,686,486 |
Both explicit upgrades compare logical stats and the last seeded post on persistent arms. The heavy upgrade additionally checks previous-row folds for the first three topic and three author summaries, plus a 32-post audit. This samples persisted summary state rather than exhaustively reading all 2,048 topic and 4,096 author summaries. Heap deliberately resets on replacement; its zero hook counter means no recorded Wasm lifecycle hooks, not a free persistent upgrade. Hook counters exclude compilation and management work. Snapshot load independently restores the seed and is followed by exact stats/post and sampled payload/index checks. Take/load/delete, compilation and snapshot storage charges occur outside application captures. Small calibration verifies this protocol on the measured PocketIC binary; reviewed local IC source is not claimed to be that binary's exact build source. The bounded IC/artifact review verifies Motoko memory64, documents the configured limit versus address-mode ceiling and the EOP GC heuristic, and separates source facts from actual run outcomes.
Provenance and verification
The manifest retains exact selected results/failures, same-artifact ordinary controls, per-execution/source/snapshot receipts, calibration and small frozen host/spec sources. Matching returned business digests, final state counts, complete execution sums, means, page charges and local percentile arithmetic are checked offline. Heavy oracle replay also checks known FNV vectors, slow BigInt arithmetic, work/checksums and expected persisted-summary folds. Sources/artifacts remain unchanged within every run. Population and Large-row verification are sampled rather than exhaustive.
heap-scale10-01: PASS record.stable-scale10-01: PASS record.rsx-scale10-01: PASS record.motoko-scale10-01: PASS record.heap-round2-ordinary-large-01: PASS record.stable-round2-ordinary-large-01: PASS record.rsx-round2-ordinary-large-01: PASS record.motoko-round2-ordinary-large-01: PASS record.motoko-scale10-6g-01: PASS record.motoko-round2-scale-large-6g-01: PASS record.
Raw traces, app source, Wasm, targets and worktrees stay ignored. Original absolute paths are provenance. The compact retained evidence supports arithmetic, source-identity and oracle replay after playground removal; rebuilding or full raw-trace replay requires ignored artifacts. Publication performs no builds or canister runs.
Validate/regenerate with python3 research/experiments/2026-10-21-forum-comparison/report-scale.py (append --check to validate without writing). Experiment notes and measurement guidance define the surrounding scope.