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

perf: Use String::Builder to improve render times #51

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

stephannv
Copy link
Owner

Improves render times in 15%

String::Builder 364.46k (  2.74µs) (± 0.52%)  7.95kB/op  fastest
     IO::Memory 317.83k (  3.15µs) (± 0.76%)  8.99kB/op  1.15× slower

@stephannv stephannv self-assigned this Sep 8, 2024
@stephannv stephannv merged commit ed3c6bc into main Sep 8, 2024
2 checks passed
@stephannv stephannv deleted the perf/use_string_builder branch September 8, 2024 20:06
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