ruby-prof 0.15.2 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. checksums.yaml +7 -0
  2. data/doc/LICENSE.html +11 -14
  3. data/doc/README_rdoc.html +106 -109
  4. data/doc/Rack.html +6 -9
  5. data/doc/Rack/RubyProf.html +12 -15
  6. data/doc/RubyProf.html +11 -13
  7. data/doc/RubyProf/AbstractPrinter.html +7 -10
  8. data/doc/RubyProf/AggregateCallInfo.html +6 -9
  9. data/doc/RubyProf/CallInfo.html +8 -11
  10. data/doc/RubyProf/CallInfoPrinter.html +7 -10
  11. data/doc/RubyProf/CallInfoVisitor.html +6 -9
  12. data/doc/RubyProf/CallStackPrinter.html +48 -51
  13. data/doc/RubyProf/CallTreePrinter.html +14 -17
  14. data/doc/RubyProf/Cmd.html +44 -47
  15. data/doc/RubyProf/DotPrinter.html +8 -11
  16. data/doc/RubyProf/FlatPrinter.html +6 -9
  17. data/doc/RubyProf/FlatPrinterWithLineNumbers.html +9 -12
  18. data/doc/RubyProf/GraphHtmlPrinter.html +14 -18
  19. data/doc/RubyProf/GraphPrinter.html +6 -9
  20. data/doc/RubyProf/MethodInfo.html +8 -11
  21. data/doc/RubyProf/MultiPrinter.html +6 -9
  22. data/doc/RubyProf/Profile.html +7 -10
  23. data/doc/RubyProf/ProfileTask.html +18 -20
  24. data/doc/RubyProf/Thread.html +6 -9
  25. data/doc/created.rid +4 -4
  26. data/doc/{fonts.css → css/fonts.css} +0 -0
  27. data/doc/{rdoc.css → css/rdoc.css} +11 -1
  28. data/doc/examples/flat_txt.html +8 -11
  29. data/doc/examples/graph_html.html +8 -10
  30. data/doc/examples/graph_txt.html +13 -16
  31. data/doc/index.html +108 -109
  32. data/doc/js/darkfish.js +32 -11
  33. data/doc/js/jquery.js +4 -18
  34. data/doc/js/navigation.js.gz +0 -0
  35. data/doc/js/search_index.js +1 -1
  36. data/doc/js/search_index.js.gz +0 -0
  37. data/doc/js/searcher.js.gz +0 -0
  38. data/doc/table_of_contents.html +9 -9
  39. data/ext/ruby_prof/ruby_prof.c +2 -2
  40. data/lib/ruby-prof/version.rb +1 -1
  41. data/ruby-prof.gemspec +1 -1
  42. data/test/aggregate_test.rb +1 -1
  43. data/test/basic_test.rb +5 -5
  44. data/test/block_test.rb +74 -0
  45. data/test/call_info_test.rb +1 -1
  46. data/test/call_info_visitor_test.rb +1 -1
  47. data/test/duplicate_names_test.rb +1 -1
  48. data/test/dynamic_method_test.rb +37 -56
  49. data/test/enumerable_test.rb +7 -2
  50. data/test/exceptions_test.rb +2 -2
  51. data/test/exclude_threads_test.rb +1 -1
  52. data/test/fiber_test.rb +1 -1
  53. data/test/line_number_test.rb +1 -1
  54. data/test/measure_allocations_test.rb +1 -1
  55. data/test/measure_cpu_time_test.rb +1 -1
  56. data/test/measure_gc_runs_test.rb +1 -1
  57. data/test/measure_gc_time_test.rb +1 -1
  58. data/test/measure_memory_test.rb +2 -2
  59. data/test/measure_process_time_test.rb +1 -1
  60. data/test/measure_wall_time_test.rb +2 -2
  61. data/test/method_elimination_test.rb +1 -1
  62. data/test/module_test.rb +1 -1
  63. data/test/multi_printer_test.rb +1 -1
  64. data/test/pause_resume_test.rb +1 -1
  65. data/test/printers_test.rb +5 -5
  66. data/test/rack_test.rb +2 -2
  67. data/test/recursive_test.rb +1 -1
  68. data/test/singleton_test.rb +1 -1
  69. data/test/stack_printer_test.rb +1 -1
  70. data/test/stack_test.rb +1 -1
  71. data/test/start_stop_test.rb +4 -4
  72. data/test/test_helper.rb +8 -1
  73. data/test/thread_test.rb +1 -1
  74. data/test/unique_call_path_test.rb +2 -2
  75. data/test/yarv_test.rb +1 -1
  76. metadata +64 -71
