fast postgres bindings for bun runtime (libpq ffi)
only tested on my mac for now.
The shared library is currently hard coded:
const path = `/usr/local/pgsql/lib/libpq.${suffix}`;
bun add postgres-bun
Make sure you have postgres installed.
bun install
cd ./benches/node-libpq && npm install && cd ../..
bun bench
not sure yet.
getting started with the latter, will hopefully get to the former so we can benchmark.