Ruby on rails 如何在Ruby 2.2中获得对Ruby Prof特性的支持?
我目前正在运行ruby 2.2.2和rails 4.2,当我在GEM文件中包含“rails perftest”和“ruby prof”时,我得到了以下输出Ruby on rails 如何在Ruby 2.2中获得对Ruby Prof特性的支持?,ruby-on-rails,ruby,testing,performance-testing,Ruby On Rails,Ruby,Testing,Performance Testing,我目前正在运行ruby 2.2.2和rails 4.2,当我在GEM文件中包含“rails perftest”和“ruby prof”时,我得到了以下输出 wall_time: 7 ms memory: unsupported objects: unsupported gc_runs: 0 gc_time: 0 ms 有没有办法查看内存和对象输出,或者ruby 2.2.2完全不可能做到这一点?因此,到目前为止,这些功能无法正常工作,原因如下: “rails perftest”gem依赖于“ru
wall_time: 7 ms
memory: unsupported
objects: unsupported
gc_runs: 0
gc_time: 0 ms
有没有办法查看内存和对象输出,或者ruby 2.2.2完全不可能做到这一点?因此,到目前为止,这些功能无法正常工作,原因如下: “rails perftest”gem依赖于“ruby prof”gem,据“ruby prof”gem的开发人员称,这是由于“rails perftest”gem包含关于如何使用某些方法的错误假设造成的(见此处:)。在“rails性能测试”github回购协议上出现了一些问题,但我最近没有看到太多进展
本质上,问题在于“rails perftest”gem本身,而这个问题在gem出现之前是无法修复的。嘿,你成功地让它工作了吗?我有点困在同一个问题上。没有,但我补充了一个答案,解释了原因。谢谢。我今天得出了同样的结论。