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 memory allocation using pool #329

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Conversation

ysugimoto
Copy link
Owner

This PR improves formatter performance by using sync.Pool.

Before

CleanShot 2024-06-13 at 02 02 13@2x

After

CleanShot 2024-06-13 at 02 02 46@2x

@ysugimoto ysugimoto merged commit f5d2bff into main Jun 17, 2024
3 checks passed
@ysugimoto ysugimoto deleted the improve/formatter-performance branch June 17, 2024 06:50
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