naruse
3e92b635fb
Add frozen_string_literal: false for all files
...
When you change this to true, you may need to add more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
zzak
fdfc521519
* lib/profiler.rb: Document Profiler__ methods
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 23:04:36 +00:00
nobu
9ed4d1ab8c
profiler.rb: block calls
...
* lib/profiler.rb (PROFILE_CALL_PROC, PROFILE_RETURN_PROC): add b_call
and b_return to profile block calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-03 00:38:46 +00:00
nobu
f87614d7a8
profiler.rb: split PROFILE_PROC
...
* lib/profiler.rb (PROFILE_CALL_PROC, PROFILE_RETURN_PROC): split
PROFILE_PROC for call and return events.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-03 00:37:26 +00:00
nobu
80b55686f0
profiler.rb: concurrent-execution
...
* lib/profiler.rb (Profiler__::PROFILE_PROC, print_profile): store
profile data per threads for concurrent-execution.
[ruby-core:22046] [Bug #1152 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-23 08:57:32 +00:00
nobu
c81a5012f1
profiler.rb: Wrapper for BasicObject
...
* lib/profiler.rb (Profiler__::Wrapper): support calling singleton
methods of an instance of BasicObject.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-23 08:57:27 +00:00
nobu
ef6abd10c7
profiler.rb: TracePoint
...
* lib/profiler.rb (Profiler__::PROFILE_PROC): use TracePoint.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-23 08:57:22 +00:00
ktsj
42c18fe764
* lib/profiler.rb: support calling singleton methods of
...
an instance of BasicObject.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-18 01:03:35 +00:00
drbrain
455c23fa01
Clean whitespace
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-23 23:35:21 +00:00
drbrain
480ea9ffae
* lib/profiler.rb: Add Profiler documentation by Gonzalo Rodriguez.
...
[Bug #5816 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-23 23:15:44 +00:00
nobu
71b1673229
* lib/profiler.rb (Profiler__#print_profile): sort in the descending
...
order of cumulative time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-09 02:13:41 +00:00
matz
41c48d1ee8
* eval.c (call_trace_func): klass parameter should be a
...
class/module that defines calling method. [ruby-talk:169307]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07 15:46:49 +00:00
ocean
4c72dfd39f
* lib/profiler.rb: fixed "undefined method `[]' for nil:NilClass"
...
[ruby-core:4775] [ruby-talk:140401] [ruby-dev:26118]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-08 07:54:20 +00:00
matz
71ef585f4e
* object.c (Init_Object): should not remove Class#allocate.
...
* 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
2002-12-20 09:00:10 +00:00