mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-28 05:24:22 +01:00
1.1 KiB
1.1 KiB
Performance Testing
Mobibench
- Clone the source repository of Mobibench fork for Limbo:
git clone git@github.com:penberg/Mobibench.git
-
Change
LIBSinshell/Makefileto point to your Limbo source repository. -
Build Mobibench:
cd shell && make
- Run Mobibench:
./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:
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.
Comparing VFS's/IO Back-ends (io_uring | syscall)
make bench-vfs SQL="select * from users;" N=500
The naive script will build and run limbo in release mode and execute the given SQL (against a copy of the testing/testing.db file)
N times with each vfs. This is not meant to be a definitive or thorough performance benchmark but serves to compare the two.