@@ -3,7 +3,7 @@
3
3
 
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
- class ExceptionsTest < Test::Unit::TestCase
6
+ class ExceptionsTest < TestCase
7
7
  def test_profile
8
8
  result = begin
9
9
  RubyProf.profile do
@@ -11,6 +11,6 @@ class ExceptionsTest < Test::Unit::TestCase
11
11
  end
12
12
  rescue
13
13
  end
14
- assert_not_nil(result)
14
+ refute_nil(result)
15
15
  end
16
16
  end
@@ -5,7 +5,7 @@ require File.expand_path('../test_helper', __FILE__)
5
5
 
6
6
 
7
7
  # -- Tests ----
8
- class ExcludeThreadsTest < Test::Unit::TestCase
8
+ class ExcludeThreadsTest < TestCase
9
9
  def test_exclude_threads
10
10
 
11
11
  def thread1_proc
data/test/fiber_test.rb CHANGED
@@ -10,7 +10,7 @@ rescue LoadError
10
10
  end
11
11
 
12
12
  # -- Tests ----
13
- class FiberTest < Test::Unit::TestCase
13
+ class FiberTest < TestCase
14
14
 
15
15
  def fiber_test
16
16
  @fiber_ids << Fiber.current.object_id
@@ -17,7 +17,7 @@ class LineNumbers
17
17
  end
18
18
 
19
19
  # -- Tests ----
20
- class LineNumbersTest < Test::Unit::TestCase
20
+ class LineNumbersTest < TestCase
21
21
  def test_function_line_no
22
22
  numbers = LineNumbers.new
23
23
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
- class MeasureAllocationsTest < Test::Unit::TestCase
6
+ class MeasureAllocationsTest < TestCase
7
7
  def test_allocations_mode
8
8
  RubyProf::measure_mode = RubyProf::ALLOCATIONS
9
9
  assert_equal(RubyProf::ALLOCATIONS, RubyProf::measure_mode)
@@ -3,7 +3,7 @@
3
3
 
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
- class MeasureCpuTimeTest < Test::Unit::TestCase
6
+ class MeasureCpuTimeTest < TestCase
7
7
  def setup
8
8
  RubyProf::measure_mode = RubyProf::CPU_TIME
9
9
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
- class MeasureGCRunsTest < Test::Unit::TestCase
6
+ class MeasureGCRunsTest < TestCase
7
7
  include MemoryTestHelper
8
8
 
9
9
  def test_gc_runs_mode
@@ -3,7 +3,7 @@
3
3
 
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
- class MeasureGCTimeTest < Test::Unit::TestCase
6
+ class MeasureGCTimeTest < TestCase
7
7
  include MemoryTestHelper
8
8
 
9
9
  def test_gc_time_mode
@@ -3,7 +3,7 @@
3
3
 
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
- class MeasureMemoryTest < Test::Unit::TestCase
6
+ class MeasureMemoryTest < TestCase
7
7
  include MemoryTestHelper
8
8
 
9
9
  def test_memory_mode
@@ -25,7 +25,7 @@ class MeasureMemoryTest < Test::Unit::TestCase
25
25
  RubyProf::measure_mode = RubyProf::MEMORY
26
26
  total = memory_test_helper
27
27
  assert(total > 0, 'Should measure more than zero kilobytes of memory usage')
28
- assert_not_equal(0, total % 1, 'Should not truncate fractional kilobyte measurements')
28
+ refute_equal(0, total % 1, 'Should not truncate fractional kilobyte measurements')
29
29
  end
30
30
  end
31
31
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
- class MeasureProcessTimeTest < Test::Unit::TestCase
6
+ class MeasureProcessTimeTest < TestCase
7
7
  def setup
