improve free latency
bpowers opened this issue · comments
Bobby Powers commented
Free performance is bad:
First, add stats collection. What fraction of the time do we hit a thread-local free?
Next, switch from iterating over buckets to (maybe) caching 1 or 2 buckets and then going through the global miniheap table.
Finally, add stats and look at whether we can more effectively batch calls to madvise
and friends.
Bobby Powers commented