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

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