zlacker

[parent] [thread] 1 comments
1. mkeete+(OP)[view] [source] 2021-08-29 16:14:07
One fun example is the "malloc Geiger counter", which clicks whenever memory is allocated: https://www.youtube.com/watch?v=7vn6aGgLKfQ

(Previous HN discussion: https://news.ycombinator.com/item?id=24303832)

replies(1): >>gnrami+0W4
2. gnrami+0W4[view] [source] 2021-08-31 12:12:29
>>mkeete+(OP)
Cool! It doesn't really differentiate in terms of allocation volume (only frequency). It would be interesting if the tick rate was proportional to something like log(allocation rate) so you could get an idea if something really heavy is allocated.
[go to top]