Skip to content

Commit

Permalink
[CHORE] Add warmup step for remote tpch benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Chia committed Dec 2, 2023
1 parent 2fbf885 commit 8880efc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions benchmarking/tpch/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,14 @@ def run_all_benchmarks(
entrypoint=entrypoint,
runtime_env=get_ray_runtime_env(requirements),
)

# Run once as a warmup step
ray_job_runner.run_on_ray(
ray_job_dashboard_url,
job_params,
)

# Run second time to collect metrics
with metrics_builder.collect_metrics(i):
ray_job_runner.run_on_ray(
ray_job_dashboard_url,
Expand Down

0 comments on commit 8880efc

Please sign in to comment.