aboutsummaryrefslogtreecommitdiffstats
path: root/lib/profile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/profile.rb')
-rw-r--r--lib/profile.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/profile.rb b/lib/profile.rb
index 104cb205b9..19275a3fd2 100644
--- a/lib/profile.rb
+++ b/lib/profile.rb
@@ -1,5 +1,9 @@
require 'profiler'
+VM::InstructionSequence.compile_option = {
+ :trace_instruction => true,
+ :specialized_instruction => false
+}
END {
Profiler__::print_profile(STDERR)
}