Ruby 如何减少Rubinius遗漏的方法数量';剖析器

Ruby 如何减少Rubinius遗漏的方法数量';剖析器,ruby,profiling,rubinius,Ruby,Profiling,Rubinius,当我运行Rubinius时,使用 ruby -Xprofiler.graph test/test_suite.rb 1,379 methods omitted 1,424 methods called a total of 0 times 在测试套件中包含以下内容 # Code for actual tests here # create a profiler instance profiler = Rubinius::Profiler::Instrumenter.new # star

当我运行Rubinius时,使用

ruby -Xprofiler.graph test/test_suite.rb
1,379 methods omitted

1,424 methods called a total of 0 times
在测试套件中包含以下内容

# Code for actual tests here

# create a profiler instance
profiler = Rubinius::Profiler::Instrumenter.new

# start the profiler
profiler.start

# Run test unit now
require 'test/unit'
class Test::Unit::Runner
  @@stop_auto_run = true
end
Test::Unit::Runner.new.run(ARGV)

profiler.stop

# print out the profiler info
profiler.show  # takes on IO object, defaults to STDOUT
我经常看到这样的事情

ruby -Xprofiler.graph test/test_suite.rb
1,379 methods omitted

1,424 methods called a total of 0 times
可能是因为剩下的方法太小,无法满足所需时间的阈值

我尝试使用类似于
-Xprofiler.threshold=10000
的东西,但似乎没有任何帮助


如何修改Rubinius的探查器忽略了多少方法?

使用-Xprofiler.full\u报告选项