8
8
  # Need to fix this for linux (windows works since PROCESS_TIME is WALL_TIME anyway)
9
9
  RubyProf::measure_mode = RubyProf::PROCESS_TIME
@@ -3,7 +3,7 @@
3
3
 
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
- class MeasureWallTimeTest < Test::Unit::TestCase
6
+ class MeasureWallTimeTest < TestCase
7
7
  def setup
8
8
  # Need to use wall time for this test due to the sleep calls
9
9
  RubyProf::measure_mode = RubyProf::WALL_TIME
@@ -252,4 +252,4 @@ class MeasureWallTimeTest < Test::Unit::TestCase
252
252
  assert_in_delta(0, methods[1].wait_time, 0.01)
253
253
  assert_in_delta(0, methods[1].self_time, 0.01)
254
254
  end
255
- end
255
+ end
@@ -24,7 +24,7 @@ module MethodElimination
24
24
  end
25
25
  end
26
26
 
27
- class MethodEliminationTest < Test::Unit::TestCase
27
+ class MethodEliminationTest < TestCase
28
28
  def setup
29
29
  # Need to use wall time for this test due to the sleep calls
30
30
  RubyProf::measure_mode = RubyProf::WALL_TIME
data/test/module_test.rb CHANGED
@@ -26,7 +26,7 @@ end
26
26
 
27
27
  include Bar
28
28
 
29
- class ModuleTest < Test::Unit::TestCase
29
+ class ModuleTest < TestCase
30
30
  def test_nested_modules
31
31
  result = RubyProf.profile do
32
32
  hello
@@ -26,7 +26,7 @@ class MSTPT
26
26
  end
27
27
  end
28
28
 
29
- class MultiPrinterTest < Test::Unit::TestCase
29
+ class MultiPrinterTest < TestCase
30
30
  def setup
31
31
  # Need to use wall time for this test due to the sleep calls
32
32
  RubyProf::measure_mode = RubyProf::WALL_TIME
@@ -3,7 +3,7 @@
3
3
 
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
- class PauseResumeTest < Test::Unit::TestCase
6
+ class PauseResumeTest < TestCase
7
7
  def setup
8
8
  # Need to use wall time for this test due to the sleep calls
9
9
  RubyProf::measure_mode = RubyProf::WALL_TIME
@@ -6,7 +6,7 @@ require 'stringio'
6
6
  require 'fileutils'
7
7
 
8
8
  # -- Tests ----
9
- class PrintersTest < Test::Unit::TestCase
9
+ class PrintersTest < TestCase
10
10
  def setup
11
11
  # WALL_TIME so we can use sleep in our test and get same measurements on linux and windows
12
12
  RubyProf::measure_mode = RubyProf::WALL_TIME
@@ -65,7 +65,7 @@ class PrintersTest < Test::Unit::TestCase
65
65
 
66
66
  def test_flat_string
67
67
  output = helper_test_flat_string(RubyProf::FlatPrinter)
68
- assert_no_match(/prime.rb/, output)
68
+ refute_match(/prime.rb/, output)
69
69
  end
70
70
 
71
71
  def helper_test_flat_string(klass)
@@ -84,13 +84,13 @@ class PrintersTest < Test::Unit::TestCase
84
84
  def test_flat_string_with_numbers
85
85
  output = helper_test_flat_string RubyProf::FlatPrinterWithLineNumbers
86
86
  assert_match(/prime.rb/, output)
87
- assert_no_match(/ruby_runtime:0/, output)
87
+ refute_match(/ruby_runtime:0/, output)
88
88
  assert_match(/called from/, output)
89
89
 
90
90
  # should combine common parents
91
91
  # 1.9 inlines it's Fixnum#- so we don't see as many
