Skip to content

Commit 139a3a1

Browse files
authored
Benchmark guide (#50)
1 parent e966c3f commit 139a3a1

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ sandbox/*.csv
2020
sandbox/*.parquet/
2121
.history
2222
bin/
23+
sandbox/bugfixing.md

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,15 @@ echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
2424

2525
cargo build --release
2626
flamegraph -- target/release/sequila-cli -f queries/q1-coitrees.sql
27+
```
28+
29+
## How to run benchmark locally:
30+
1. Download and unpack test [dataset](https://drive.google.com/file/d/1lctmude31mSAh9fWjI60K1bDrbeDPGfm/view?usp=sharing).
31+
2. Export env variable with path to the root folder with benchmark data, e.g.:
32+
```bash
33+
export BENCH_DATA_ROOT=/Users/mwiewior/research/databio/
34+
```
35+
3. Run benchmark
36+
```bash
37+
RUSTFLAGS="-Ctarget-cpu=native" cargo bench --bench databio_benchmark -- --quick
2738
```

0 commit comments

Comments
 (0)