Benchmarks

Benchmark results for OpenCanvas with the hardware, store and load mix of every run: edit latency, memory and reconnect times per scenario.

Every number below comes from a result file in bench/results/, produced by scripts/bench/run (docs/36 §3). Each result names the machine it ran on, the hardware, the store and the load mix. **Results marked local ran on a developer laptop in short form, not on the reference machine (4 vCPU, 8 GB), and are not the published capacity.** The capacity page has the sizing guidance.

BROWSER — 2026-11-28-browser-ci-ubuntu-latest

  • Run: 2026-11-28, commit 556e97e; AMD EPYC 7763 64-Core Processor, 4 vCPU, 15 GB RAM, Ubuntu 26.04.1 LTS, sda 1 Virtual Disk;; machine ci-ubuntu-latest; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
s1,1911,2997
m1,3631,3827.2

Initial JavaScript: 289,919 bytes gzip (budget 300 KB).

  • Run: 2026-11-28, commit ?; ?, ? vCPU, ? GB RAM, ?, ?; machine Apple M4, local, other agents' builds running (background load); store ?

BROWSER — 2026-11-28-browser-local

  • Run: 2026-11-28, commit 87a89b6; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
50mb4,3487,33526.3

Initial JavaScript: 299,073 bytes gzip (budget 300 KB).

BROWSER — 2026-11-28-browser-local-reopen

  • Run: 2026-11-28, commit 87a89b6; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
50mb1,9833,24612.8

Initial JavaScript: 299,073 bytes gzip (budget 300 KB).

browser A/B, PSYNC-BUG-3 — 2026-11-28-browser-local-psync3-ab

  • Run: 2026-11-28, commit ?; ?, ? vCPU, ? GB RAM, ?, ?; machine local (Apple M4, load average 10-20 from other work: interleaved rounds); store ?
  • Load: ; , CPU throttle 4×, 40 Mbit/s, 40 ms RTT

BROWSER — 2026-11-28-browser-local-exp-idleids

  • Run: 2026-11-28, commit c951139; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local-exp-idleids; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
s6056137.3

Initial JavaScript: 299,346 bytes gzip (budget 300 KB).

BROWSER — 2026-11-28-browser-local-exp-base

  • Run: 2026-11-28, commit c951139; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local-exp-base; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
s7217277.2

Initial JavaScript: 299,382 bytes gzip (budget 300 KB).

BROWSER — 2026-11-28-browser-local-ab-prog-reopen

  • Run: 2026-11-28, commit c951139; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local-ab-prog; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
50mb2,5805,00516.2

Initial JavaScript: 299,684 bytes gzip (budget 300 KB).

BROWSER — 2026-11-28-browser-local-ab-noprog-reopen

  • Run: 2026-11-28, commit c951139; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local-ab-noprog; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
50mb2,0964,26615.3

Initial JavaScript: 298,996 bytes gzip (budget 300 KB).

BROWSER — 2026-11-28-browser-local-ab-first-reopen

  • Run: 2026-11-28, commit c951139; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local-ab-first; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
50mb1,8823,70012.8

Initial JavaScript: 299,073 bytes gzip (budget 300 KB).

BROWSER — 2026-11-28-browser-local-psync2-reopen

  • Run: 2026-11-28, commit e26b82f; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local-psync2; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
50mb1,3353,29815

Initial JavaScript: 299,382 bytes gzip (budget 300 KB).

BROWSER — 2026-11-28-browser-local-psync2-before

  • Run: 2026-11-28, commit e26b82f; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local-psync2-before; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
50mb4,4116,70616.2

Initial JavaScript: 299,350 bytes gzip (budget 300 KB).

BROWSER — 2026-11-28-browser-local-before

  • Run: 2026-11-28, commit 754a937; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local-before; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
s8671,0237.3

Initial JavaScript: 299,312 bytes gzip (budget 300 KB).

BROWSER — 2026-11-28-browser-local-before-whole

  • Run: 2026-11-28, commit 754a937; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local-before; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
s1,0181,09710.2

Initial JavaScript: 299,312 bytes gzip (budget 300 KB).

BROWSER — 2026-11-28-browser-local-base6e5e-whole

  • Run: 2026-11-28, commit 754a937; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local-base6e5e; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
s9971,31910.3

Initial JavaScript: 294,137 bytes gzip (budget 300 KB).

CRASH-SAVE — 2026-11-28-crash-drill-save-mysql84-local

  • Run: 2026-11-28, commit c8f0554; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store mysql 8.4.13

BROWSER — 2026-11-26-browser-local-partial

  • Run: 2026-11-26, commit b4ba7db; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
50mb5,92512,25516.5

Initial JavaScript: 296,958 bytes gzip (budget 300 KB).

