Skip to content

Benchmarks

Published Elide benchmarks for JavaScript and Python startup and HTTP serving against Node, Bun, Deno and CPython, with machine, command and recording.

Read offlineelide help benchmarks

On this page

Benchmarks published for Elide 1.6.0. Each number links to a terminal recording or downloadable raw measurement reports. JavaScript startup and HTTP serving were re-recorded on October 15 with the release build 1.6.0, without the optional Python component. Python results retain their October 2 recording. No JVM benchmark is published.

Published Elide benchmarks Three bar charts. JavaScript hello-world startup, mean milliseconds, lower is better: Elide 1.43, Bun 1.63, Deno 6.31, Node 11.70. Python hello-world startup: Elide 4.8, CPython 6.0. HTTP serving requests per second, higher is better: Elide 635,510, Deno 163,511, Bun 156,974, Node 123,519. JAVASCRIPT STARTUP · MS · LOWER IS BETTER Elide 1.43 ms Bun 1.63 ms Deno 6.31 ms Node 11.70 ms PYTHON STARTUP · MS · LOWER IS BETTER Elide 4.8 ms CPython 6.0 ms HTTP SERVING · REQUESTS/S · HIGHER IS BETTER Elide 635,510 Deno 163,511 Bun 156,974 Node 123,519
  1. JavaScript hello-world startup, mean: Elide 1.43 ms, Bun 1.63 ms, Deno 6.31 ms, Node 11.70 ms.
  2. Python hello-world startup, mean: Elide 4.8 ms, CPython 6.0 ms.
  3. HTTP serving, requests per second: Elide 635,510, Deno 163,511, Bun 156,974, Node 123,519.

JavaScript startup

JavaScriptStartupNodeBunDeno

Time to run a one-line hello.js (console.log("Hello, World!");) and exit. Lower is better.

Runtime Version Command Mean
Elide 1.6.0 elide run hello.js 1.43 ± 0.06 ms
Bun 1.4.2 bun hello.js 1.63 ± 0.18 ms
Deno 2.9.7 deno run hello.js 6.31 ± 0.30 ms
Node 24.21.0 node hello.js 11.70 ± 0.90 ms
Hello-world JavaScript startup
  • Elide 1.6.01.43 ms
  • Bun 1.4.21.63 ms
  • Deno 2.9.76.31 ms
  • Node.js 24.21.011.7 ms
1×
Lower is better. Each ball is one run, from start to exit. Slowed 250×: 1 ms measured takes 0.25 s here.
Detail Value
Tool hyperfine -N -w 10 -r 100: no shell, 10 warmup runs, 100 measured
Machine 24-core AMD Ryzen Threadripper PRO 9965WX Linux workstation
Date 2026-10-15
Recording bench-startup (below)
Hello-world startup — Elide, Node, Bun, and Deno
 ~/demo  # hello world: 10 warmup runs, then 100 measured, no shell
 ~/demo  hyperfine [...]
 ~/demo  bench-chart javascript.json
 time · mean ± σ of 100 runs · lower is better

 hello.js                                                           Delta
 elide run hello.js  ███▍                           1.43 ms ± 0.06
 bun hello.js        ███▉                           1.63 ms ± 0.18  1.1× slower
 deno run hello.js   ███████████████▏               6.31 ms ± 0.30  4.4× slower
 node hello.js       ████████████████████████████  11.70 ms ± 0.90  8.2× slower
 

Python startup

PythonStartup

Time to run a one-line hello.py (print("Hello, World!")) and exit. Lower is better.

Runtime Version Command Mean
Elide 1.6.0 elide run hello.py 4.8 ± 0.3 ms
CPython not recorded python3 hello.py 6.0 ± 0.3 ms
Hello-world Python startup
  • Elide 1.6.04.8 ms
  • CPython6 ms
1×
Lower is better. Each ball is one run, from start to exit. Slowed 500×: 1 ms measured takes 0.5 s here.
Detail Value
Tool hyperfine -N -w 10: no shell, 10 warmup runs
Machine 24-core Linux workstation
Date 2026-10-02
Recording bench-startup-python (not published as a clip)

Python needs the optional component (elide setup python); see Python with Elide.

HTTP serving

JavaScriptHTTPNodeBunDeno

Requests per second and latency for a fetch handler that returns Hello, World!. Higher requests per second and lower latency are better.

