Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup TPC-H benchmark infra #444

Merged
merged 9 commits into from
Jul 10, 2024
Merged

Setup TPC-H benchmark infra #444

merged 9 commits into from
Jul 10, 2024

Conversation

a10y
Copy link
Contributor

@a10y a10y commented Jul 10, 2024

Add in TPC-H benchmark infra.

This includes generating all tables with configurable scale-factor. Currently only Query 1 is implemented, other queries can be added as needed.

Running benchmark

To execute the benchmark a single time, including to generate and cache the dataset, you can run

cargo run --release -p bench-vortex --bin tpch_benchmark

If you have cargo-instruments installed and you've already cached the data above, you can do a profiling run with:

cargo instruments -p bench-vortex --bin tpch_benchmark --template Time --profile bench

FLUPs

Potential avenues for extension from here:

  • Adding more queries
  • Adding as a proper criterion benchmark, currently though it's more useful to use as a source for Instruments profiles
  • Add CLI flags to run different configurations for comparison across different queries

@a10y a10y marked this pull request as ready for review July 10, 2024 19:13
@a10y a10y merged commit 9419059 into develop Jul 10, 2024
2 checks passed
@a10y a10y deleted the aduffy/tpch branch July 10, 2024 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants