With every safety check on, Jadpo still answers requests faster than TypeScript on Bun or Node
Jadpo is an experimental programming language for web backends. We wrote one todo app twice, in Jadpo and in strict TypeScript, with sign-in, permission checks and rate limits switched on. Then we timed three requests: reading one todo, adding one, and listing 50. TypeScript used 1.7 to 3.3 times as much CPU for each request as Jadpo did, even against whichever of Bun and Node was faster.
Jadpo apps compile to a native binary, or to WebAssembly for Cloudflare Workers, Cloudflare's serverless platform. We timed both, running workerd, Cloudflare's open-source Workers runtime, on our own machine.
- Jadpo used less CPU for each request.On reading, adding and listing todos, as a native binary and on Workers' runtime.
- As a native binary, Jadpo starts in 21 ms.Against 109 ms for Bun and 419 ms for Node.
- Jadpo is slower at background work.Compiled for Workers, Jadpo handles plain background events at 56% of the rate of TypeScript on Bun. A scheduled job takes nearly twice as long.
CPU per request
How much processor time the app spent answering one request. Compare this figure first. A native Jadpo app uses a thread for each processor core, while Bun, Node and Workers' runtime each use one thread. Extra threads don't lower the CPU a request takes.
As a native binary, Jadpo also starts faster: in 21 ms, against 109 ms for Bun and 419 ms for Node.
The slower requests: p95 latency
The time within which 95 of every 100 requests were answered. It includes waiting for PostgreSQL. The gap here is much wider than the CPU gap, and the benchmark summary doesn't break down why.
The native binary's extra threads help it here, so this flatters Jadpo more than CPU per request does.
Where Jadpo is slower
On Workers' runtime, Jadpo starts a little more slowly than TypeScript does there.
For background work, the benchmark compares Jadpo on Workers' runtime with TypeScript on Bun. The benchmark has no figures for native Jadpo here.
| Measured | Jadpo | TypeScript |
|---|---|---|
| Start-up time, on Workers' runtimeLower is better. TypeScript on Workers' runtime | 70 ms | 65 ms |
| Background events handled a secondHigher is better. TypeScript on Bun | 2,239 | 4,017 |
| Rate for events that each call another serviceHigher is better. As a share of TypeScript on Bun | 63% | 100% |
| One run of a scheduled job, p95Lower is better. TypeScript on Bun | 55 ms | 29 ms |
How we tested it
In Jadpo, and in strict TypeScript with Hono, Zod, Drizzle, CASL and JOSE. Like a real backend, it manages todos with sign-in, permissions, background jobs and delayed deletes, which keep a deleted todo for 30 days before removing it.
The same tests over HTTP, covering everything below, before anything is timed.
Requests read, add and list todos with sign-in, permission checks, rate limits and transactions. Every response, and every row saved, is checked.
Each figure is the median of three rounds. PostgreSQL 16 ran on the same machine.
- Sign-in: browser sessions, API tokens, keys for other services that call it, and tokens from an identity provider. Every route needs sign-in except the health check.
- Permissions: each person reads and changes only their own todos. A missing or forged credential is refused.
- Data: PostgreSQL with migrations, edits that change only the fields sent, and paged lists that stay stable while the data changes.
- Reminders: a schedule finds overdue todos, and background jobs send reminders through a mail service, without sending a second reminder if a job runs twice.
- Deletes: a deleted todo is kept for 30 days, then a purge job removes it in batches.
- Running it: typed settings and secrets checked before the app starts, rate limits on every caller, and a readiness check.
Read with care
- One laptop. Every run was on one Apple M1 Pro, which PostgreSQL ran on too, so these figures don't show what a production server can handle.
- Clients waited for answers. Each test client waited for an answer before sending its next request, so the load never got ahead of the app. That measures what a request costs, not how much load the app can take.
- It didn't run on Cloudflare itself. Workers' runtime ran on our machine as a stand-in. Jadpo apps do run on Cloudflare. jadpo.dev's registry of Jadpo packages is one.
- We wrote both apps. Both copies and the method are public, so you can check them and run them again.
From Jadpo's benchmark summary, 29 Oct 2026. How each one is run, and how to reproduce it