R1K short — 2026-11-26-r1k-short-local-cap1000-frames

  • Run: 2026-11-26, commit b55cb66 (uncommitted changes); Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store sqlite
  • Server settings: OC_MAX_PEERS=1000
  • Load mix: 1,000 connections over 1 rooms (docs demo); roles idle 0, presence 900, typing 100; presence 5/s, typing 2 edits/s; 4 min, 30 s buckets

Verdict: fail.

RuleMeasuredVerdict
p99 < 500 ms in every bucket (except 0 s after a fault)98.7pass
all 1000 clients connectedliveEnd 1,000, refusedFull 0pass
RSS within ± 10% after warm-up (first bucket to last)-10.7fail
no drops outside the fault buckets0pass
t (s)livep50 msp99 msserver RSS MBfault
301,00026.757.3163.1
601,00027.861.6134.4
901,00029.469.7131.2
1201,00030.697.7132.8
1501,00032.498.7133.4
1801,00030.988.7140.5
2101,00028.772.6140.7
2401,00025.554.2145.6
  • Not measured: all clients converge (state vectors and text equal): oc-bench verify checks convergence, this load run does not

X10K short — 2026-11-26-x10k-short-local-perf11

  • Run: 2026-11-26, commit 601d2a7; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store sqlite
  • Load mix: 10,000 connections over 500 rooms (docs demo:3,big:1); roles idle 7,500, presence 1,500, typing 1,000; presence 2/s, typing 1 edits/s; 4 min, 30 s buckets; faults: kill-restart at 120 s

Verdict: pass.

RuleMeasuredVerdict
p99 < 250 ms in every bucket (except 60 s after a fault)64.2pass
all 10000 clients connectedliveEnd 10,000, refusedFull 0pass
RSS < 6144 MB3,210pass
no drops outside the fault buckets0pass
every client back < 60 sliveBefore 10,000, liveEnd 10,000, maxSecs 37.1, p95Secs 9.8, reconnected 10,000pass
t (s)livep50 msp99 msserver RSS MBfault
3010,00041.462.21,086.7
6010,00041.661.61,669.5
9010,00041.551.71,636.4
12010,00041.864.21,659.4
1509,99841.450.23,210kill-restart
18010,00041.652.12,261.8
21010,00041.7502,278.3
24010,00041.653.91,783.9
  • Not measured: 0 acknowledged edits lost: proven by scenario R (oc-bench verify), not by this load run
  • Not measured: Redis + MySQL store: BENCH-02 (pass --store mysql with DATABASE_URL to run it by hand)

R1K short — 2026-11-26-r1k-short-local-cap1000

  • Run: 2026-11-26, commit 601d2a7 (uncommitted changes); Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store sqlite
  • Server settings: OC_MAX_PEERS=1000
  • Load mix: 1,000 connections over 1 rooms (docs demo); roles idle 0, presence 900, typing 100; presence 5/s, typing 2 edits/s; 4 min, 30 s buckets

Verdict: fail.

RuleMeasuredVerdict
p99 < 500 ms in every bucket (except 0 s after a fault)80.6pass
all 1000 clients connectedliveEnd 1,000, refusedFull 0pass
RSS within ± 10% after warm-up (first bucket to last)62.5fail
no drops outside the fault buckets0pass
t (s)livep50 msp99 msserver RSS MBfault
301,00029.661.3261.5
601,00031.271280.6
901,00026.252.6271.8
1201,00027.255.3274.2
1501,0002753.1275.9
1801,00029.266.6280.5
2101,0003072.2280.5
2401,00032.580.6425
  • Not measured: all clients converge (state vectors and text equal): oc-bench verify checks convergence, this load run does not

BROWSER — 2026-11-26-browser-local

  • Run: 2026-11-26, commit 6e5e94a; Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store sqlite
  • Server settings: OC_MAX_DOC_MB=128
  • Load: one editor per run, a fresh file id each run (the room loads the fixture from the host); Chromium 159.0.8154.6, CPU throttle 4×, 40 Mbit/s, 40 ms RTT
FixtureFirst screen median msWorst msHeap MB
s73373510.2
m3,3314,90553.9
l5,9378,116109.6
50mb45,58247,217472.1

Initial JavaScript: 294,137 bytes gzip (budget 300 KB).

X10K short — 2026-11-26-x10k-short-local

  • Run: 2026-11-26, commit 451a526 (uncommitted changes); Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store sqlite
  • Load mix: 10,000 connections over 500 rooms (docs demo:3,big:1); roles idle 7,500, presence 1,500, typing 1,000; presence 2/s, typing 1 edits/s; 4 min, 30 s buckets; faults: kill-restart at 120.2 s

Verdict: fail.

