-
Notifications
You must be signed in to change notification settings - Fork 1.9k
perfect hash join #19411
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
base: main
Are you sure you want to change the base?
perfect hash join #19411
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -154,17 +154,17 @@ def compare( | |
| baseline = BenchmarkRun.load_from_file(baseline_path) | ||
| comparison = BenchmarkRun.load_from_file(comparison_path) | ||
|
|
||
| console = Console() | ||
| console = Console(width=200) | ||
|
|
||
| # use basename as the column names | ||
| baseline_header = baseline_path.parent.stem | ||
| comparison_header = comparison_path.parent.stem | ||
| baseline_header = baseline_path.parent.name | ||
| comparison_header = comparison_path.parent.name | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Before, a path like |
||
|
|
||
| table = Table(show_header=True, header_style="bold magenta") | ||
| table.add_column("Query", style="dim", width=12) | ||
| table.add_column(baseline_header, justify="right", style="dim") | ||
| table.add_column(comparison_header, justify="right", style="dim") | ||
| table.add_column("Change", justify="right", style="dim") | ||
| table.add_column("Query", style="dim", no_wrap=True) | ||
| table.add_column(baseline_header, justify="right", style="dim", no_wrap=True) | ||
| table.add_column(comparison_header, justify="right", style="dim", no_wrap=True) | ||
| table.add_column("Change", justify="right", style="dim", no_wrap=True) | ||
|
|
||
| faster_count = 0 | ||
| slower_count = 0 | ||
|
|
@@ -175,12 +175,12 @@ def compare( | |
|
|
||
| for baseline_result, comparison_result in zip(baseline.queries, comparison.queries): | ||
| assert baseline_result.query == comparison_result.query | ||
|
|
||
| base_failed = not baseline_result.success | ||
| comp_failed = not comparison_result.success | ||
| comp_failed = not comparison_result.success | ||
| # If a query fails, its execution time is excluded from the performance comparison | ||
| if base_failed or comp_failed: | ||
| change_text = "incomparable" | ||
| change_text = "incomparable" | ||
| failure_count += 1 | ||
| table.add_row( | ||
| f"Q{baseline_result.query}", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've increased the console width to 200. I added more information like 'density' to the queryName, which made it longer and caused it to be cut off in the output before