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

Random Seed + Thread-local Random + Better Epinions Tables #142

Merged
merged 9 commits into from
Apr 8, 2022

Conversation

apavlo
Copy link
Member

@apavlo apavlo commented Mar 27, 2022

  • Thread-local Random. Remove the ad hoc Random objects scattered across the benchmarks. You can now also pass in in the config to ensure more deterministic benchmark runs.
  • Better multi-threaded loading for EpinionsLoader.
  • Expanded schema for Epinions to make each record larger.
  • Code refactoring + cleanup.

This is from my branch for the course. I did not bring in the new timeseries + indexjungle benchmarks.

…oss the benchmarks. You can now also pass in <randomSeed> in the config to ensure more deterministic benchmark runs.

* Better multi-threaded loading for EpinionsLoader.
* Expanded schema for Epinions to make each record larger.
* Code refactoring + cleanup.
@apavlo apavlo added enhancement New feature or request ready-for-review This PR is ready to be reviewed. labels Mar 27, 2022
@apavlo apavlo requested a review from timveil March 28, 2022 17:14
+ "order by "
+ "l_returnflag, "
+ "l_linestatus"
public final SQLStmt query_stmt = new SQLStmt("""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love this change... moving to text blocks... so much easier to read. i had this on my todo list for all benchmarks!

Copy link
Collaborator

@timveil timveil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks great to me. definitely want to continue to apply text block changes to all the sql statements in the other procedures. we can do that in a separate ticket. As for the random changes these look good to me too!

@apavlo apavlo merged commit 59a7a7d into cmu-db:main Apr 8, 2022
@apavlo apavlo deleted the refactor-mar2022 branch April 8, 2022 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready-for-review This PR is ready to be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants