From: Victor 'Zverok' Shepelev Date: 2006-10-26T18:51:12+09:00 Subject: ruby-prof vs. Object#clone For some reasons I extensively use this technique: obj = MyClass.new(...) obj.instance_eval{ def my_cool_method end } #create 1000 clones of the obj, call #my_cool_method (1..1000).collect{ clon = obj.clone clon.my_cool_method } The problem is ruby-prof shows each clone's #my_cool_method as separate one in the report, so I see 1000 lines with 1 calls of #my_cool_method instead of 1 line with 1000 calls. Is it bug or by design? May this problem be result of the fact I use latest Ruby 1.9 version? Thanks. V.