Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a good line profiler for ruby?

Tags:

ruby

profiling

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.

like image 351
Light Yagmi Avatar asked Dec 13 '25 01:12

Light Yagmi


1 Answers

I would try rblineprof and ruby-prof.

like image 139
Sady Avatar answered Dec 15 '25 17:12

Sady