Skip to content

Commit

Permalink
[Benchmark] Add dummy benchmark
Browse files Browse the repository at this point in the history
Add a dummy benchmark for testing the benchmarking script.  This will
later be used in CI to ensure our benchmarking didn't break.
  • Loading branch information
ImmanuelHaffner committed May 2, 2024
1 parent 519a3c3 commit cf979f5
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
4 changes: 4 additions & 0 deletions benchmark/dummy/data/dummy.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id,val
0,3.14
1,13.37
2,42.42
7 changes: 7 additions & 0 deletions benchmark/dummy/data/schema.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CREATE DATABASE dummy;
USE dummy;

CREATE TABLE Dummy (
id INT(4) NOT NULL,
val FLOAT
);
31 changes: 31 additions & 0 deletions benchmark/dummy/dummy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
description: Dummy benchmark used in CI to ensure benchmarking works
suite: dummy
benchmark: dummy
name: Dummy
readonly: true
data:
'Dummy':
attributes:
'id': 'INT NOT NULL'
'val': 'FLOAT NOT NULL'
file: 'benchmark/dummy/data/dummy.csv'
format: 'csv'
delimiter: ','
header: 1
systems:
mutable:
configurations:
'WasmV8, PAX4M':
args: --backend WasmV8 --data-layout PAX4M
pattern: '^Execute query:.*'
cases:
'Dummy': SELECT * FROM Dummy;
PostgreSQL:
cases:
'Dummy': SELECT * FROM "Dummy";
DuckDB:
cases:
'Dummy': SELECT * FROM "Dummy";
HyPer:
cases:
'Dummy': SELECT * FROM "Dummy";

0 comments on commit cf979f5

Please sign in to comment.