Skip to main content
Version: 0.5

Xisto vs Node: TechEmpower json and plaintext

Node is what a TypeScript service runs on today. Two references: Node's own http module, the floor of any Node framework, and fastify, the fastest of the popular ones.

Xisto's native Server against Node http, at a glance:

  • json: 71,666 against 29,258 requests per second at best (2.45× more), with 2.6× less CPU per request and 52.8× less memory (5.5 MB against 290.3 MB).
  • plaintext: 649,581 against 51,714 requests per second at best (12.56× more), with 13.1× less CPU per request and 19.5× less memory (42.4 MB against 826.6 MB).

The same round as the TechEmpower page, which has the full setup: the servers on the Xeon E5-2686 v4 (2 vCPUs), wrk 4.2.0 on the Graviton2 over the private network, the TFB's levels and rules, 15 s per level, the median of 3 runs. The reference here is Node v22.22.1 (Ubuntu's package), the TFB's frameworks/JavaScript/nodejs (node:http) and frameworks/JavaScript/fastify, both with node:cluster and one worker per CPU, unmodified except for the port. On the Xisto side, the native Server with 2 workers. NestJS, on Xisto, Node and Bun, has its own page.

json​

json: best requests per second (higher is better)
020k40k60k80kXisto (native)72kNode.js http29kFastify (Node.js)23k

The best of the levels, median of 3 runs at each level; Xisto in the accent colour. Every value is in the tables below.

json: Xisto (native) requests per second ÷ Node.js http's, at each level (above 1× Xisto answers more)
012316 connections1.31×32 connections1.78×64 connections2.27×128 connections2.40×256 connections2.48×512 connections2.58×

The dashed line is 1×, the same requests per second. Accent: the levels where Xisto answers more; grey: where Node.js http does.

json: requests per second by number of connections (higher is better)
  • Xisto (native)
  • Node.js http
020k40k60k80k163264128256512connections

Every level of the round; the values are in the table below.

json: CPU time per 1,000 requests, in ms (lower is better)
020406080100Xisto (native)25.4Node.js http67.0Fastify (Node.js)85.6

The server's user + system time over the run at its best level, divided by the requests it answered.

json: peak memory of all the server's processes, in MB (lower is better)
0100200300400Xisto (native)5.5Node.js http290.3Fastify (Node.js)301.6

The largest resident set size summed over all the server processes, across every level.

json: p99 latency by number of connections (lower is better, log scale)
  • Xisto (native)
  • Node.js http
1 ms10 ms100 ms1 s163264128256512connections

The 99th percentile of each level's median run, as wrk reports it; each step of the axis is ten times the one below. A level without a value had no p99 in wrk's output.

json in numbers​

server163264128256512
Xisto (native)29,61551,41566,44969,71271,66671,553
Node.js http22,67828,94229,25829,04328,89227,738
Fastify (Node.js)20,06122,24121,42023,01722,62821,756

Requests per second at each number of connections.

serverbest req/sconnections therep50 therep99 thereCPU ms per 1k requestspeak RSS
Xisto (native)71,6662562.4 ms66.9 ms25.45.5 MB
Node.js http29,258642.1 ms6.9 ms67.0290.3 MB
Fastify (Node.js)23,0171285.0 ms14.0 ms85.6301.6 MB

p99 at each level:

server163264128256512
Xisto (native)1.5 ms1.7 ms4.2 ms34.9 ms66.9 ms104 ms
Node.js http2.2 ms3.3 ms6.9 ms12.2 ms46.2 ms740 ms
Fastify (Node.js)2.4 ms4.2 ms6.7 ms14.0 ms130 ms1280 ms

plaintext​

plaintext: best requests per second (higher is better)
0200k400k600k800kXisto (native)650kNode.js http52kFastify (Node.js)37k

The best of the levels, median of 3 runs at each level; Xisto in the accent colour. Every value is in the tables below.

plaintext: Xisto (native) requests per second ÷ Node.js http's, at each level (above 1× Xisto answers more)
051015256 connections12.72×1,024 connections11.77×4,096 connections10.69×16,384 connections11.63×

The dashed line is 1×, the same requests per second. Accent: the levels where Xisto answers more; grey: where Node.js http does.

plaintext: requests per second by number of connections (higher is better)
  • Xisto (native)
  • Node.js http
0200k400k600k800k2561,0244,09616,384connections

Every level of the round; the values are in the table below.

plaintext: CPU time per 1,000 requests, in ms (lower is better)
0204060Xisto (native)3.0Node.js http39.3Fastify (Node.js)57.1

The server's user + system time over the run at its best level, divided by the requests it answered.

plaintext: peak memory of all the server's processes, in MB (lower is better)
02004006008001.0kXisto (native)42.4Node.js http826.6Fastify (Node.js)848.2

The largest resident set size summed over all the server processes, across every level.

plaintext: p99 latency by number of connections (lower is better, log scale)
  • Xisto (native)
  • Node.js http
100 ms1 s10 s2561,0244,09616,384connections

The 99th percentile of each level's median run, as wrk reports it; each step of the axis is ten times the one below. A level without a value had no p99 in wrk's output.

plaintext in numbers​

server2561,0244,09616,384
Xisto (native)649,581596,731552,728411,863
Node.js http51,08650,68751,71435,409
Fastify (Node.js)34,57635,11636,53424,701

Requests per second at each number of connections (HTTP pipelining 16 deep).

serverbest req/sconnections therep50 therep99 thereCPU ms per 1k requestspeak RSS
Xisto (native)649,5812563.8 ms204 ms3.042.4 MB
Node.js http51,7144,096238 ms1030 ms39.3826.6 MB
Fastify (Node.js)36,5344,096376 ms1030 ms57.1848.2 MB

p99 at each level:

server2561,0244,09616,384
Xisto (native)204 ms191 ms754 ms4110 ms
Node.js http3560 ms3920 ms1030 ms6680 ms
Fastify (Node.js)5760 ms3530 ms1030 ms7130 ms