It just came to me how I could easily describe what I want. It's the 
peak memory usage that I'm looking for.

So if a profiling tool could print a top-like list in hierarchy showing 
the total peak value and the ones in percentage belonging to each method 
(maybe with the delta of the entry - exit memory state for finding 
leaks), that I would call perfect.

I just mentioned process time as an example, but I might have written it 
in a confusing way.

I'll check out your code cause I'm interested in it and sounds very 
useful. Will probably report back here about it in a day or so.

-- 
Posted via http://www.ruby-forum.com/.