问题
I need to get a process time for each line in ruby script, but couldn't find any suitable gem.
I often use line_profiler in python and it's really useful.
回答1:
I would try rblineprof and ruby-prof.
来源:https://stackoverflow.com/questions/24420924/is-there-a-good-line-profiler-for-ruby