ruby-prof 0.11.2 → 0.13.0
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.
- data/CHANGES +31 -0
- data/README.rdoc +17 -17
- data/Rakefile +28 -5
- data/bin/ruby-prof +274 -265
- data/doc/LICENSE.html +155 -0
- data/doc/README_rdoc.html +640 -0
- data/doc/Rack/RubyProf.html +319 -0
- data/doc/Rack.html +167 -0
- data/doc/RubyProf/AbstractPrinter.html +580 -0
- data/doc/RubyProf/AggregateCallInfo.html +570 -0
- data/doc/RubyProf/CallInfo.html +512 -0
- data/doc/RubyProf/CallInfoPrinter.html +190 -0
- data/doc/RubyProf/CallInfoVisitor.html +332 -0
- data/doc/RubyProf/CallStackPrinter.html +1600 -0
- data/doc/RubyProf/CallTreePrinter.html +413 -0
- data/doc/RubyProf/Cmd.html +669 -0
- data/doc/RubyProf/DotPrinter.html +312 -0
- data/doc/RubyProf/FlatPrinter.html +229 -0
- data/doc/RubyProf/FlatPrinterWithLineNumbers.html +267 -0
- data/doc/RubyProf/GraphHtmlPrinter.html +631 -0
- data/doc/RubyProf/GraphPrinter.html +209 -0
- data/doc/RubyProf/MethodInfo.html +713 -0
- data/doc/RubyProf/MultiPrinter.html +407 -0
- data/doc/RubyProf/Profile.html +821 -0
- data/doc/RubyProf/ProfileTask.html +532 -0
- data/doc/RubyProf/Test.html +578 -0
- data/doc/RubyProf/Thread.html +262 -0
- data/doc/RubyProf.html +999 -0
- data/doc/created.rid +32 -0
- data/doc/examples/flat_txt.html +191 -0
- data/doc/examples/graph_txt.html +305 -0
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +639 -0
- data/doc/js/darkfish.js +155 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +543 -0
- data/doc/table_of_contents.html +462 -0
- data/examples/empty.png +0 -0
- data/examples/minus.png +0 -0
- data/examples/plus.png +0 -0
- data/ext/ruby_prof/extconf.rb +7 -1
- data/ext/ruby_prof/rp_call_info.c +33 -24
- data/ext/ruby_prof/rp_call_info.h +2 -1
- data/ext/ruby_prof/rp_measure.c +1 -1
- data/ext/ruby_prof/rp_measure.h +1 -1
- data/ext/ruby_prof/rp_measure_allocations.c +1 -1
- data/ext/ruby_prof/rp_measure_cpu_time.c +1 -1
- data/ext/ruby_prof/rp_measure_gc_runs.c +1 -1
- data/ext/ruby_prof/rp_measure_gc_time.c +7 -11
- data/ext/ruby_prof/rp_measure_memory.c +1 -2
- data/ext/ruby_prof/rp_measure_process_time.c +2 -2
- data/ext/ruby_prof/rp_measure_wall_time.c +2 -2
- data/ext/ruby_prof/rp_method.c +11 -24
- data/ext/ruby_prof/rp_method.h +2 -3
- data/ext/ruby_prof/rp_stack.c +50 -14
- data/ext/ruby_prof/rp_stack.h +10 -10
- data/ext/ruby_prof/rp_thread.c +54 -29
- data/ext/ruby_prof/rp_thread.h +8 -7
- data/ext/ruby_prof/ruby_prof.c +35 -98
- data/ext/ruby_prof/ruby_prof.h +1 -1
- data/ext/ruby_prof/vc/ruby_prof.sln +12 -6
- data/ext/ruby_prof/vc/{ruby_prof.vcxproj → ruby_prof_19.vcxproj} +1 -0
- data/ext/ruby_prof/vc/ruby_prof_20.vcxproj +110 -0
- data/ext/ruby_prof/version.h +4 -4
- data/lib/ruby-prof/call_info.rb +1 -1
- data/lib/ruby-prof/call_info_visitor.rb +4 -2
- data/lib/ruby-prof/compatibility.rb +21 -6
- data/lib/ruby-prof/images/empty.png +0 -0
- data/lib/ruby-prof/images/minus.png +0 -0
- data/lib/ruby-prof/images/plus.png +0 -0
- data/lib/ruby-prof/method_info.rb +1 -1
- data/lib/ruby-prof/printers/call_info_printer.rb +3 -2
- data/lib/ruby-prof/printers/call_stack_printer.rb +10 -7
- data/lib/ruby-prof/printers/dot_printer.rb +2 -2
- data/lib/ruby-prof/printers/flat_printer.rb +5 -4
- data/lib/ruby-prof/printers/flat_printer_with_line_numbers.rb +2 -2
- data/lib/ruby-prof/printers/graph_html_printer.rb +16 -8
- data/lib/ruby-prof/printers/graph_printer.rb +17 -16
- data/lib/ruby-prof/profile.rb +1 -1
- data/lib/ruby-prof/rack.rb +1 -6
- data/lib/ruby-prof/task.rb +0 -0
- data/lib/ruby-prof/thread.rb +22 -0
- data/lib/ruby-prof.rb +1 -0
- data/ruby-prof.gemspec +5 -3
- data/test/aggregate_test.rb +0 -0
- data/test/basic_test.rb +77 -45
- data/test/call_info_test.rb +78 -0
- data/test/call_info_visitor_test.rb +1 -1
- data/test/duplicate_names_test.rb +0 -0
- data/test/dynamic_method_test.rb +21 -8
- data/test/enumerable_test.rb +0 -0
- data/test/exceptions_test.rb +0 -0
- data/test/exclude_threads_test.rb +0 -0
- data/test/exec_test.rb +0 -0
- data/test/fiber_test.rb +65 -0
- data/test/line_number_test.rb +0 -0
- data/test/measure_cpu_time_test.rb +23 -12
- data/test/measure_gc_runs_test.rb +4 -1
- data/test/measure_gc_time_test.rb +10 -3
- data/test/measure_memory_test.rb +3 -8
- data/test/measure_process_time_test.rb +27 -170
- data/test/measure_wall_time_test.rb +59 -13
- data/test/method_elimination_test.rb +31 -21
- data/test/module_test.rb +0 -0
- data/test/multi_printer_test.rb +9 -8
- data/test/no_method_class_test.rb +0 -0
- data/test/pause_resume_test.rb +125 -20
- data/test/prime.rb +1 -2
- data/test/printers_test.rb +10 -17
- data/test/recursive_test.rb +6 -50
- data/test/singleton_test.rb +0 -0
- data/test/stack_printer_test.rb +9 -6
- data/test/stack_test.rb +0 -0
- data/test/start_stop_test.rb +0 -0
- data/test/test_helper.rb +45 -11
- data/test/test_suite.rb +1 -2
- data/test/thread_test.rb +0 -0
- data/test/unique_call_path_test.rb +0 -0
- metadata +107 -12
- data/test/bug_test.rb +0 -6
- data/test/gc_test.rb +0 -35
- data/test/pause_test.rb +0 -57
- data/test/prime_test.rb +0 -13
metadata
CHANGED
|
@@ -1,32 +1,64 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-prof
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.2
|
|
5
4
|
prerelease:
|
|
5
|
+
version: 0.13.0
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Shugo Maeda, Charlie Savage, Roger Pack, Stefan Kaes
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2013-03-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
|
-
name:
|
|
15
|
+
name: minitest
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
17
|
requirements:
|
|
19
18
|
- - ! '>='
|
|
20
19
|
- !ruby/object:Gem::Version
|
|
21
20
|
version: '0'
|
|
21
|
+
none: false
|
|
22
22
|
type: :development
|
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
24
|
+
requirements:
|
|
25
|
+
- - ! '>='
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: '0'
|
|
28
|
+
none: false
|
|
23
29
|
prerelease: false
|
|
30
|
+
- !ruby/object:Gem::Dependency
|
|
31
|
+
name: rake-compiler
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
33
|
+
requirements:
|
|
34
|
+
- - ! '>='
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: '0'
|
|
37
|
+
none: false
|
|
38
|
+
type: :development
|
|
24
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - ! '>='
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: '0'
|
|
25
44
|
none: false
|
|
45
|
+
prerelease: false
|
|
46
|
+
- !ruby/object:Gem::Dependency
|
|
47
|
+
name: rdoc
|
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
|
26
49
|
requirements:
|
|
27
50
|
- - ! '>='
|
|
28
51
|
- !ruby/object:Gem::Version
|
|
29
52
|
version: '0'
|
|
53
|
+
none: false
|
|
54
|
+
type: :development
|
|
55
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - ! '>='
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '0'
|
|
60
|
+
none: false
|
|
61
|
+
prerelease: false
|
|
30
62
|
description: ! 'ruby-prof is a fast code profiler for Ruby. It is a C extension and
|
|
31
63
|
|
|
32
64
|
therefore is many times faster than the standard Ruby profiler. It
|
|
@@ -53,6 +85,66 @@ files:
|
|
|
53
85
|
- README.rdoc
|
|
54
86
|
- ruby-prof.gemspec
|
|
55
87
|
- bin/ruby-prof
|
|
88
|
+
- doc/created.rid
|
|
89
|
+
- doc/examples/flat_txt.html
|
|
90
|
+
- doc/examples/graph_txt.html
|
|
91
|
+
- doc/images/add.png
|
|
92
|
+
- doc/images/brick.png
|
|
93
|
+
- doc/images/brick_link.png
|
|
94
|
+
- doc/images/bug.png
|
|
95
|
+
- doc/images/bullet_black.png
|
|
96
|
+
- doc/images/bullet_toggle_minus.png
|
|
97
|
+
- doc/images/bullet_toggle_plus.png
|
|
98
|
+
- doc/images/date.png
|
|
99
|
+
- doc/images/delete.png
|
|
100
|
+
- doc/images/find.png
|
|
101
|
+
- doc/images/loadingAnimation.gif
|
|
102
|
+
- doc/images/macFFBgHack.png
|
|
103
|
+
- doc/images/package.png
|
|
104
|
+
- doc/images/page_green.png
|
|
105
|
+
- doc/images/page_white_text.png
|
|
106
|
+
- doc/images/page_white_width.png
|
|
107
|
+
- doc/images/plugin.png
|
|
108
|
+
- doc/images/ruby.png
|
|
109
|
+
- doc/images/tag_blue.png
|
|
110
|
+
- doc/images/tag_green.png
|
|
111
|
+
- doc/images/transparent.png
|
|
112
|
+
- doc/images/wrench.png
|
|
113
|
+
- doc/images/wrench_orange.png
|
|
114
|
+
- doc/images/zoom.png
|
|
115
|
+
- doc/index.html
|
|
116
|
+
- doc/js/darkfish.js
|
|
117
|
+
- doc/js/jquery.js
|
|
118
|
+
- doc/js/navigation.js
|
|
119
|
+
- doc/js/search.js
|
|
120
|
+
- doc/js/search_index.js
|
|
121
|
+
- doc/js/searcher.js
|
|
122
|
+
- doc/LICENSE.html
|
|
123
|
+
- doc/Rack/RubyProf.html
|
|
124
|
+
- doc/Rack.html
|
|
125
|
+
- doc/rdoc.css
|
|
126
|
+
- doc/README_rdoc.html
|
|
127
|
+
- doc/RubyProf/AbstractPrinter.html
|
|
128
|
+
- doc/RubyProf/AggregateCallInfo.html
|
|
129
|
+
- doc/RubyProf/CallInfo.html
|
|
130
|
+
- doc/RubyProf/CallInfoPrinter.html
|
|
131
|
+
- doc/RubyProf/CallInfoVisitor.html
|
|
132
|
+
- doc/RubyProf/CallStackPrinter.html
|
|
133
|
+
- doc/RubyProf/CallTreePrinter.html
|
|
134
|
+
- doc/RubyProf/Cmd.html
|
|
135
|
+
- doc/RubyProf/DotPrinter.html
|
|
136
|
+
- doc/RubyProf/FlatPrinter.html
|
|
137
|
+
- doc/RubyProf/FlatPrinterWithLineNumbers.html
|
|
138
|
+
- doc/RubyProf/GraphHtmlPrinter.html
|
|
139
|
+
- doc/RubyProf/GraphPrinter.html
|
|
140
|
+
- doc/RubyProf/MethodInfo.html
|
|
141
|
+
- doc/RubyProf/MultiPrinter.html
|
|
142
|
+
- doc/RubyProf/Profile.html
|
|
143
|
+
- doc/RubyProf/ProfileTask.html
|
|
144
|
+
- doc/RubyProf/Test.html
|
|
145
|
+
- doc/RubyProf/Thread.html
|
|
146
|
+
- doc/RubyProf.html
|
|
147
|
+
- doc/table_of_contents.html
|
|
56
148
|
- examples/empty.png
|
|
57
149
|
- examples/flat.txt
|
|
58
150
|
- examples/graph.dot
|
|
@@ -88,8 +180,9 @@ files:
|
|
|
88
180
|
- ext/ruby_prof/ruby_prof.h
|
|
89
181
|
- ext/ruby_prof/version.h
|
|
90
182
|
- ext/ruby_prof/vc/ruby_prof.sln
|
|
91
|
-
- ext/ruby_prof/vc/ruby_prof.vcxproj
|
|
92
183
|
- ext/ruby_prof/vc/ruby_prof_18.vcxproj
|
|
184
|
+
- ext/ruby_prof/vc/ruby_prof_19.vcxproj
|
|
185
|
+
- ext/ruby_prof/vc/ruby_prof_20.vcxproj
|
|
93
186
|
- lib/ruby-prof.rb
|
|
94
187
|
- lib/unprof.rb
|
|
95
188
|
- lib/ruby-prof/aggregate_call_info.rb
|
|
@@ -101,6 +194,7 @@ files:
|
|
|
101
194
|
- lib/ruby-prof/rack.rb
|
|
102
195
|
- lib/ruby-prof/task.rb
|
|
103
196
|
- lib/ruby-prof/test.rb
|
|
197
|
+
- lib/ruby-prof/thread.rb
|
|
104
198
|
- lib/ruby-prof/images/empty.png
|
|
105
199
|
- lib/ruby-prof/images/minus.png
|
|
106
200
|
- lib/ruby-prof/images/plus.png
|
|
@@ -116,7 +210,7 @@ files:
|
|
|
116
210
|
- lib/ruby-prof/printers/multi_printer.rb
|
|
117
211
|
- test/aggregate_test.rb
|
|
118
212
|
- test/basic_test.rb
|
|
119
|
-
- test/
|
|
213
|
+
- test/call_info_test.rb
|
|
120
214
|
- test/call_info_visitor_test.rb
|
|
121
215
|
- test/duplicate_names_test.rb
|
|
122
216
|
- test/dynamic_method_test.rb
|
|
@@ -124,7 +218,7 @@ files:
|
|
|
124
218
|
- test/exceptions_test.rb
|
|
125
219
|
- test/exclude_threads_test.rb
|
|
126
220
|
- test/exec_test.rb
|
|
127
|
-
- test/
|
|
221
|
+
- test/fiber_test.rb
|
|
128
222
|
- test/line_number_test.rb
|
|
129
223
|
- test/measure_allocations_test.rb
|
|
130
224
|
- test/measure_cpu_time_test.rb
|
|
@@ -138,9 +232,7 @@ files:
|
|
|
138
232
|
- test/multi_printer_test.rb
|
|
139
233
|
- test/no_method_class_test.rb
|
|
140
234
|
- test/pause_resume_test.rb
|
|
141
|
-
- test/pause_test.rb
|
|
142
235
|
- test/prime.rb
|
|
143
|
-
- test/prime_test.rb
|
|
144
236
|
- test/printers_test.rb
|
|
145
237
|
- test/recursive_test.rb
|
|
146
238
|
- test/singleton_test.rb
|
|
@@ -158,20 +250,23 @@ rdoc_options: []
|
|
|
158
250
|
require_paths:
|
|
159
251
|
- lib
|
|
160
252
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
161
|
-
none: false
|
|
162
253
|
requirements:
|
|
163
254
|
- - ! '>='
|
|
164
255
|
- !ruby/object:Gem::Version
|
|
165
256
|
version: 1.8.7
|
|
166
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
257
|
none: false
|
|
258
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
259
|
requirements:
|
|
169
260
|
- - ! '>='
|
|
170
261
|
- !ruby/object:Gem::Version
|
|
262
|
+
segments:
|
|
263
|
+
- 0
|
|
264
|
+
hash: -3655921953818653003
|
|
171
265
|
version: '0'
|
|
266
|
+
none: false
|
|
172
267
|
requirements: []
|
|
173
268
|
rubyforge_project:
|
|
174
|
-
rubygems_version: 1.8.
|
|
269
|
+
rubygems_version: 1.8.25
|
|
175
270
|
signing_key:
|
|
176
271
|
specification_version: 3
|
|
177
272
|
summary: Fast Ruby profiler
|
data/test/bug_test.rb
DELETED
data/test/gc_test.rb
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# encoding: UTF-8
|
|
3
|
-
|
|
4
|
-
require File.expand_path('../test_helper', __FILE__)
|
|
5
|
-
|
|
6
|
-
class GcTest < Test::Unit::TestCase
|
|
7
|
-
def setup
|
|
8
|
-
# Need to use wall time for this test due to the sleep calls
|
|
9
|
-
RubyProf::measure_mode = RubyProf::WALL_TIME
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
def run_profile
|
|
13
|
-
RubyProf.profile do
|
|
14
|
-
RubyProf::C1.hello
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
def test_gc
|
|
19
|
-
result = run_profile
|
|
20
|
-
|
|
21
|
-
thread = result.threads.first
|
|
22
|
-
method = thread.methods.first
|
|
23
|
-
call_info = method.call_infos.first
|
|
24
|
-
|
|
25
|
-
result = nil
|
|
26
|
-
|
|
27
|
-
1000.times do
|
|
28
|
-
GC.start
|
|
29
|
-
Array.new(1000)
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
puts thread.methods
|
|
33
|
-
puts method.full_name
|
|
34
|
-
end
|
|
35
|
-
end
|
data/test/pause_test.rb
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# encoding: UTF-8
|
|
3
|
-
|
|
4
|
-
require File.expand_path('../test_helper', __FILE__)
|
|
5
|
-
|
|
6
|
-
class PauseTest < Test::Unit::TestCase
|
|
7
|
-
def setup
|
|
8
|
-
# Need to use wall time for this test due to the sleep calls
|
|
9
|
-
RubyProf::measure_mode = RubyProf::WALL_TIME
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
def test_pause_resume
|
|
13
|
-
RubyProf.start
|
|
14
|
-
# Measured
|
|
15
|
-
RubyProf::C1.hello
|
|
16
|
-
RubyProf.pause
|
|
17
|
-
|
|
18
|
-
# Not measured
|
|
19
|
-
RubyProf::C1.hello
|
|
20
|
-
|
|
21
|
-
RubyProf.resume
|
|
22
|
-
# Measured
|
|
23
|
-
RubyProf::C1.hello
|
|
24
|
-
result = RubyProf.stop
|
|
25
|
-
|
|
26
|
-
printer = RubyProf::FlatPrinter.new(result)
|
|
27
|
-
printer.print
|
|
28
|
-
|
|
29
|
-
# Length should be 3:
|
|
30
|
-
# PauseTest#test_pause_resume
|
|
31
|
-
# <Class::RubyProf::C1>#hello
|
|
32
|
-
# Kernel#sleep
|
|
33
|
-
|
|
34
|
-
methods = result.threads.first.methods.sort.reverse
|
|
35
|
-
assert_equal(3, methods.length)
|
|
36
|
-
|
|
37
|
-
# Check the names
|
|
38
|
-
assert_equal('PauseTest#test_pause_resume', methods[0].full_name)
|
|
39
|
-
assert_equal('<Class::RubyProf::C1>#hello', methods[1].full_name)
|
|
40
|
-
assert_equal('Kernel#sleep', methods[2].full_name)
|
|
41
|
-
|
|
42
|
-
# Check times
|
|
43
|
-
assert_in_delta(0.1, methods[0].total_time, 0.01)
|
|
44
|
-
assert_in_delta(0, methods[0].wait_time, 0.01)
|
|
45
|
-
assert_in_delta(0, methods[0].self_time, 0.01)
|
|
46
|
-
|
|
47
|
-
assert_in_delta(0.1, methods[1].total_time, 0.01)
|
|
48
|
-
assert_in_delta(0, methods[1].wait_time, 0.01)
|
|
49
|
-
assert_in_delta(0, methods[1].self_time, 0.01)
|
|
50
|
-
|
|
51
|
-
assert_in_delta(0.1, methods[2].total_time, 0.01)
|
|
52
|
-
assert_in_delta(0, methods[2].wait_time, 0.01)
|
|
53
|
-
assert_in_delta(0.1, methods[2].self_time, 0.01)
|
|
54
|
-
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
end
|
data/test/prime_test.rb
DELETED