有没有很好的 ruby 线分析器? [英] Is there a good line profiler for ruby?
本文介绍了有没有很好的 ruby 线分析器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要获取 ruby 脚本中每一行的处理时间,但找不到任何合适的 gem.
I need to get a process time for each line in ruby script, but couldn't find any suitable gem.
我经常在 python 中使用 line_profiler,它真的很有用.
I often use line_profiler in python and it's really useful.
推荐答案
我会尝试 rblineprof 和 ruby-prof.
这篇关于有没有很好的 ruby 线分析器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文