javascript
// server.mjs
export default {
  port: 3000,
  hostname: "127.0.0.1",
  fetch() {
    return new Response("Hello, World!");
  },
};
utf-8 · javascript · Lines: 8
Runtime Version Command Requests/s p50 latency p99 latency
Elide 1.6.0 elide server.mjs 635,510 0.38 ms 0.59 ms
Deno 2.9.7 deno serve --port 3000 --host 127.0.0.1 server.mjs 163,511 1.54 ms 1.58 ms
Bun 1.4.2 bun server.mjs 156,974 1.60 ms 1.80 ms
Node 24.22.0 LTS node node-default.mjs 123,519 2.03 ms 2.24 ms
Default single-context HTTP serving throughput
  • Elide 1.6.0635,510 req/s
  • Deno 2.9.7163,511 req/s
  • Bun 1.4.2156,974 req/s
  • Node.js 24.22.0123,519 req/s
1×
Higher is better. Each dot is 100 responses. Slowed 1000×: 1 ms measured takes 1 s here. Dots cross at the same speed in every lane; only how often they leave differs.
Detail Value
Tool wrk -t12 -c256 -d10s --latency, after a discarded 5-second warmup run
Machine 24-core AMD Ryzen Threadripper PRO 9965WX Linux workstation; server on 24 logical CPUs, wrk on 24 others
Date 2026-10-15
Recording bench-serve (below)

The server CPU mask was 0-11,24-35; the client mask was 12-23,36-47: twelve physical cores and their SMT siblings per side, in a private network namespace. The table shows one recorded run on this machine.

Each server used its defaults and one JavaScript application context. Elide also uses transport threads. This compares default settings with the same handler and load, not maximum multi-core capacity. Node uses an equivalent native http handler with the same 13-byte body; HTTP headers remain runtime-specific. Its separate run used the same machine, CPU masks, private network namespace, warmup, and load settings, with no reported socket or HTTP status errors. Node’s raw report and handler are included in the reproduction package. The recording below covers the original three runtimes.

HTTP serving — Elide, Bun, and Deno answering one request
 ~/demo  # 24 CPUs per server, wrk on the other 24; 5s warmup, 10s measured
 ~/demo  # defaults: Bun and Deno serve on one thread, Elide on several
 ~/demo  elide server.mjs &
 ~/demo  wrk [...] > elide.txt
 ~/demo  bun server.mjs &
 ~/demo  wrk [...] > bun.txt
 ~/demo  deno serve --port 3000 --host 127.0.0.1 server.mjs &
 ~/demo  wrk [...] > deno.txt
 ~/demo  bench-chart elide.txt bun.txt deno.txt
 requests/sec · 12 threads, 256 connections, 10s · higher is better

                                                  Delta            p50      p99
 elide  ███████████████████████████████  635,510               0.38 ms  0.59 ms
 deno   ████████                         163,511  3.9× slower  1.54 ms  1.58 ms
 bun    ███████▋                         156,974  4.0× slower  1.60 ms  1.80 ms
 

Multi-context peak serving

JavaScriptHTTPMulti contextNodeBunDeno

The same Elide binary reached 10,697,938 requests/s with 24 application contexts in one process and HTTP/1.1 pipeline depth 16. Three fresh-server runs measured 10,697,938, 10,376,454, 10,648,229 requests/s; the mean was 10,574,207 requests/s. Every warmup and measured run reported zero request errors. Ordered-response preflight checked status, framing, and body bytes before each load.

This is a separate tuned throughput experiment. It does not establish a speedup over the default-serving comparison above, an off-host capacity estimate, or a maximum for other runtimes. Pipeline latency measures batches; we do not publish it as individual-request latency.

Configuration Default-serving comparison Peak multi-context serving
Elide throughput 635,510 requests/s 10,697,938 requests/s peak
JavaScript execution One context per runtime 24 contexts in one Elide process
HTTP load No pipelining Pipeline depth 16; 4096 varied URLs
Load generator 12 threads; 256 connections 16 threads; 256 connections
Warmup / measurement 5 seconds / 10 seconds 60 seconds / 60 seconds; three fresh servers
Handler Constant 13-byte Hello, World! response URL parsing; nine-byte hello-GET response
CPU budget 12 physical server cores + SMT; 12 for client 12 physical server cores + SMT; 12 for client
Scheduling Default serving settings Explicit inline serving; io_uring
Network Private namespace, loopback Host loopback
Build Elide 1.6.0, without Python Same Elide binary; Serial GC

Parallel runtime comparison

