Skip to content

Commit 3c3ba7a

Browse files
docs: update benchmark numbers [skip ci]
1 parent 33cbd54 commit 3c3ba7a

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ Visit `http://localhost:3000`.
9494
| | **merjs** | **Next.js** |
9595
| ---------------------- | -------------------------- | ------------------------------ |
9696
<!-- BENCH:START -->
97-
| Requests/sec (wrk) | **195.10 req/s** | **2463.43 req/s** |
98-
| Avg latency | **40.85ms 2.29ms** | **75.66ms 191.91ms** |
99-
| RAM usage (under load) | **4.7 MB** | **71.9 MB** |
100-
| Build time | **3683 ms** | **47459 ms** |
97+
| Requests/sec (wrk) | **195.15 req/s** | **2615.06 req/s** |
98+
| Avg latency | **40.86ms 2.42ms** | **74.39ms 194.54ms** |
99+
| RAM usage (under load) | **4.8 MB** | **73.3 MB** |
100+
| Build time | **4650 ms** | **32533 ms** |
101101
<!-- BENCH:END -->
102102

103103
> merjs is an early experiment — Next.js is mature and production-grade. Local and CI numbers differ due to hardware (Apple Silicon vs shared GitHub Actions VM).

benchmarks/latest.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"timestamp": "2026-03-24T07:15:52Z",
2+
"timestamp": "2026-03-24T16:59:23Z",
33
"runner": "ubuntu-latest",
44
"merjs": {
5-
"requests_per_sec": 195.1,
6-
"avg_latency_ms": "40.85ms 2.29ms",
7-
"ram_mb": 4.7,
8-
"build_time_ms": 3683,
5+
"requests_per_sec": 195.15,
6+
"avg_latency_ms": "40.86ms 2.42ms",
7+
"ram_mb": 4.8,
8+
"build_time_ms": 4650,
99
"binary_size": "40M",
10-
"binary_bytes": 41588792,
10+
"binary_bytes": 41546402,
1111
"source_files": 24
1212
},
1313
"nextjs": {
14-
"requests_per_sec": 2463.43,
15-
"avg_latency_ms": "75.66ms 191.91ms",
16-
"ram_mb": 71.9,
17-
"build_time_ms": 47459,
14+
"requests_per_sec": 2615.06,
15+
"avg_latency_ms": "74.39ms 194.54ms",
16+
"ram_mb": 73.3,
17+
"build_time_ms": 32533,
1818
"node_modules_size": "470M",
19-
"node_modules_bytes": 424799841,
19+
"node_modules_bytes": 424799984,
2020
"node_modules_files": 20666,
2121
"dot_next_size": "6.9M"
2222
}

examples/site/app/index.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ fn page() h.Node {
4747
}),
4848
benchRow("Cold Start", "8%", "< 5 ms", "80%", "~1-3 s"),
4949
benchRow("Throughput", "95%", "115,093 req/s", "8%", "2,060 req/s"),
50-
benchRow("Avg Latency", "48%", "40.85 ms", "90%", "75.66 ms"),
50+
benchRow("Avg Latency", "49%", "40.86 ms", "90%", "74.39 ms"),
5151
benchRow("Binary Size", "8%", "260 KB", "85%", "~300 MB node_modules"),
52-
benchRow("Build Time", "8%", "~3.7 s", "90%", "~47 s"),
52+
benchRow("Build Time", "12%", "~4.7 s", "90%", "~33 s"),
5353
h.p(.{ .class = "bench-note" }, .{
5454
h.text("Throughput and latency measured locally on Apple M-series with "),
5555
h.code(.{}, "wrk -t4 -c50"),

0 commit comments

Comments
 (0)