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

Use free lock queue to optimize DefaultLogger #849

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

Conversation

linhaojun857
Copy link
Contributor

@linhaojun857 linhaojun857 commented Sep 14, 2023

  • I also wrote the test code of FreelockQueue,and I have tested a lot in the local area, which is also OK
  • The following is the time comparison of output 10 million logs
    • Before optimization

      before-optimization

    • After optimization

      after-optimization

@linhaojun857 linhaojun857 changed the title use free lock queue to optimize DefaultLogger Use free lock queue to optimize DefaultLogger Sep 14, 2023
@linhaojun857
Copy link
Contributor Author

@lganzzzo Hi, Can you help me do a code review for this pull request?

@lganzzzo
Copy link
Member

Hello @linhaojun857 ,

Thanks for the PR!

@lganzzzo Hi, Can you help me do a code review for this pull request?

I've seen it. Just need some more time to review and test it

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.

None yet

2 participants