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

perf: Only update Parameter signatures when needed #1038

Merged
merged 7 commits into from
Feb 27, 2025
Merged

Conversation

hoxbro
Copy link
Member

@hoxbro hoxbro commented Feb 27, 2025

e.g. In IPython environment or in docs build (by setting a system environment variable)

@hoxbro hoxbro changed the base branch from lazy_import_asyncio to main February 27, 2025 11:10
@@ -120,7 +120,7 @@ asyncio_mode = "auto"
asyncio_default_fixture_loop_scope="function"

[tool.coverage.report]
omit = ["param/version.py"]
omit = ["param/version.py", "tests/testimports.py"]
Copy link
Member Author

Choose a reason for hiding this comment

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

This belongs to the other PR, but I don't think moving it over to it is important.

Copy link

codecov bot commented Feb 27, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 87.45%. Comparing base (9ff6a9f) to head (d601bb3).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
param/parameterized.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1038      +/-   ##
==========================================
- Coverage   87.46%   87.45%   -0.02%     
==========================================
  Files           9        9              
  Lines        4948     4952       +4     
==========================================
+ Hits         4328     4331       +3     
- Misses        620      621       +1     

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

@hoxbro hoxbro requested a review from maximlt February 27, 2025 11:19
@hoxbro hoxbro changed the title perf: Only update Signatures when needed perf: Only update signatures when needed Feb 27, 2025
Copy link
Member

@maximlt maximlt left a comment

Choose a reason for hiding this comment

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

Thanks for splitting the original PR!

@maximlt maximlt changed the title perf: Only update signatures when needed perf: Only update Parameter signatures when needed Feb 27, 2025
@maximlt maximlt merged commit 803e650 into main Feb 27, 2025
17 checks passed
@maximlt maximlt deleted the reduce_signature branch February 27, 2025 12:38
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.

2 participants