92
92
  assert_equal(2, output.scan(/Object#is_prime/).length)
93
- assert_no_match(/\.\/test\/prime.rb/, output) # don't use relative paths
93
+ refute_match(/\.\/test\/prime.rb/, output) # don't use relative paths
94
94
  end
95
95
 
96
96
  def test_graph_html_string
@@ -120,7 +120,7 @@ class PrintersTest < Test::Unit::TestCase
120
120
  printer.print(output)
121
121
  assert_match(/fn=Object#find_primes/i, output)
122
122
  assert_match(/events: wall_time/i, output)
123
- assert_no_match(/d\d\d\d\d\d/, output) # old bug looked [in error] like Object::run_primes(d5833116)
123
+ refute_match(/d\d\d\d\d\d/, output) # old bug looked [in error] like Object::run_primes(d5833116)
124
124
  end
125
125
 
126
126
  def do_nothing
data/test/rack_test.rb CHANGED
@@ -8,7 +8,7 @@ class FakeRackApp
8
8
  end
9
9
  end
10
10
 
11
- class RackTest < Test::Unit::TestCase
11
+ class RackTest < TestCase
12
12
  def test_create_print_path
13
13
  path = Dir.mktmpdir
14
14
  Dir.delete(path)
@@ -17,4 +17,4 @@ class RackTest < Test::Unit::TestCase
17
17
 
18
18
  assert_equal(true, Dir.exist?(path))
19
19
  end
20
- end
20
+ end
@@ -32,7 +32,7 @@ def render
32
32
  end
33
33
 
34
34
  # -- Tests ----
35
- class RecursiveTest < Test::Unit::TestCase
35
+ class RecursiveTest < TestCase
36
36
  def setup
37
37
  # Need to use wall time for this test due to the sleep calls
38
38
  RubyProf::measure_mode = RubyProf::WALL_TIME
@@ -24,7 +24,7 @@ class A
24
24
  end
25
25
  end
26
26
 
27
- class SingletonTest < Test::Unit::TestCase
27
+ class SingletonTest < TestCase
28
28
  def test_singleton
29
29
  result = RubyProf.profile do
30
30
  a = A.new
@@ -26,7 +26,7 @@ class STPT
26
26
  end
27
27
  end
28
28
 
29
- class StackPrinterTest < Test::Unit::TestCase
29
+ class StackPrinterTest < TestCase
30
30
  def setup
31
31
  # Need to use wall time for this test due to the sleep calls
32
32
  RubyProf::measure_mode = RubyProf::WALL_TIME
data/test/stack_test.rb CHANGED
@@ -27,7 +27,7 @@ class StackClass
27
27
  end
28
28
  end
29
29
 
30
- class StackTest < Test::Unit::TestCase
30
+ class StackTest < TestCase
31
31
  def setup
32
32
  # Need to use wall time for this test due to the sleep calls
33
33
  RubyProf::measure_mode = RubyProf::WALL_TIME
@@ -3,7 +3,7 @@
3
3
 
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
- class StartStopTest < Test::Unit::TestCase
6
+ class StartStopTest < TestCase
7
7
  def setup
8
8
  # Need to use wall time for this test due to the sleep calls
9
9
  RubyProf::measure_mode = RubyProf::WALL_TIME
@@ -25,16 +25,16 @@ class StartStopTest < Test::Unit::TestCase
25
25
 
26
26
  def test_extra_stop_should_raise
27
27
  RubyProf.start
28
- assert_raise(RuntimeError) do
28
+ assert_raises(RuntimeError) do
29
29
  RubyProf.start
30
30
  end
31
31
 
32
- assert_raise(RuntimeError) do
32
+ assert_raises(RuntimeError) do
33
33
  RubyProf.profile {}
34
34
  end
35
35
 
36
36
  RubyProf.stop # ok
37
- assert_raise(RuntimeError) do
37
+ assert_raises(RuntimeError) do
38
38
  RubyProf.stop
39
39
  end
40
40
  end
data/test/test_helper.rb CHANGED
@@ -25,7 +25,14 @@ $LOAD_PATH << lib
25
25
  $LOAD_PATH << ext
26
26
 
27
27
  require 'ruby-prof'
28
- require 'test/unit'
28
+ require 'minitest/autorun'
29
+
30
+ class TestCase < Minitest::Test
31
+ def assert_nothing_raised(*)
32
+ yield
33
+ end
34
+ end
35
+
29
36
  require File.expand_path('../prime', __FILE__)
30
37
 
31
38
  # Some classes used in measurement tests
data/test/thread_test.rb CHANGED
@@ -6,7 +6,7 @@ require 'timeout'
6
6
  require 'benchmark'
7
7
 
8
8
  # -- Tests ----
9
- class ThreadTest < Test::Unit::TestCase
9
+ class ThreadTest < TestCase
10
10
  def setup
11
11
  # Need to use wall time for this test due to the sleep calls
12
12
  RubyProf::measure_mode = RubyProf::WALL_TIME
@@ -26,7 +26,7 @@ end
26
26
 
27
27
 
28
28
  # -- Tests ----
29
- class UniqueCallPathTest < Test::Unit::TestCase
29
+ class UniqueCallPathTest < TestCase
30
30
  def test_root_method
31
31
  unique_call_path = UniqueCallPath.new
32
32
 
@@ -149,7 +149,7 @@ class UniqueCallPathTest < Test::Unit::TestCase
149
149
 
150
150
  child = root_methods[0].children[0]
151
151
 
152
- assert_not_equal(0, child.object_id)
152
+ refute_equal(0, child.object_id)
153
153
  #assert_equal(RubyProf::CallInfo.id2ref(child.id).target.full_name, child.target.full_name)
154
154
  end
155
155
 
data/test/yarv_test.rb CHANGED
@@ -4,7 +4,7 @@
4
4
  require File.expand_path('../test_helper', __FILE__)
5
5
 
6
6
  # tests for bugs reported by users
7
- class BugsTest < Test::Unit::TestCase
7
+ class BugsTest < TestCase
8
8
  def setup
9
9
  RubyProf::measure_mode = RubyProf::WALL_TIME
10
10
  define_methods
metadata CHANGED
@@ -1,64 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-prof
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.15.2
4
+ version: 0.15.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Shugo Maeda, Charlie Savage, Roger Pack, Stefan Kaes
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-10-23 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: minitest
16
- type: :development
17
15
  requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: '4.0'
22
- none: false
19
+ version: 5.5.0
20
+ type: :development
21
+ prerelease: false
23
22
  version_requirements: !ruby/object:Gem::Requirement
24
23
  requirements:
25
- - - ~>
24
+ - - "~>"
26
25
  - !ruby/object:Gem::Version
27
- version: '4.0'
28
- none: false
29
- prerelease: false
26
+ version: 5.5.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake-compiler
32
- type: :development
33
29
  requirement: !ruby/object:Gem::Requirement
34
30
  requirements:
35
- - - '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
- none: false
34
+ type: :development
35
+ prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - '>='
38
+ - - ">="
42
39
  - !ruby/object:Gem::Version
43
40
  version: '0'
44
- none: false
45
- prerelease: false
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rdoc
48
- type: :development
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
- - - '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
- none: false
48
+ type: :development
49
+ prerelease: false
55
50
  version_requirements: !ruby/object:Gem::Requirement
56
51
  requirements:
57
- - - '>='
52
+ - - ">="
58
53
  - !ruby/object:Gem::Version
59
54
  version: '0'
60
- none: false
61
- prerelease: false
62
55
  description: |
63
56
  ruby-prof is a fast code profiler for Ruby. It is a C extension and
64
57
  therefore is many times faster than the standard Ruby profiler. It
@@ -76,12 +69,36 @@ extra_rdoc_files: []
76
69
  files:
77
70
  - CHANGES
78
71
  - LICENSE
79
- - Rakefile
80
72
  - README.rdoc
81
- - ruby-prof.gemspec
73
+ - Rakefile
82
74
  - bin/ruby-prof
83
75
  - bin/ruby-prof-check-trace
76
+ - doc/LICENSE.html
77
+ - doc/README_rdoc.html
78
+ - doc/Rack.html
79
+ - doc/Rack/RubyProf.html
80
+ - doc/RubyProf.html
81
+ - doc/RubyProf/AbstractPrinter.html
82
+ - doc/RubyProf/AggregateCallInfo.html
83
+ - doc/RubyProf/CallInfo.html
84
+ - doc/RubyProf/CallInfoPrinter.html
85
+ - doc/RubyProf/CallInfoVisitor.html
86
+ - doc/RubyProf/CallStackPrinter.html
87
+ - doc/RubyProf/CallTreePrinter.html
88
+ - doc/RubyProf/Cmd.html
89
+ - doc/RubyProf/DotPrinter.html
90
+ - doc/RubyProf/FlatPrinter.html
91
+ - doc/RubyProf/FlatPrinterWithLineNumbers.html
92
+ - doc/RubyProf/GraphHtmlPrinter.html
93
+ - doc/RubyProf/GraphPrinter.html
94
+ - doc/RubyProf/MethodInfo.html
95
+ - doc/RubyProf/MultiPrinter.html
96
+ - doc/RubyProf/Profile.html
97
+ - doc/RubyProf/ProfileTask.html
98
+ - doc/RubyProf/Thread.html
84
99
  - doc/created.rid
100
+ - doc/css/fonts.css
101
+ - doc/css/rdoc.css
85
102
  - doc/examples/flat_txt.html
86
103
  - doc/examples/graph_html.html
87
104
  - doc/examples/graph_txt.html
@@ -91,7 +108,6 @@ files:
91
108
  - doc/fonts/Lato-RegularItalic.ttf
92
109
  - doc/fonts/SourceCodePro-Bold.ttf
93
110
  - doc/fonts/SourceCodePro-Regular.ttf
94
- - doc/fonts.css
95
111
  - doc/images/add.png
96
112
  - doc/images/arrow_up.png
97
113
  - doc/images/brick.png
@@ -121,33 +137,12 @@ files:
121
137
  - doc/js/darkfish.js
122
138
  - doc/js/jquery.js
123
139
  - doc/js/navigation.js
140
+ - doc/js/navigation.js.gz
124
141
  - doc/js/search.js
125
142
  - doc/js/search_index.js
143
+ - doc/js/search_index.js.gz
126
144
  - doc/js/searcher.js
127
- - doc/LICENSE.html
128
- - doc/Rack/RubyProf.html
129
- - doc/Rack.html
130
- - doc/rdoc.css
131
- - doc/README_rdoc.html
132
- - doc/RubyProf/AbstractPrinter.html
133
- - doc/RubyProf/AggregateCallInfo.html
134
- - doc/RubyProf/CallInfo.html
135
- - doc/RubyProf/CallInfoPrinter.html
136
- - doc/RubyProf/CallInfoVisitor.html
137
- - doc/RubyProf/CallStackPrinter.html
138
- - doc/RubyProf/CallTreePrinter.html
139
- - doc/RubyProf/Cmd.html
140
- - doc/RubyProf/DotPrinter.html
141
- - doc/RubyProf/FlatPrinter.html
142
- - doc/RubyProf/FlatPrinterWithLineNumbers.html
143
- - doc/RubyProf/GraphHtmlPrinter.html
144
- - doc/RubyProf/GraphPrinter.html
145
- - doc/RubyProf/MethodInfo.html
146
- - doc/RubyProf/MultiPrinter.html
147
- - doc/RubyProf/Profile.html
148
- - doc/RubyProf/ProfileTask.html
149
- - doc/RubyProf/Thread.html
150
- - doc/RubyProf.html
145
+ - doc/js/searcher.js.gz
151
146
  - doc/table_of_contents.html
152
147
  - examples/empty.png
153
148
  - examples/flat.txt
@@ -164,7 +159,9 @@ files:
164
159
  - examples/stack.html
165
160
  - ext/ruby_prof/extconf.rb
166
161
  - ext/ruby_prof/rp_call_info.c
162
+ - ext/ruby_prof/rp_call_info.h
167
163
  - ext/ruby_prof/rp_measure.c
164
+ - ext/ruby_prof/rp_measure.h
168
165
  - ext/ruby_prof/rp_measure_allocations.c
169
166
  - ext/ruby_prof/rp_measure_cpu_time.c
170
167
  - ext/ruby_prof/rp_measure_gc_runs.c
@@ -173,34 +170,26 @@ files:
173
170
  - ext/ruby_prof/rp_measure_process_time.c
174
171
  - ext/ruby_prof/rp_measure_wall_time.c
175
172
  - ext/ruby_prof/rp_method.c
176
- - ext/ruby_prof/rp_stack.c
177
- - ext/ruby_prof/rp_thread.c
178
- - ext/ruby_prof/ruby_prof.c
179
- - ext/ruby_prof/rp_call_info.h
180
- - ext/ruby_prof/rp_measure.h
181
173
  - ext/ruby_prof/rp_method.h
174
+ - ext/ruby_prof/rp_stack.c
182
175
  - ext/ruby_prof/rp_stack.h
176
+ - ext/ruby_prof/rp_thread.c
183
177
  - ext/ruby_prof/rp_thread.h
178
+ - ext/ruby_prof/ruby_prof.c
184
179
  - ext/ruby_prof/ruby_prof.h
185
180
  - ext/ruby_prof/vc/ruby_prof.sln
186
181
  - ext/ruby_prof/vc/ruby_prof_18.vcxproj
187
182
  - ext/ruby_prof/vc/ruby_prof_19.vcxproj
188
183
  - ext/ruby_prof/vc/ruby_prof_20.vcxproj
189
184
  - lib/ruby-prof.rb
190
- - lib/unprof.rb
191
185
  - lib/ruby-prof/aggregate_call_info.rb
192
186
  - lib/ruby-prof/call_info.rb
193
187
  - lib/ruby-prof/call_info_visitor.rb
194
188
  - lib/ruby-prof/compatibility.rb
195
- - lib/ruby-prof/method_info.rb
196
- - lib/ruby-prof/profile.rb
197
- - lib/ruby-prof/rack.rb
198
- - lib/ruby-prof/task.rb
199
- - lib/ruby-prof/thread.rb
200
- - lib/ruby-prof/version.rb
201
189
  - lib/ruby-prof/images/empty.png
202
190
  - lib/ruby-prof/images/minus.png
203
191
  - lib/ruby-prof/images/plus.png
192
+ - lib/ruby-prof/method_info.rb
204
193
  - lib/ruby-prof/printers/abstract_printer.rb
205
194
  - lib/ruby-prof/printers/call_info_printer.rb
206
195
  - lib/ruby-prof/printers/call_stack_printer.rb
@@ -211,8 +200,16 @@ files:
211
200
  - lib/ruby-prof/printers/graph_html_printer.rb
212
201
  - lib/ruby-prof/printers/graph_printer.rb
213
202
  - lib/ruby-prof/printers/multi_printer.rb
203
+ - lib/ruby-prof/profile.rb
204
+ - lib/ruby-prof/rack.rb
205
+ - lib/ruby-prof/task.rb
206
+ - lib/ruby-prof/thread.rb
207
+ - lib/ruby-prof/version.rb
208
+ - lib/unprof.rb
209
+ - ruby-prof.gemspec
214
210
  - test/aggregate_test.rb
215
211
  - test/basic_test.rb
212
+ - test/block_test.rb
216
213
  - test/call_info_test.rb
217
214
  - test/call_info_visitor_test.rb
218
215
  - test/duplicate_names_test.rb
@@ -249,30 +246,26 @@ files:
249
246
  homepage: https://github.com/ruby-prof/ruby-prof
250
247
  licenses:
251
248
  - BSD-2-Clause
249
+ metadata: {}
252
250
  post_install_message:
253
251
  rdoc_options: []
254
252
  require_paths:
255
253
  - lib
256
254
  required_ruby_version: !ruby/object:Gem::Requirement
257
255
  requirements:
258
- - - '>='
256
+ - - ">="
259
257
  - !ruby/object:Gem::Version
260
258
  version: 1.9.3
261
- none: false
262
259
  required_rubygems_version: !ruby/object:Gem::Requirement
263
260
  requirements:
264
- - - '>='
261
+ - - ">="
265
262
  - !ruby/object:Gem::Version
266
- segments:
267
- - 0
268
- hash: 1472776481554744020
269
263
  version: '0'
270
- none: false
271
264
  requirements: []
272
265
  rubyforge_project:
273
- rubygems_version: 1.8.25
266
+ rubygems_version: 2.4.5
274
267
  signing_key:
275
- specification_version: 3
268
+ specification_version: 4
276
269
  summary: Fast Ruby profiler
277
270
  test_files:
278
271
  - test/test_helper.rb