Benchmarks. Total.js compared with other Node.js frameworks
Same work, same traffic, open measurements.
Eight Node.js frameworks do the same four jobs at the same requested traffic. We measure memory, CPU, response time and errors, and publish every sample, the code and the execution on GitHub.
Results
Memory during load
Hello: Return a small JSON response. 1,000 req/s, median of 3 repetitions, with the lowest and highest.
RSS: the resident memory of the server process, not the live JavaScript heap. Lower first.
All the measurements of this workload
| Framework | Healthy runs | req/s | p99 · ms | Memory · MiB | CPU · % | Errors | Timeouts | Not 2xx |
|---|---|---|---|---|---|---|---|---|
| Node.js HTTPv24.15.0 | 3 / 3 | 1,000.1 (999.8–1,000.6) | 2.0 (2.0–2.0) | 70.1 (68.2–70.2) | 3.4 (3.4–3.5) | 0 | 0 | 0 |
| Total.js 50.0.20 | 3 / 3 | 999.9 (999.8–1,000.1) | 3.0 (2.0–3.0) | 82.4 (82.1–82.8) | 4.3 (4.2–4.3) | 0 | 0 | 0 |
| Express5.3.0 | 3 / 3 | 999.8 (999.8–1,000.0) | 5.0 (5.0–6.0) | 91.1 (90.7–91.1) | 7.9 (7.6–8.0) | 0 | 0 | 0 |
| Fastify5.12.7 | 3 / 3 | 999.8 (999.8–1,000.3) | 3.0 (3.0–3.0) | 92.5 (89.2–93.6) | 4.1 (3.9–4.1) | 0 | 0 | 0 |
| NestJS / Express12.1.3 | 3 / 3 | 999.9 (999.8–1,000.0) | 5.0 (5.0–6.0) | 130.5 (127.9–131.2) | 9.7 (9.7–10.0) | 0 | 0 | 0 |
| AdonisJS6.21.0 | 3 / 3 | 999.8 (999.8–999.8) | 6.0 (6.0–6.0) | 144.3 (144.0–144.6) | 11.5 (11.0–11.7) | 0 | 0 | 0 |
| Total.js 40.0.99 | 3 / 3 | 999.8 (999.8–999.8) | 5.0 (5.0–5.0) | 162.4 (161.1–162.6) | 5.9 (5.9–6.0) | 0 | 0 | 0 |
| Meteor3.5.2 | 3 / 3 | 999.9 (999.7–1,000.0) | 8.0 (8.0–9.0) | 169.0 (167.6–169.8) | 13.0 (12.8–13.1) | 0 | 0 | 0 |
Each value is the median of the repetitions, with the lowest and highest in brackets.
Evidence of this campaign
- Completed
- Dec 1, 2026
- Machine
- AMD EPYC 7763 64-Core Processor · x64 · 4 logical CPUs
- Container limits
- 2 CPU · 2.0 GiB, external network off
- Runtime
- v24.15.0 · Linux
- Warm-up, load, recovery, repetitions
- 15 s · 60 s · 30 s · 3
- Connections
- 32
- Source commit
3ae4b5a4820a58ce653358b79cf5e4bfe87f1bc2
Source code GitHub Actions execution Original samples (JSON) Report (Markdown) Verification receipt
SHA-256: f0faa659ba2dc9e4bca23930dcbf7a430833eb7343cc481d2b6fbcd81323afab
How we measure
The four jobs
- Hello: Return a small JSON response.
- Catalog: Filter 1,000 records, sort them, take 20 and serialize the answer.
- Validate: Parse a JSON body and validate its fields.
- Upstream: Call a local service that answers in 10 ms, parse its answer and calculate an order total.
Each framework uses its real routes in a production process. A campaign covers eight frameworks, four jobs, two traffic rates and three repetitions: 192 measurements. Each job runs on its own GitHub virtual machine, with the same Node.js and the same container limits for everyone.
Read the conditions with the numbers
- Compare frameworks within the same campaign and job: the hosted machines can change between campaigns.
- The load generator shares the machine with the server. The requested traffic is a ceiling, so completed requests at a fixed rate do not measure maximum capacity.
- Memory is RSS, the resident memory of the process, not the live JavaScript heap.
- Every repetition stays visible, including the unhealthy ones.
- The results are checked automatically for completeness, not reviewed independently.
We work with Total.js, so we have an interest in it. That is why the code, the method and every sample are public: anyone can inspect them and run them again. Full methodology