Skip to content

Commit 970fd8d

Browse files
aehmttwblp
authored andcommitted
Auto-detect benchmarks in folder
Signed-off-by: Matei <matei@feldera.com>
1 parent 219ccfc commit 970fd8d

File tree

20 files changed

+54
-66
lines changed

20 files changed

+54
-66
lines changed

Earthfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ benchmark:
579579
FROM +build-manager
580580
COPY scripts/bench.bash scripts/bench.bash
581581
COPY benchmark/feldera-sql/run.py benchmark/feldera-sql/run.py
582+
COPY benchmark/feldera-sql/benchmarks benchmark/feldera-sql/benchmarks
582583
COPY +build-manager/pipeline-manager .
583584
COPY +build-sql/sql-to-dbsp-compiler sql-to-dbsp-compiler
584585
RUN mkdir -p /working-dir/cargo_workspace
@@ -598,14 +599,7 @@ benchmark:
598599
docker run --name redpanda -p 9092:9092 --rm -itd docker.redpanda.com/vectorized/redpanda:v23.2.3 redpanda start --smp 2 \
599600
&& bash scripts/bench.bash
600601
END
601-
SAVE ARTIFACT crates/nexmark/nexmark_results.csv AS LOCAL .
602-
SAVE ARTIFACT crates/nexmark/sql_nexmark_results.csv AS LOCAL .
603-
SAVE ARTIFACT crates/nexmark/sql_nexmark_metrics.csv AS LOCAL .
604-
SAVE ARTIFACT crates/nexmark/sql_storage_nexmark_results.csv AS LOCAL .
605-
SAVE ARTIFACT crates/nexmark/sql_storage_nexmark_metrics.csv AS LOCAL .
606-
SAVE ARTIFACT crates/nexmark/dram_nexmark_results.csv AS LOCAL .
607-
SAVE ARTIFACT crates/dbsp/galen_results.csv AS LOCAL .
608-
#SAVE ARTIFACT crates/dbsp/ldbc_results.csv AS LOCAL .
602+
SAVE ARTIFACT benchmark-run-data AS LOCAL .
609603

610604
flink-benchmark:
611605
FROM +rust-sources
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cargo run -p dbsp_nexmark --example generate --features with-kafka -- --max-events $MAX_EVENTS -O bootstrap.servers=$KAFKA_BROKER
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)