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

[core] Restored logger perf improvements that were blocked up to 1.6.0 #2900

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ethouris
Copy link
Collaborator

@ethouris ethouris commented Mar 5, 2024

This restores the performance improvements in the logging system.

This time any modification of the logger configuration is updated immediately in all loggers. Therefore the CheckEnabled() function, which is called every time a log has to be printed (no matter if it's going to be printed or not), this time just returns a boolean flag. This flag is kept in sync with the configuration, but only at the time when the configuration is changed.

@ethouris ethouris added this to the v1.6.0 milestone Mar 5, 2024
@ethouris ethouris added Type: Maintenance Work required to maintain or clean up the code [core] Area: Changes in SRT library core labels Mar 5, 2024
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.64%. Comparing base (12aad6e) to head (3601861).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2900      +/-   ##
==========================================
- Coverage   64.72%   64.64%   -0.08%     
==========================================
  Files         101      101              
  Lines       17543    17541       -2     
==========================================
- Hits        11355    11340      -15     
- Misses       6188     6201      +13     

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

@ethouris ethouris marked this pull request as ready for review September 3, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Maintenance Work required to maintain or clean up the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant