aboutsummaryrefslogtreecommitdiffstats
path: root/lib/profile.rb
blob: e58c92125b5c2cb34236ccc0399a32c2e3e4940d (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true
require 'profiler'

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