Hacker News new | ask | show | jobs
by beantaxi 620 days ago
Sounds pretty interesting. If you were to write up how you tested this, I’d definitely read it.
1 comments

Not terribly difficult. The standard library's benchmarking framework records allocations in addition to latency, so you can just look at that. Fun fact, you can use this to even make unit tests that assert that certain benchmarks don't allocate, or only allocate a certain amount.