summaryrefslogtreecommitdiff
path: root/lib/profile.rb
blob: 19275a3fd26800d9b084dcbd3ef3b403884be4da (plain)
1
2
3
4
5
6
7
8
9
10
require 'profiler'

VM::InstructionSequence.compile_option = {
  :trace_instruction => true,
  :specialized_instruction => false
}
END {
  Profiler__::print_profile(STDERR)
}
Profiler__::start_profile