blachlylab / fade

Fragmentase Artifact Detection and Elimination
MIT License
11 stars 3 forks source link

Docker: Use mimalloc #24

Closed charlesgregory closed 2 years ago

charlesgregory commented 2 years ago

musl-c allocation is slow for multi-threaded programs. https://www.linkedin.com/pulse/testing-alternative-c-memory-allocators-pt-2-musl-mystery-gomes

I tried to use mimalloc but ran into issues. Likely from mixing allocators by not properly linking. I would like to use mimalloc statically linked into fade. I would likely have to compile all dependencies with it too which didn't seem to compile in my testing.

Until this is fixed the static binary releases will not be as performant as they could be. Though this is not a huge priority.