Skip to content

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

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

puskuruk wants to merge 3 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 the 2026-10-19 runs with a BENCHMARKS.md section.

  • 63e7117 Add hello-nest to the HTTP benchmark matrix as nest-gea and nest-node
  • 600453d Record the hello-nest Node against compiled run of 2026-10-19 on an arm64 Linux VM
  • 32378b1 Record the full HTTP matrix of 2026-10-19 on the arm64 Linux VM

The Node row runs the tsc output of the same server.ts (Node's type stripping has no decorators). Measured in an arm64 Ubuntu 24.04 container (clang 18.1.3, Node 24.20.0, wrk 4.1.0) on an 8-vCPU Colima VM on an Apple M1, VM otherwise idle, house protocol. Not the bench host: the same binaries moved 25-46% between two runs an hour apart, so orders are firm and gap sizes are not. One run aborted at cpp-drogon (one worker, 63 wrk timeouts in warmup); the four controls were re-measured in a clean second run 19 minutes later.

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 132,018 97,355 6.3 7 254,633 211,371 8.5 11 179 µs 880 µs
hono-node 29,372 25,538 115.7 89 56,799 48,976 260.2 148 840 µs 2.89 ms
nest-gea 103,000 88,705 9.4 13 210,652 194,149 10.9 15 225 µs 1.15 ms
nest-node 42,828 38,581 119.2 698 77,146 81,775 334.8 1,700 718 µs 7.72 ms
gea-raw 156,805 153,935 4.6 14 291,858 278,909 5.9 15 154 µs 990 µs
node-raw 43,572 43,894 86.8 101 103,868 96,322 185.7 219 633 µs 2.69 ms
cpp-drogon 128,777 125,933 10.3 32 238,242 231,066 10.5 28 193 µs 940 µs
rust-axum 154,358 157,571 3.2 13 189,086 184,784 4.1 92 265 µs 950 µs
rust-hyper 186,388 180,580 2.2 10 208,856 211,222 2.6 6 251 µs 1.84 ms
cpp-epoll 175,417 170,298 2.3 6 290,664 288,241 3.4 6 143 µs 1.15 ms

Four workers, GET /: nest-gea 2.73× nest-node, hono-gea 4.48× hono-node, gea-raw 2.81× node-raw; nest-gea 0.83× hono-gea and 2.03× bare Node; PSS 1/31 for all three pairs. Records: bench/results/http-colima-arm64-2026-10-19{,-controls,-startup}.json and nest-colima-arm64-2026-10-19{,-startup}.json.

Verification: node scripts/test-hello-nest.mjs on the new layout → HELLO_NEST_PARITY: 10 of 11 identical; python3 -m py_compile bench/http-matrix.py; bash -n bench/goal-http-build.sh.

Related

Stack: #6 (1/4) → #7 (2/4) → #8 (3/4, the app this measures) → this PR. Compiler used for the run: the four fixes geastack/compiler#7, geastack/compiler#8, geastack/compiler#9, geastack/compiler#10 via GEA_COMPILER_DIR.

@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

Comment @coderabbitai help to get the list of available commands.

@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 from b7a7ed7 to b80284d Compare October 20, 2026 04: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