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

Reduce performance overhead of verbose logging #8

Merged
merged 1 commit into from
Apr 16, 2022

Conversation

hejtmii
Copy link

@hejtmii hejtmii commented Apr 14, 2022

  1. Log functions now accept function as an argument, which is lazily executed only when the particular logging level is actually enabled
  2. Serialization of component tree in verbose logging is now done lazily using the above option

1) Log functions now accept function as an argument, which is lazily executed only when the particular logging level is actually enabled
2) Serialization of component tree in verbose logging is now done lazily using the above option
@ibash
Copy link
Owner

ibash commented Apr 16, 2022

Fuck yeah! Thanks!!

@ibash ibash merged commit a90174c into ibash:master Apr 16, 2022
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