by excsn on 2/29/24, 1:22 AM with 27 comments
by tekacs on 2/29/24, 2:41 AM
In my console, I have something akin to this:
TRACE client_wasm::plugins::allocation: Memory stats counters=Counters { allocation_count: 165454, total_allocation_count: 18756119, allocated_bytes: 34654828, total_allocated_bytes: 3185258585, available_bytes: 82802636, fragment_count: 5026, heap_count: 1, total_heap_count: 1, claimed_bytes: 118423552, total_claimed_bytes: 118423552 }
I haven't carefully benchmarked dlmalloc (Rust's default WASM allocator, https://github.com/alexcrichton/dlmalloc-rs), but it's nothing special (to my knowledge). The swap to Talc is pretty trivial and it's clear that the author is paying attention to its performance.by speps on 2/29/24, 3:31 AM
[1] https://github.com/SFBdragon/talc/issues/26 [2] https://github.com/yvt/rlsf
by lasiotus on 2/29/24, 5:04 PM
by gleenn on 2/29/24, 1:48 AM
by weinzierl on 2/29/24, 10:23 AM
by caleb-allen on 2/29/24, 2:25 PM