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

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