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

Compile time #154

Merged
merged 42 commits into from
Jan 24, 2025
Merged

Compile time #154

merged 42 commits into from
Jan 24, 2025

Conversation

DrTodd13
Copy link
Collaborator

@DrTodd13 DrTodd13 commented Jan 15, 2025

Changes included in this PR

Cache many internal njit and overload methods. Add support for caching of string-generated functions.

Testing strategy

Need to understand better how caching is tested in Bodo and how that applies to internal functions.

User facing changes

None.

Checklist

  • Pipelines passed before requesting review. To run CI you must include [run CI] in your commit message.
  • I am familiar with the Contributing Guide
  • I have installed + ran pre-commit hooks.

@DrTodd13 DrTodd13 marked this pull request as draft January 15, 2025 23:40
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

Attention: Patch coverage is 83.72828% with 103 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@9178dad). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #154   +/-   ##
=======================================
  Coverage        ?   77.79%           
=======================================
  Files           ?      169           
  Lines           ?    61900           
  Branches        ?     8663           
=======================================
  Hits            ?    48158           
  Misses          ?    11648           
  Partials        ?     2094           

Todd A. Anderson added 7 commits January 21, 2025 10:13
…ke sure that the string-generated bodo function cache is populated.
…caches are cleared to make sure the second run hits the internal cache of a function known to be called.
@DrTodd13 DrTodd13 marked this pull request as ready for review January 23, 2025 00:09
@DrTodd13 DrTodd13 requested review from ehsantn and srilman January 23, 2025 00:10
Copy link
Collaborator

@ehsantn ehsantn left a comment

Choose a reason for hiding this comment

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

Thanks @DrTodd13. Looks good to me overall. Just a comment about moving the test to a separate file.

Copy link
Contributor

@srilman srilman left a comment

Choose a reason for hiding this comment

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

Overall LGTM. I'm assuming you're going to add the call_id = create_arg_hash(... to the other custom IR nodes like the Iceberg, SQL, Join ... in a followup. Will let Ehsan review the compiler stuff

@DrTodd13 DrTodd13 merged commit c588686 into main Jan 24, 2025
22 checks passed
@DrTodd13 DrTodd13 deleted the compile_time branch January 24, 2025 17:52
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.

3 participants