summaryrefslogtreecommitdiff
path: root/lib/profile.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-11 11:37:17 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-11 11:37:17 +0000
commitbc76d8a232bed2e245cd3997ebd9826938f7a738 (patch)
treedca4ed745c247dd74e818d3f480ed28c669b264e /lib/profile.rb
parent098ec6eb5076f3a140777c5cb56be4465bfa432f (diff)
Removed from standard library. No one maintains it from Ruby 2.0.0.
[Bug #15652][ruby-core:91736] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/profile.rb')
-rw-r--r--lib/profile.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/profile.rb b/lib/profile.rb
deleted file mode 100644
index e58c92125b5..00000000000
--- a/lib/profile.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-require 'profiler'
-
-RubyVM::InstructionSequence.compile_option = {
- :trace_instruction => true,
- :specialized_instruction => false
-}
-END {
- Profiler__::print_profile(STDERR)
-}
-Profiler__::start_profile