-
Notifications
You must be signed in to change notification settings - Fork 427
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 rendering by avoiding costly/redundant function calls #5248
Conversation
7a6ec16
to
dd6d546
Compare
CodSpeed Performance ReportMerging #5248 will improve performances by 63.68%Comparing Summary
Benchmarks breakdown
|
dd6d546
to
c5a74b3
Compare
937552c
to
f208ed3
Compare
### Enhancements | ||
|
||
* Speed up rendering by avoiding costly/redundant function calls. (#5248) | ||
|
||
### Bug fixes | ||
|
||
* <news item> | ||
|
||
### Deprecations | ||
|
||
* <news item> | ||
|
||
### Docs | ||
|
||
* <news item> | ||
|
||
### Other | ||
|
||
* <news item> |
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'm impartial on whether we should or should not include this news entry (meaning, I don't necessarily consider this a "significant" change).
We can include it if we want to track such changes more obviously or exclude it to reduce noise in the changelog 🤷 .
@@ -1665,7 +1666,6 @@ def build_id(self): | |||
raise RuntimeError( | |||
f"Couldn't extract raw recipe text for {self.name()} output" | |||
) | |||
raw_recipe_text = self.extract_package_and_build_text() |
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 wonder how much of a speedup removing this gives us (since both of us did this)
Signed-off-by: Marcel Bargull <[email protected]>
Signed-off-by: Marcel Bargull <[email protected]>
Signed-off-by: Marcel Bargull <[email protected]>
Signed-off-by: Marcel Bargull <[email protected]>
Signed-off-by: Marcel Bargull <[email protected]>
Signed-off-by: Marcel Bargull <[email protected]>
f208ed3
to
2a8ddb2
Compare
Signed-off-by: Marcel Bargull <[email protected]> Co-authored-by: Ken Odegard <[email protected]> Signed-off-by: Marcel Bargull <[email protected]>
2a8ddb2
to
989cb90
Compare
Description
Address some points of gh-5224.
This cherry-picks small (hopefully) non-controversial parts from gh-5225.
Checklist - did you ...
news
directory (using the template) for the next release's release notes?[ ] Add / update necessary tests?[ ] Add / update outdated documentation?