Skip to content

Use tcmalloc for memory allocation.#253

Merged
kentonv merged 1 commit intomainfrom
kenton/tcmalloc
Jan 6, 2023
Merged

Use tcmalloc for memory allocation.#253
kentonv merged 1 commit intomainfrom
kenton/tcmalloc

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