I had a great time optimizing a heap spike away with
@thorfour on today's #LetsProfile stream! Little did we know that not only did we remove the heap spike, but it turned out we also made things *a lot* faster.

#opensource #performance #profiling #continuousprofiling

https://github.com/xyproto/ainur/pull/5

Reduce heap spikes by brancz · Pull Request #5 · xyproto/ainur

Previously we read entire ELF sections into memory all at once and then search the byte slice. This was problematic because depending on the given ELF binary we load an unpredictable amount of heap...

GitHub
Let's Profile! (Episode 2)

YouTube