-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Latest spdlog slows down shutdown #42396
Comments
@joaomoreno no need to do both flush and drop. spdlog does flush when dropped. This should reduce by half the wait time for dispose. |
@gabime Hey man! Thanks for checking up on us! Yeah we found out about that recently, yet didn't adopt it. I'll give that a try. Is there any other thing that comes to mind which would make flush/drop slower from 0.14.0 to 0.16.3? |
@flush in async mode might be slower indeed, since it waits for the queue te be empty(which itself takes up to 500ms even on empty queue) possible fixes:
|
So, what has changed since 0.14.0? Was |
No, The wait was increased from 200ms to 500ms to reduce cpu usage (gabime/spdlog@b1be7b9#diff-3aed88857f9442521f921ff98e021e33) |
Oh I see! |
Removed the call to Thanks for the help @gabime, no need to release any update. |
cc @bpasero
The text was updated successfully, but these errors were encountered: