-
Notifications
You must be signed in to change notification settings - Fork 30
Updated all logging to be lazy-loaded #36
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
Conversation
|
|
|
Testing with the provided benchmark, this makes a huge difference in performance: Before fix: After Fix: |
|
Had to close and re-open PR to fix issues with SLA not being recognized. |
kapilt
left a comment
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.
lgtm
|
looks like one test failure on test_trace_decorator to address. |
Ops. Missed that one. Fixed. |
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #36 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 8 8
Lines 2602 2601 -1
=========================================
- Hits 2602 2601 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
The current logging isn't lazy-loaded. This means that all statements are evaluated even with logging disabled. This can have pretty a measurable impact on performance.