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 tcmalloc for memory allocation. #253

Merged
merged 1 commit into from
Jan 6, 2023
Merged

Use tcmalloc for memory allocation. #253

merged 1 commit into from
Jan 6, 2023

Conversation

kentonv
Copy link
Member

@kentonv kentonv commented Jan 6, 2023

This improves throughput by 30% as tested by wrk running against samples/hello.

This improves throughput by 30% as tested by `wrk` running against `samples/hello`.
@kentonv kentonv requested a review from mikea January 6, 2023 01:13
@kentonv
Copy link
Member Author

kentonv commented Jan 6, 2023

(We have, of course, been using tcmalloc all along in our internal build. I just hadn't figured out how to add it to the workerd build yet. Low-hanging fruit, yay.)

@kentonv kentonv merged commit aa091c2 into main Jan 6, 2023
@kentonv kentonv deleted the kenton/tcmalloc branch January 6, 2023 16: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.

3 participants