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 swrk -t2 -c2GET → 30 swrk -t4 -c64GET → 20 swrk -t4 -c64POST. RSS sampled every 100 ms.
GET req/s · higher is better
wrk -t4 -c64 · 30 seconds — bars scaled to the fastest runtime
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
resident set lower is better
Idle RSS at startup and peak RSS under the c=64 load — bars scaled to the heaviest runtime
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
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.