mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
71ef585f4e
* lib/profiler.rb: separate profiling functions, without trace_func and at_exit setting. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
6 lines
90 B
Ruby
6 lines
90 B
Ruby
require 'profiler'
|
|
|
|
END {
|
|
Profiler__::print_profile(STDERR)
|
|
}
|
|
Profiler__::start_profile
|