Benchmarks

Workload: the todos REST API (HTTP + SQLite) — examples/todos-http-sqlite.tsm — with the identical API implemented for Node.js, Bun and Go. Load generated with wrk on loopback on a Vultr vc2-1c-1gb instance (1 vCPU Xeon Cascadelake, Ubuntu 24.04). Marina v0.2.0 evented build, AOT binary 274 KB. Benchmarked 2026-10-21.

Per runtime: fresh SQLite DB (10 seeded rows) → 10 s wrk -t2 -c2 GET → 30 s wrk -t4 -c64 GET → 20 s wrk -t4 -c64 POST. RSS sampled every 100 ms.

GET req/s · higher is better

wrk -t4 -c64 · 30 seconds — bars scaled to the fastest runtime

Marina 0.2 (evented)
10,879 req/s
Bun 1.4.3
19,285 req/s
Go 1.23
10,883 req/s
Node.js 22.23
9,889 req/s

Total requests in 30 s — Marina: 326,831, Bun: 579,090, Go: 326,888, Node: 297,094

POST req/s · higher is better

wrk -t4 -c64 · 20 seconds — each request inserts a row into SQLite, with JSON body validation

Marina 0.2 (evented)
1,403 req/s
Bun 1.4.3
990 req/s
Go 1.23
913 req/s
Node.js 22.23
942 req/s

resident set lower is better

Idle RSS at startup and peak RSS under the c=64 load — bars scaled to the heaviest runtime

Marina 0.2 (evented)
7.9 MB peak · 5.3 MB idle
Go 1.23
18.4 MB peak · 10.3 MB idle
Bun 1.4.3
39.4 MB peak · 22.3 MB idle
Node.js 22.23
81.1 MB peak · 57.9 MB idle

Latency (GET, c=64)

p50 / p99 in milliseconds — Marina's p99 beats both Go and Node.js

Runtime p50 p99
Marina 0.2 (evented) 5.85 ms 9.79 ms
Bun 1.4.3 3.1 ms 7.35 ms
Go 1.23 7.03 ms 49.59 ms
Node.js 22.23 5.95 ms 15.95 ms

concurrency sweep flat, no collapse

GET /todos — 5 s per point, req/s at each connection level

c=2
11,487 req/s
c=4
12,033 req/s
c=8
12,362 req/s
c=16
13,057 req/s
c=32
13,352 req/s
c=64
11,425 req/s

Takeaways

Bun leads raw GET throughput at about 19.3k req/s. The evented Marina build is level with Go at 10,879 req/s (c=64), with a p99 of 9.79 ms. POST (write + validation) is led by Marina at 1,403 req/s.

The headline is memory: Marina's AOT binary idles at 5.3 MB and peaks at 7.9 MB — about 2.3× lighter than Go at peak, and about 10× lighter than Node.js.