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

Speed up get_pending_observation_features by ~20ms by not fetching data unnecessarily #2239

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mgrange1998
Copy link
Contributor

Summary: The performance of "get_pending_observations" can be greatly improved by avoiding calls to trial.lookup_data() on trials which are not "in_progress".

Differential Revision: D54417794

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D54417794

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Mar 1, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D54417794

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D54417794

…data unnecessarily

Summary: The performance of "get_pending_observations" can be greatly improved by avoiding calls to trial.lookup_data() on trials which are not "in_progress".

Differential Revision: D54417794
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D54417794

@codecov-commenter
Copy link

codecov-commenter commented Mar 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.85%. Comparing base (a1f94b0) to head (b9150a5).

❗ Current head b9150a5 differs from pull request most recent head 576d93e. Consider uploading reports for the commit 576d93e to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2239   +/-   ##
=======================================
  Coverage   94.85%   94.85%           
=======================================
  Files         467      467           
  Lines       46380    46403   +23     
=======================================
+ Hits        43992    44015   +23     
  Misses       2388     2388           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants