Files
bun.sh/bench/postgres

Postgres table load benchmark

To install dependencies:

bun install

To run in Bun:

bun ./index.mjs

To run in Node.js:

node index.mjs

To run in Deno:

deno run -A index.mjs

You will need a localhost Postgres server running.