RuleMeasuredVerdict
p99 < 250 ms in every bucket (except 60 s after a fault)11,328.7fail
all 10000 clients connectedliveEnd 10,000, refusedFull 0pass
RSS < 6144 MB1,726.4pass
no drops outside the fault buckets0pass
every client back < 60 sliveBefore 10,000, liveEnd 10,000, maxSecs 33.7, p95Secs 24.3, reconnected 10,000pass
t (s)livep50 msp99 msserver RSS MBfault
3010,00041.81,214.21,447.6
6010,000422,113.5987.3
9010,00043.26,279.7515.3
12010,00044.211,328.71,255
15010,000131.816,251.31,070.8kill-restart
18010,00043.910,423.61,726.4
21010,00041.84331,714
24010,00041.9389.61,350.3
  • Not measured: 0 acknowledged edits lost: proven by scenario R (oc-bench verify), not by this load run
  • Not measured: Redis + MySQL store: BENCH-02 (pass --store mysql with DATABASE_URL to run it by hand)

X10K short — 2026-11-26-x10k-short-local-run1

  • Run: 2026-11-26, commit 451a526 (uncommitted changes); Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store sqlite
  • Load mix: 10,000 connections over 500 rooms (docs demo:3,big:1); roles idle 7,500, presence 1,500, typing 1,000; presence 2/s, typing 1 edits/s; 4 min, 30 s buckets; faults: kill-restart at 120 s

Verdict: fail.

RuleMeasuredVerdict
p99 < 250 ms in every bucket (except 60 s after a fault)3,493.5fail
RSS < 6144 MB1,682pass
no drops outside the fault buckets0pass
every client back < 60 sliveBefore 10,000, liveEnd 10,000, maxSecs 7.8, p95Secs 6.5, reconnected 10,002pass
t (s)livep50 msp99 msserver RSS MBfault
3010,00041.5702.51,414
6010,00041.5307.91,320.2
9010,00041.548.91,635
12010,00041.5241.81,682
15010,00041.81,909.71,325.6kill-restart
18010,00041.452.31,485.9
21010,000433,532.51,496.3
24010,00042.63,493.5793.5
  • Not measured: 0 acknowledged edits lost: proven by scenario R (oc-bench verify), not by this load run
  • Not measured: Redis + MySQL store: BENCH-02 (pass --store mysql with DATABASE_URL to run it by hand)

R1K short — 2026-11-26-r1k-short-local

  • Run: 2026-11-26, commit 451a526 (uncommitted changes); Apple M4, 10 vCPU, 16 GB RAM, macOS 26.3, Internal SSD (Apple Fabric); machine local; store sqlite
  • Load mix: 1,000 connections over 1 rooms (docs demo); roles idle 0, presence 900, typing 100; presence 5/s, typing 2 edits/s; 4 min, 30 s buckets

Verdict: fail.

RuleMeasuredVerdict
all 1000 clients connectedliveEnd 550, refusedFull 13,485fail
p99 < 500 ms in every bucket (except 0 s after a fault)45.5pass
RSS within ± 10% after warm-up (first bucket to last)-0.1pass
no drops outside the fault buckets0pass
t (s)livep50 msp99 msserver RSS MBfault
305509.440.6126.8
605509.741.2130.9
905509.640.8130.6
1205509.841.2108.7
15055110.740.6106.5
18055210.241.8110.6
21055010.345.5154.7
2405509.941.8126.7
  • Not measured: all clients converge (state vectors and text equal): oc-bench verify checks convergence, this load run does not

Large databases (DB100K)

100,000 rows × 30 fields in one database, scrolled for 10 s per scenario with a cell edit every 500 ms. Frame times in ms; the gate is p95 at or under 16.7 ms (60 fps) with no long tasks.

local-m4-incremental — db100k-local-m4-incremental

  • Run: 2026-11-26; Apple M4, 10 cores, 16 GB RAM, Darwin 25.3.0; Chromium 159.0.8154.6, 1280x900, headless
  • Load mix: one tab, no peers, 100000 rows × 30 fields written in one local transaction; scripted scroll 10 s per scenario with a local cell edit every 500 ms
Scenariop50p95p99Long tasks
table16.716.716.80
tableSide16.716.716.80
board16.716.716.80

local-m4 — db100k-local-m4

  • Run: 2026-11-26; Apple M4, 10 cores, 16 GB RAM, Darwin 25.3.0; Chromium 159.0.8154.6, 1280x900, headless
  • Load mix: one tab, no peers, 100000 rows × 30 fields written in one local transaction; scripted scroll 10 s per scenario with a local cell edit every 500 ms
Scenariop50p95p99Long tasks
table16.7483.350019
tableSide16.7250300.119
board16.716.8200.119

Generated from bench/results in the repository; edit it there. Last changed .