We also ran Bun 1.4.3, Deno 2.9.7, and Node.js 24.22.0 LTS against the peak workload above: same server/client CPU masks, 256 connections, sixteen client threads, pipeline depth 16, URL parsing, and nine-byte response. Each configuration had three fresh-server runs, each with 60 seconds warmup and 60 seconds measurement. Runtimes ran sequentially, with configurations interleaved between repeats. These results do not use estimated process scaling or memory penalties.

Pipelined HTTP serving — measured configurations
  • Elide24 contexts 1.6.010,697,938 req/s
  • Deno24 worker isolates 2.9.74,152,202 req/s
  • Bun24 processes 1.4.33,573,293 req/s
  • Node.js24 cluster workers 24.22.02,801,194 req/s
  • Node.js139 timeouts · 3 runs1 process · reference 24.22.0217,282 req/s
1×
Higher is better. Each dot is 500 responses. Slowed 1000×: 1 ms measured takes 1 s here. Dots cross at the same speed in every lane; only how often they leave differs.
Runtime Configuration Peak requests/s Measured-run errors
Elide 1.6.0 24 contexts; published runs 10,697,938 0
Deno 2.9.7 24 worker isolates; --parallel 4,152,202 0
Bun 1.4.3 24 processes; reusePort 3,573,293 0
Node.js 24.22.0 LTS 24 node:cluster workers 2,801,194 0
Node.js 24.22.0 LTS One process; reference 217,282 139 timeouts across 3 runs

A fresh Elide control run reached 11,416,311 requests/s without errors. The comparison retains the previously published three-run peak instead of replacing it with this single control.

The competitor measurements were:

Configuration Run 1 Run 2 Run 3
Bun, 24 processes 3,571,718 3,573,293 3,560,084
Deno, 24 workers 4,123,713 4,039,565 4,152,202
Node.js, 24 workers 2,791,261 2,798,668 2,801,194
Node.js, one process 180,500 217,282 168,524

Node’s single-process measured runs reported 48, 42, and 49 timeout events respectively; their warmups reported 62, 52, and 64. All other measured runs and warmups reported zero connection, read, write, response-status, and timeout errors. Counts are wrk events, not failed-request rates.

Bun uses Linux port sharing; Deno uses worker isolates within one process; Node uses its built-in cluster coordinator. No external proxy is involved. Node uses its native http API; the other handlers use fetch-style APIs. All parse the URL and construct the response, but default HTTP headers differ. This is a comparison of these configurations, not a ceiling for any runtime. RSS savings were not benchmarked.

Download sources and raw results · Comparison summary

How contexts share a process

HTTPMulti contextArchitecture
Terminal
sh
elide run --contexts=auto server.mjs

This enables automatic context sizing; --contexts=24 requests a fixed count. The entry module runs in each context. Contexts handle requests concurrently, keep JavaScript globals and module state separate, and share one managed heap and garbage collector. Eligible parsed and JIT-compiled code can be reused across contexts. Sharing does not make ordinary JavaScript objects globally accessible. GC pauses and a process failure can affect all contexts; use external coordination for application data that must be shared.

Architecture comparison

This compares independent-process scaling with Elide’s multi-context model; other runtimes can also offer worker-thread models. Shared infrastructure can reduce duplication, but application work and context-local state still scale with the workload.

Resource Multiple processes Elide contexts
Replicas One process each One context each
Managed heap Separate ✅ Shared
GC pauses ✅ Per process ⚠ May span contexts
Parsed / JIT code Per process ✅ Shareable code reused
Runtime setup Per process ✅ Once per process
Telemetry pipeline Per process ✅ Shared batching/export
Request spans Per request Per request
Process metrics One stream per process ✅ One process stream
Listener Port sharing / routing ✅ One shared listener
I/O resources Per process Shared topology; per-owner queues
JS globals ✅ Isolated ✅ Isolated
App client pools Per replica Per context unless shared by an API
Coordination IPC / external storage Explicit APIs / external storage
CPU scheduling Process / worker threads Context owner threads
Crash isolation ✅ Per process ⚠ Shared process
Lifecycle Manage each process ✅ One lifecycle

Telemetry infrastructure is amortized across contexts; per-request instrumentation still costs work. Telemetry export was disabled for these measurements. Neither telemetry savings nor memory savings were measured by the HTTP benchmark.

Multiple runtime processes

Process 1Application stateHeap / GC · parsed and compiled codeTelemetry pipeline · I/O resources
Process 2Application stateHeap / GC · parsed and compiled codeTelemetry pipeline · I/O resources
Process 3Application stateHeap / GC · parsed and compiled codeTelemetry pipeline · I/O resources

