Oddbean new post about | logout
 Are you using ‘sqlite3’ or ‘better-sqlite3’?

If you enable write ahead logging better-sqlite3 is about an order of magnitude faster.

I’ve also heard that Bun’s built in bindings are even faster than better-sqlite3 but I haven’t tested it myself