Robyn icon indicating copy to clipboard operation
Robyn copied to clipboard

Test: Using snmalloc as the global allocator

Open JackThomson2 opened this issue 1 year ago • 4 comments

Just a test for now, OSX is failing. Just want to see if there's much perf difference

JackThomson2 avatar Jun 02 '23 16:06 JackThomson2

Hey @JackThomson2 👋

Welcome back. How's everything ? 😄

Can you please tell me more about snmalloc? What is it? What does it do? and so on.

sansyrox avatar Jun 02 '23 21:06 sansyrox

Hey good thanks.

Snmalloc replaces the system memory allocator which can improve the performance fairly significantly especially in memory intensive apps such as this one

JackThomson2 avatar Jun 04 '23 10:06 JackThomson2

@JackThomson2 , I was reading about allocators today. What do you think about something like je-malloc ?

sansyrox avatar Jul 24 '23 21:07 sansyrox

Think jemalloc is also very good, snmalloc is just newer and I believe faster

JackThomson2 avatar Jul 25 '23 10:07 JackThomson2