mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
7e16f9e777
* lib/rdoc/parsers/parse_c.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10 lines
205 B
Ruby
10 lines
205 B
Ruby
require 'profiler'
|
|
|
|
RubyVM::InstructionSequence.compile_option = {
|
|
:trace_instruction => true,
|
|
:specialized_instruction => false
|
|
}
|
|
END {
|
|
Profiler__::print_profile(STDERR)
|
|
}
|
|
Profiler__::start_profile
|