fast-ruby icon indicating copy to clipboard operation
fast-ruby copied to clipboard

Benchmark with memory allocations

Open jondot opened this issue 9 years ago • 3 comments

Hi all, I've made a version of benchmark-ips that also shows memory allocations: https://github.com/jondot/benchmark-ipsa

It extends benchmark-ips by hijacking the job object and getting the call list. It does not have any performance implication over the original test session.

This is one step closer to the go bench tool which allows you to embed allocation info in addition to the iterations stats.

jondot avatar Mar 25 '16 16:03 jondot

never heard of this. I'm using benchmark-memory. Like this https://github.com/JuanitoFatas/fast-ruby/pull/137/files

stereobooster avatar Oct 20 '17 18:10 stereobooster

So, should we add this? @ashwinisukale What do you think?

mateusdeap avatar Nov 03 '22 22:11 mateusdeap

Yeah, its good idea to have this

ashwinisukale avatar Nov 04 '22 11:11 ashwinisukale