Files
turso/PERF.md
2025-03-17 16:12:25 +02:00

35 lines
717 B
Markdown

# Performance Testing
## Mobibench
1. Clone the source repository of Mobibench fork for Limbo:
```console
git clone git@github.com:penberg/Mobibench.git
```
2. Change `LIBS` in `shell/Makefile` to point to your Limbo source repository.
3. Build Mobibench:
```console
cd shell && make
```
4. Run Mobibench:
```console
./mobibench -p <benchmark-directory> -n 1000 -d 0 -j 4
```
## Clickbench
We have a modified version of the Clickbench benchmark script that can be run with:
```shell
make clickbench
```
This will build Limbo in release mode, create a database, and run the benchmarks with a small subset of the Clickbench dataset.
It will run the queries for both Limbo and SQLite, and print the results.