Setup the development environment:
python3 -m venv .env
source .env/bin/activate
pip3 install maturin pyperf pytestOr you can use NIX to drop you into a shell with everything installed
nix-shell
Build the development version and use it:
maturin develop && python3 example.py
Run the tests:
pytestRun the libSQL benchmarks:
python3 perf-libsql.pyRun the SQLite benchmarks for comparison:
python3 perf-sqlite3.py