Speed

How long flowapi takes on real API descriptions, and how much memory it uses, beside openapi-typescript and @hey-api/openapi-ts.

How it was measured

Each tool ran as a fresh process, the whole process timed, five rounds each, on an Intel N150 with 4 cores under Ubuntu 24.04. A time is the median of the five rounds; memory is the process's peak resident set. Every output was type-checked by TypeScript 7.0.2 with --strict and --exactOptionalPropertyTypes. The versions were openapi-typescript 7.13.0 and @hey-api/openapi-ts 0.99.0 (its @hey-api/typescript plugin alone), on Node.js 22.

Time

DescriptionSizeflowapiopenapi-typescript@hey-api/openapi-ts
Slack999 KB14 ms892 ms992 ms
Twilio1.4 MB17 ms923 ms1.13 s
DigitalOcean1.9 MB50 msfailedfailed
Stripe8.3 MB114 ms2.44 s10.57 s
GitHub14.3 MB185 ms3.73 s4.49 s
Cloudflare29.8 MB435 ms7.96 s12.15 s

Memory and output

Descriptionflowapiopenapi-typescript@hey-api/openapi-ts
Stripe42 MB330 MB642 MB
GitHub62 MB470 MB484 MB
Cloudflare140 MB937 MB1027 MB

flowapi's output type-checks for all six descriptions. openapi-typescript's output for Cloudflare's description has 5 type errors, and both other tools fail on DigitalOcean's.

Where the numbers live

Every table here is copied from bench/results/speed.md, which bench/run.sh writes. The limits flowapi's own times are held to are in bench/budgets.json. The other tools are pinned in bench/competitors/, so the run can be repeated.