Skip to content

Nest 4/4: hello-nest in the HTTP benchmark matrix - #9

Draft
puskuruk wants to merge 2 commits into
nest/aot-hello-nestfrom
nest/bench-hello-nest
Draft

puskuruk wants to merge 2 commits into
nest/aot-hello-nestfrom
nest/bench-hello-nest

Conversation

@puskuruk

@puskuruk puskuruk commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Adds nest-gea and nest-node rows to bench/http-matrix.py and the Nest build to bench/goal-http-build.sh, aligns apps/hello-nest with the other benchmark apps (gea binary in dist/, tsc oracle in dist-node/, a cluster.node.mjs), and records one run in BENCHMARKS.md.

  • 4efef07 Add hello-nest to the HTTP benchmark matrix as nest-gea and nest-node
  • d41c296 Record the 2026-11-21 HTTP matrix on the arm64 Linux VM with platform-node 12.5.1

The Node row runs the tsc output of the same server.ts (Node's type stripping has no decorators). The run, 2026-11-21: arm64 Ubuntu 24.04 container (clang 18.1.3, Node 24.20.0, cargo 1.90) on an 8-vCPU Colima VM on an Apple M1, the VM's other containers stopped and the host idle, house protocol, all ten servers three complete rounds, 72 wire checks passed. The load generator is wrk 4.1.0 patched to the monotonic clock, because the VM's guest agent steps its wall clock and stock wrk then reports false timeouts. hello-nest on platform-node 12.5.1 answered 11 of 11 identical before the run. brotli 1.2.1 was supplied through BROTLI_DIR because Ubuntu's 1.1.0 fails the build's CVE check. Not the bench host: compare ratios, not absolute numbers, across runs. The October runs on 12.1.3 and 12.2.0 are dropped.

The three gea binaries were built in the container by compiler main 1ae87837 (1.0.61) plus geastack/compiler#21, geastack/compiler#28, geastack/compiler#29, geastack/compiler#30, geastack/compiler#31 and geastack/compiler#33, packed and installed through GEA_COMPILER_DIR; no release builds this tree yet, and BENCHMARKS.md says so.

Server 1w / 1w /json 1w PSS MiB 1w startup ms 4w / 4w /json 4w PSS MiB 4w startup ms 4w p50 4w p99
hono-gea 101,976 77,438 6.6 11 267,135 221,123 8.8 14 186 µs 1.38 ms
hono-node 19,602 18,276 105.1 93 57,472 52,756 254.7 136 1.02 ms 2.71 ms
nest-gea 67,391 64,149 11.5 19 201,071 185,376 13.6 21 266 µs 1.24 ms
nest-node 33,759 30,668 124.9 801 96,807 87,825 355.0 1,369 587 µs 1.68 ms
gea-raw 164,840 166,216 4.7 9 338,969 335,115 6.1 10 140 µs 1.16 ms
node-raw 35,551 35,323 86.1 69 103,145 100,339 180.5 113 549 µs 1.63 ms
cpp-drogon 120,560 123,346 10.1 20 285,978 286,891 10.3 12 167 µs 1.05 ms
rust-axum 141,322 145,564 3.2 6 227,313 227,929 4.1 6 237 µs 748 µs
rust-hyper 171,116 172,834 2.2 7 235,277 237,552 3.0 6 216 µs 600 µs
cpp-epoll 196,066 193,934 2.2 7 385,802 367,690 3.4 6 120 µs 1.00 ms

GET / at four workers, compiled over Node: hono-gea 4.65×, nest-gea 2.08×, gea-raw 3.29×; nest-gea is 0.75× hono-gea and 1.95× bare Node. PSS 1/29, 1/26 and 1/30. rust-hyper's four-worker rounds spread 16%, the others 2–6%.

Verification on d41c296 with main + those PRs, macOS arm64: node scripts/test-hello-nest.mjs 11 of 11; tools/nest check 24 tables; node --test scripts/test-package.mjs 6 pass.

Related

Stack: #6 (1/4, shims) → #7 (2/4, vendor) → #8 (3/4, AOT) → this PR.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@puskuruk

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch from 714d794 to f6c7b52 Compare October 20, 2026 04:33
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch 2 times, most recently from b80284d to 475e307 Compare October 23, 2026 01:48
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch 2 times, most recently from 00d3cba to 2663870 Compare October 23, 2026 09:17
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch from 475e307 to 32411a6 Compare October 23, 2026 09:17
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch from 2663870 to df1a705 Compare October 25, 2026 16:20
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch from 32411a6 to e61a006 Compare October 25, 2026 16:20
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch from e61a006 to f63c27d Compare November 10, 2026 10:57
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch 2 times, most recently from 3d91d0c to e85f57d Compare November 12, 2026 08:50
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch 2 times, most recently from 841f7b5 to bac03a2 Compare November 12, 2026 09:17
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch from bac03a2 to 320cff8 Compare November 20, 2026 22:26
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch 2 times, most recently from 08418b9 to 7ddae25 Compare November 21, 2026 03:29
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch from 320cff8 to d41c296 Compare November 21, 2026 03:29
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch from 7ddae25 to 9da80ba Compare November 21, 2026 10:18
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch from d41c296 to 03a7d3d Compare November 21, 2026 10:18
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch from 9da80ba to d973afd Compare November 21, 2026 11:09
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch 2 times, most recently from 5763322 to 3df7f72 Compare November 21, 2026 11:50
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch 2 times, most recently from 04b4d2f to 45f6379 Compare November 21, 2026 12:57
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch from 3df7f72 to 3193fb3 Compare November 21, 2026 12:57
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch from 45f6379 to 62da4d2 Compare November 21, 2026 13:54
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch 3 times, most recently from 598be5a to 3f41e1b Compare November 21, 2026 17:30
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch 2 times, most recently from 01af736 to fc6ecd3 Compare November 21, 2026 19:00
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch from 3f41e1b to 38bdf53 Compare November 21, 2026 19:00
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch from fc6ecd3 to 45e9256 Compare November 21, 2026 19:55
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch from 38bdf53 to a20b249 Compare November 21, 2026 19:55
…-node 12.5.1

All ten servers, three rounds each, with the monotonic-clock wrk. The gea binaries come from compiler main 1ae87837 plus geastack/compiler#21, #28-#31 and #33, which no release carries yet; BENCHMARKS.md names them.
@puskuruk
puskuruk force-pushed the nest/bench-hello-nest branch from a20b249 to d495210 Compare November 21, 2026 20:33
@puskuruk
puskuruk force-pushed the nest/aot-hello-nest branch from 45e9256 to 3b32156 Compare November 21, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant