Skip to content

lawrencecchen/postgres-bun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postgres-bun

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}`;

Install

bun add postgres-bun

Benchmark

Make sure you have postgres installed.

bun install
cd ./benches/node-libpq && npm install && cd ../..
bun bench

is this the fastest??

not sure yet.

oven-sh/bun#159

getting started with the latter, will hopefully get to the former so we can benchmark.

jarred on discord

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published