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

performance improvement for worst case / extreme logging scenarios. #471

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

KjellKod
Copy link
Owner

@KjellKod KjellKod commented Dec 9, 2022

For the default logging sink, it'll internally buffer log messages and then write them in batches.
This will drastically improve worst-case / extreme logging scenarios. The default for this buffering is 100 messages.

Of course at shutdown or if there's a fatal issue the buffered messages will be flushed to file before the stack dump is appended.

@KjellKod KjellKod merged commit 6c6122f into master Dec 9, 2022
@KjellKod KjellKod deleted the performance_tests branch December 9, 2022 05:08
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.

1 participant