From f180de4d950aa072f9043a3a30feedbb7434106d Mon Sep 17 00:00:00 2001 From: PThorpe92 Date: Mon, 21 Apr 2025 12:24:18 -0400 Subject: [PATCH] Write quick note about vfs benchmark script in PERF.md --- PERF.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/PERF.md b/PERF.md index 40edcf7ea..fb25045fb 100644 --- a/PERF.md +++ b/PERF.md @@ -32,3 +32,13 @@ 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) + +```shell +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.