It's like 7x slower than other allocators ([source](https://nickb.dev/blog/default-musl-allocator-considered-harmful-to-performance/)).
For [[Rust]] applications, add the following to `main.rs`:
```rust
// Avoid musl's default allocator due to lackluster performance
// https://nickb.dev/blog/default-musl-allocator-considered-harmful-to-performance
#[cfg(target_env = "musl")]
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
```
and something like this to `Cargo.toml`:
```toml
[target.'cfg(target_env = "musl")'.dependencies]
mimalloc = "0.1.43"
```