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

Dynamic scheduler mega cleanup: Refactors, renames, docstrings, comments #434

Merged
merged 19 commits into from
Jan 13, 2023

Conversation

xcharleslin
Copy link
Contributor

@xcharleslin xcharleslin commented Jan 12, 2023

  • Added module docstrings or class docstrings for all new modules.
  • Added function docstrings for most new functions.
  • Renamed components to more canonical names.
  • DynamicSchedule is now Physical Plan (the dynamic-ness is just an implementation detail now)
  • Construction is now ExecutionStep.
  • Refactored physical plan to be generator functions, which are noticeably cleaner.

TODO in separate PR: Clean up Runner code.

@xcharleslin xcharleslin changed the title Charles/cleanupconstructions Mega cleanup for the new dynamic components. Jan 13, 2023
@xcharleslin xcharleslin changed the title Mega cleanup for the new dynamic components. Dynamic scheduler mega cleanup: Refactors, renames, docstrings, comments Jan 13, 2023
@xcharleslin xcharleslin marked this pull request as ready for review January 13, 2023 20:09
@xcharleslin
Copy link
Contributor Author

No performance regression.

2023-01-13 12:12:23.576 | INFO     | __main__:collect_metrics:88 - Running benchmarks for TPC-H q1
2023-01-13 12:12:27.095 | INFO     | __main__:collect_metrics:96 - Finished benchmarks for q1: 3.518938s
2023-01-13 12:12:27.497 | INFO     | __main__:collect_metrics:88 - Running benchmarks for TPC-H q2
2023-01-13 12:12:28.709 | INFO     | __main__:collect_metrics:96 - Finished benchmarks for q2: 1.21173s
2023-01-13 12:12:28.982 | INFO     | __main__:collect_metrics:88 - Running benchmarks for TPC-H q3
2023-01-13 12:12:31.155 | INFO     | __main__:collect_metrics:96 - Finished benchmarks for q3: 2.172531s
2023-01-13 12:12:31.362 | INFO     | __main__:collect_metrics:88 - Running benchmarks for TPC-H q4
2023-01-13 12:12:35.289 | INFO     | __main__:collect_metrics:96 - Finished benchmarks for q4: 3.926406s
2023-01-13 12:12:35.678 | INFO     | __main__:collect_metrics:88 - Running benchmarks for TPC-H q5
2023-01-13 12:12:39.613 | INFO     | __main__:collect_metrics:96 - Finished benchmarks for q5: 3.935323s
2023-01-13 12:12:39.701 | INFO     | __main__:collect_metrics:88 - Running benchmarks for TPC-H q6
2023-01-13 12:12:40.299 | INFO     | __main__:collect_metrics:96 - Finished benchmarks for q6: 0.597944s
2023-01-13 12:12:40.781 | INFO     | __main__:collect_metrics:88 - Running benchmarks for TPC-H q7
2023-01-13 12:12:43.055 | INFO     | __main__:collect_metrics:96 - Finished benchmarks for q7: 2.273594s
2023-01-13 12:12:43.617 | INFO     | __main__:collect_metrics:88 - Running benchmarks for TPC-H q8
2023-01-13 12:12:47.457 | INFO     | __main__:collect_metrics:96 - Finished benchmarks for q8: 3.839576s
2023-01-13 12:12:47.990 | INFO     | __main__:collect_metrics:88 - Running benchmarks for TPC-H q9
2023-01-13 12:12:53.392 | INFO     | __main__:collect_metrics:96 - Finished benchmarks for q9: 5.401325s
2023-01-13 12:12:53.710 | INFO     | __main__:collect_metrics:88 - Running benchmarks for TPC-H q10
2023-01-13 12:12:55.899 | INFO     | __main__:collect_metrics:96 - Finished benchmarks for q10: 2.188393s

@xcharleslin xcharleslin merged commit 461cb71 into main Jan 13, 2023
@xcharleslin xcharleslin deleted the charles/cleanupconstructions branch January 13, 2023 20:21
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.

None yet

1 participant