Independent heaps and process isolation

One Elide process

Context 1Separate application state
Context 2Separate application state
Context 3Separate application state
Shared across contextsManaged heap + garbage collectorEligible parsed and JIT-compiled codeTelemetry batching / export · listener

Isolated contexts within a shared process

Shared heap does not mean shared JavaScript globals. Architecture comparison; memory and telemetry savings were not measured.

The peak benchmark also explicitly selects inline scheduling and io_uring, uses unlimited memlock, and pipelines requests. The simple command above does not enable all those benchmark settings. The download contains the exact command and environment; performance tuning explains the application-facing context setting. This diagram describes architecture, not measured memory savings.

Release comparison

The published 1.6.3 build and 1.6.4 on linux-amd64, measured back to back on one host. A difference inside either run’s standard deviation is noise. Python ran with the Python component installed; the other rows ran on builds without it.

Benchmark 1.6.3 1.6.4
JavaScript startup (elide uuid.js) 1.5 ± 0.1 ms 1.5 ± 0.1 ms
One-class compile (elide javac) 32.5 ± 1.0 ms 32.7 ± 1.1 ms
Python startup (elide run hello.py) 3.8 ± 0.4 ms 3.9 ± 0.4 ms
Static files (elide serve), req/s 2,034,688 2,155,343
Single context, req/s 667,066 713,538
24 contexts, pipeline depth 16, req/s 10,260,915 14,786,746
Detail Value
Startup hyperfine -N: 50 runs (uuid.js, hello.py) or 30 (javac) after warmups
Serving wrk -c256, 10 s (60 s at 24 contexts); server and client on separate halves of the CPUs; mean of 3 runs
Machine AMD Ryzen Threadripper PRO 9965WX, 24 cores, 128 GB RAM, Ubuntu 26.04.1 LTS, performance governor
Date 2026-11-28
Builds 1.6.3+bd4e428; 1.6.4+20261128 (Python) and 1.6.4+51081136be (the rest)
Raw results Under /assets/benchmarks/results/release-1.6.4/, for example 1.6.3 peak and 1.6.4 peak

Benchmark environment

These details apply to the October 15 JavaScript startup and HTTP measurements. The older Python recording has only the machine information listed in its own section; do not infer the same kernel or distro for it.

Detail Value
CPU AMD Ryzen Threadripper PRO 9965WX; 24 physical cores, 48 hardware threads, one socket
Memory 128 GB installed; approximately 122.9 GiB visible to Linux
OS Ubuntu 26.04.1 LTS, x86-64
Kernel Linux 7.0.0-34-generic
CPU policy Performance governor; frequency boost enabled
Server / client placement Twelve physical cores plus SMT siblings per side; disjoint CPU masks
Client wrk 4.1.0; exact options in the comparison table and download
Elide 1.6.0, release, without optional Python; Serial GC
Binary SHA-256 545a4d99db099cf91a35bad8b33bb7e8d1a37a7361c6ba2b62c6e94691fff5c6
Peak results Raw reports and environment

Default server CPUs: 0-11,24-35; client: 12-23,36-47. Peak server CPUs: 0-2,6-8,12-14,18-20,24-26,30-32,36-38,42-44; client: 3-5,9-11,15-17,21-23,27-29,33-35,39-41,45-47. The differing masks preserve the same physical-core budget; they are recorded, not assumed interchangeable.

Run them yourself

Download the rerunnable benchmark package (SHA-256). It includes a Makefile, a dependency-free Python runner, JavaScript fixtures, the pipelined wrk client, raw results, and instructions. It requires Linux, Python 3, Make, util-linux, wrk, and your runtime binaries. No runtime binaries are bundled; use the recorded version and checksum for an exact binary match, or record your own version when comparing.

Terminal
sh
make run ARGS="--mode peak --binary /path/to/elide --contexts 24 --server-cpus YOUR_SERVER_CPUS --client-cpus YOUR_CLIENT_CPUS --out results"

Choose CPU masks for your machine. The download documents locked-memory limits, namespace differences, and commands for the default Elide, Bun and Deno comparison. Results vary with hardware and configuration.

The same files and commands work on any machine; expect different absolute numbers. Performance Tuning covers the setup: real binaries rather than version-manager shims, pinning the server and wrk to separate cores, and a warmup run before measuring.

See also

Was this page helpful?