How much memory does an ORM cost per request?
Three ways I measured per-request allocation wrong before I got one I trusted, and why the result isn't the leak table it looks like.
Three ways I measured per-request allocation wrong before I got one I trusted, and why the result isn't the leak table it looks like.

Six ORMs, one full PostgreSQL lifecycle, timed per step. Prisma comes fifth of six, and one step is responsible for most of it.

npm i uql-orm installs one package and nothing else. Getting there meant deleting a 1.8 MB transpiler, a 264 KB metadata polyfill, and the sourcemaps nobody read.

Pure SQL generation speed across 7 TypeScript ORMs and query builders, measured with an open, reproducible benchmark.