From 34da6611c19442b0090f325aef3052c9484364d2 Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Mon, 25 Aug 2025 17:41:34 -0700 Subject: [PATCH] Update TPC-H running instructions in PERF.md Closes #2756 --- PERF.md | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/PERF.md b/PERF.md index 7ddf5eab0..ed09730cf 100644 --- a/PERF.md +++ b/PERF.md @@ -29,6 +29,7 @@ strace -f -c ../../Mobibench/shell/mobibench-turso -f 1024 -r 4 -a 0 -y 0 -t 1 - ./mobibench -p -n 1000 -d 0 -j 4 ``` + ## Clickbench We have a modified version of the Clickbench benchmark script that can be run with: @@ -41,7 +42,6 @@ This will build Turso in release mode, create a database, and run the benchmarks It will run the queries for both Turso and SQLite, and print the results. - ## Comparing VFS's/IO Back-ends (io_uring | syscall) ```shell @@ -54,26 +54,9 @@ The naive script will build and run limbo in release mode and execute the given ## TPC-H -1. Clone the Taratool TPC-H benchmarking tool: +Run the benchmark script: ```shell -git clone git@github.com:tarantool/tpch.git +./perf/tpc-h/benchmark.sh ``` -2. Patch the benchmark runner script: - -```patch -diff --git a/bench_queries.sh b/bench_queries.sh -index 6b894f9..c808e9a 100755 ---- a/bench_queries.sh -+++ b/bench_queries.sh -@@ -4,7 +4,7 @@ function check_q { - local query=queries/$*.sql - ( - echo $query -- time ( sqlite3 TPC-H.db < $query > /dev/null ) -+ time ( ../../limbo/target/release/limbo -m list TPC-H.db < $query > /dev/null ) - ) - } -``` -