Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 799 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 799 Bytes

Benchmarks

There are two sets of benchmarks, one testing round trip time for both PGlite and wa-sqlite, and another based on the wa-sqlite bechmarks.

To run, from this dir:

pnpm install
pnpm build
cd ./dist
python3 -m http.server

Then open http://localhost:8000/index.html for the benchmarks based on the wa-sqlite set, and http://localhost:8000/rtt.html for the round trip time benchmarks.

There is also a script baseline.ts that generates a set of native baseline results for the wa-sqlite benchmark suite. This can be run with npx tsx baseline.ts.

There is a writeup of the benchmarks in the docs.