ruby-prof 0.15.2 → 0.15.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/doc/LICENSE.html +11 -14
- data/doc/README_rdoc.html +106 -109
- data/doc/Rack.html +6 -9
- data/doc/Rack/RubyProf.html +12 -15
- data/doc/RubyProf.html +11 -13
- data/doc/RubyProf/AbstractPrinter.html +7 -10
- data/doc/RubyProf/AggregateCallInfo.html +6 -9
- data/doc/RubyProf/CallInfo.html +8 -11
- data/doc/RubyProf/CallInfoPrinter.html +7 -10
- data/doc/RubyProf/CallInfoVisitor.html +6 -9
- data/doc/RubyProf/CallStackPrinter.html +48 -51
- data/doc/RubyProf/CallTreePrinter.html +14 -17
- data/doc/RubyProf/Cmd.html +44 -47
- data/doc/RubyProf/DotPrinter.html +8 -11
- data/doc/RubyProf/FlatPrinter.html +6 -9
- data/doc/RubyProf/FlatPrinterWithLineNumbers.html +9 -12
- data/doc/RubyProf/GraphHtmlPrinter.html +14 -18
- data/doc/RubyProf/GraphPrinter.html +6 -9
- data/doc/RubyProf/MethodInfo.html +8 -11
- data/doc/RubyProf/MultiPrinter.html +6 -9
- data/doc/RubyProf/Profile.html +7 -10
- data/doc/RubyProf/ProfileTask.html +18 -20
- data/doc/RubyProf/Thread.html +6 -9
- data/doc/created.rid +4 -4
- data/doc/{fonts.css → css/fonts.css} +0 -0
- data/doc/{rdoc.css → css/rdoc.css} +11 -1
- data/doc/examples/flat_txt.html +8 -11
- data/doc/examples/graph_html.html +8 -10
- data/doc/examples/graph_txt.html +13 -16
- data/doc/index.html +108 -109
- data/doc/js/darkfish.js +32 -11
- data/doc/js/jquery.js +4 -18
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +9 -9
- data/ext/ruby_prof/ruby_prof.c +2 -2
- data/lib/ruby-prof/version.rb +1 -1
- data/ruby-prof.gemspec +1 -1
- data/test/aggregate_test.rb +1 -1
- data/test/basic_test.rb +5 -5
- data/test/block_test.rb +74 -0
- data/test/call_info_test.rb +1 -1
- data/test/call_info_visitor_test.rb +1 -1
- data/test/duplicate_names_test.rb +1 -1
- data/test/dynamic_method_test.rb +37 -56
- data/test/enumerable_test.rb +7 -2
- data/test/exceptions_test.rb +2 -2
- data/test/exclude_threads_test.rb +1 -1
- data/test/fiber_test.rb +1 -1
- data/test/line_number_test.rb +1 -1
- data/test/measure_allocations_test.rb +1 -1
- data/test/measure_cpu_time_test.rb +1 -1
- data/test/measure_gc_runs_test.rb +1 -1
- data/test/measure_gc_time_test.rb +1 -1
- data/test/measure_memory_test.rb +2 -2
- data/test/measure_process_time_test.rb +1 -1
- data/test/measure_wall_time_test.rb +2 -2
- data/test/method_elimination_test.rb +1 -1
- data/test/module_test.rb +1 -1
- data/test/multi_printer_test.rb +1 -1
- data/test/pause_resume_test.rb +1 -1
- data/test/printers_test.rb +5 -5
- data/test/rack_test.rb +2 -2
- data/test/recursive_test.rb +1 -1
- data/test/singleton_test.rb +1 -1
- data/test/stack_printer_test.rb +1 -1
- data/test/stack_test.rb +1 -1
- data/test/start_stop_test.rb +4 -4
- data/test/test_helper.rb +8 -1
- data/test/thread_test.rb +1 -1
- data/test/unique_call_path_test.rb +2 -2
- data/test/yarv_test.rb +1 -1
- metadata +64 -71
data/test/exceptions_test.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
require File.expand_path('../test_helper', __FILE__)
|
5
5
|
|
6
|
-
class ExceptionsTest <
|
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
|
-
|
14
|
+
refute_nil(result)
|
15
15
|
end
|
16
16
|
end
|
data/test/fiber_test.rb
CHANGED
data/test/line_number_test.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
require File.expand_path('../test_helper', __FILE__)
|
5
5
|
|
6
|
-
class MeasureAllocationsTest <
|
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)
|
data/test/measure_memory_test.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
require File.expand_path('../test_helper', __FILE__)
|
5
5
|
|
6
|
-
class MeasureMemoryTest <
|
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
|
-
|
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 <
|
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 <
|
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 <
|
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
data/test/multi_printer_test.rb
CHANGED
data/test/pause_resume_test.rb
CHANGED
data/test/printers_test.rb
CHANGED
@@ -6,7 +6,7 @@ require 'stringio'
|
|
6
6
|
require 'fileutils'
|
7
7
|
|
8
8
|
# -- Tests ----
|
9
|
-
class PrintersTest <
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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 <
|
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
|
data/test/recursive_test.rb
CHANGED
data/test/singleton_test.rb
CHANGED
data/test/stack_printer_test.rb
CHANGED
data/test/stack_test.rb
CHANGED
data/test/start_stop_test.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
require File.expand_path('../test_helper', __FILE__)
|
5
5
|
|
6
|
-
class StartStopTest <
|
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
|
-
|
28
|
+
assert_raises(RuntimeError) do
|
29
29
|
RubyProf.start
|
30
30
|
end
|
31
31
|
|
32
|
-
|
32
|
+
assert_raises(RuntimeError) do
|
33
33
|
RubyProf.profile {}
|
34
34
|
end
|
35
35
|
|
36
36
|
RubyProf.stop # ok
|
37
|
-
|
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 '
|
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
@@ -26,7 +26,7 @@ end
|
|
26
26
|
|
27
27
|
|
28
28
|
# -- Tests ----
|
29
|
-
class UniqueCallPathTest <
|
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
|
-
|
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
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
|
-
|
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:
|
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:
|
22
|
-
|
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:
|
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
|
-
|
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
|
-
|
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
|
-
-
|
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/
|
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:
|
266
|
+
rubygems_version: 2.4.5
|
274
267
|
signing_key:
|
275
|
-
specification_version:
|
268
|
+
specification_version: 4
|
276
269
|
summary: Fast Ruby profiler
|
277
270
|
test_files:
|
278
271
|
- test/test_helper.rb
|