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