ruby-prof 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/README +220 -220
  2. data/Rakefile +3 -3
  3. data/doc/created.rid +1 -1
  4. data/doc/files/LICENSE.html +0 -142
  5. data/doc/files/README.html +2 -2
  6. data/doc/files/examples/flat_txt.html +8 -16
  7. data/doc/files/examples/graph_txt.html +10 -18
  8. data/doc/files/ext/ruby_prof_c.html +1 -1
  9. data/doc/files/lib/ruby-prof/flat_printer_rb.html +1 -1
  10. data/doc/files/lib/ruby-prof/graph_html_printer_rb.html +1 -1
  11. data/doc/files/lib/ruby-prof/graph_printer_rb.html +1 -1
  12. data/examples/flat.txt +55 -57
  13. data/examples/graph.html +827 -827
  14. data/examples/graph.txt +170 -171
  15. data/ext/ruby_prof.c +35 -20
  16. data/lib/ruby-prof/flat_printer.rb +8 -9
  17. data/lib/ruby-prof/graph_html_printer.rb +3 -2
  18. data/lib/ruby-prof/graph_printer.rb +4 -5
  19. data/test/basic_test.rb +148 -141
  20. data/test/clock_mode_test.rb +72 -72
  21. data/test/duplicate_names_test.rb +37 -0
  22. data/test/module_test.rb +45 -45
  23. data/test/prime.rb +58 -58
  24. data/test/prime_test.rb +23 -23
  25. data/test/printers_test.rb +27 -27
  26. data/test/recursive_test.rb +55 -55
  27. data/test/test_helper.rb +45 -45
  28. data/test/test_suite.rb +10 -9
  29. data/test/thread_test.rb +32 -32
  30. data/test/timing_test.rb +90 -90
  31. metadata +3 -16
  32. data/doc/classes/RubyProf.html +0 -563
  33. data/doc/classes/RubyProf/CallInfo.html +0 -274
  34. data/doc/classes/RubyProf/FlatPrinter.html +0 -207
  35. data/doc/classes/RubyProf/GraphHtmlPrinter.html +0 -538
  36. data/doc/classes/RubyProf/GraphPrinter.html +0 -240
  37. data/doc/classes/RubyProf/MethodInfo.html +0 -556
  38. data/doc/classes/RubyProf/ProfileTask.html +0 -395
  39. data/doc/classes/RubyProf/Result.html +0 -234
  40. data/doc/fr_class_index.html +0 -34
  41. data/doc/fr_file_index.html +0 -39
  42. data/doc/fr_method_index.html +0 -67
  43. data/doc/index.html +0 -24
  44. data/test/test.rb +0 -3
@@ -1,34 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Classes
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Classes</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Classes</h1>
22
- <div id="index-entries">
23
- <a href="classes/RubyProf.html">RubyProf</a><br />
24
- <a href="classes/RubyProf/CallInfo.html">RubyProf::CallInfo</a><br />
25
- <a href="classes/RubyProf/FlatPrinter.html">RubyProf::FlatPrinter</a><br />
26
- <a href="classes/RubyProf/GraphHtmlPrinter.html">RubyProf::GraphHtmlPrinter</a><br />
27
- <a href="classes/RubyProf/GraphPrinter.html">RubyProf::GraphPrinter</a><br />
28
- <a href="classes/RubyProf/MethodInfo.html">RubyProf::MethodInfo</a><br />
29
- <a href="classes/RubyProf/ProfileTask.html">RubyProf::ProfileTask</a><br />
30
- <a href="classes/RubyProf/Result.html">RubyProf::Result</a><br />
31
- </div>
32
- </div>
33
- </body>
34
- </html>
@@ -1,39 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Files
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Files</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Files</h1>
22
- <div id="index-entries">
23
- <a href="files/LICENSE.html">LICENSE</a><br />
24
- <a href="files/README.html">README</a><br />
25
- <a href="files/bin/ruby-prof.html">bin/ruby-prof</a><br />
26
- <a href="files/examples/flat_txt.html">examples/flat.txt</a><br />
27
- <a href="files/examples/graph_html.html">examples/graph.html</a><br />
28
- <a href="files/examples/graph_txt.html">examples/graph.txt</a><br />
29
- <a href="files/ext/ruby_prof_c.html">ext/ruby_prof.c</a><br />
30
- <a href="files/lib/ruby-prof_rb.html">lib/ruby-prof.rb</a><br />
31
- <a href="files/lib/ruby-prof/flat_printer_rb.html">lib/ruby-prof/flat_printer.rb</a><br />
32
- <a href="files/lib/ruby-prof/graph_html_printer_rb.html">lib/ruby-prof/graph_html_printer.rb</a><br />
33
- <a href="files/lib/ruby-prof/graph_printer_rb.html">lib/ruby-prof/graph_printer.rb</a><br />
34
- <a href="files/lib/ruby-prof/profiletask_rb.html">lib/ruby-prof/profiletask.rb</a><br />
35
- <a href="files/lib/unprof_rb.html">lib/unprof.rb</a><br />
36
- </div>
37
- </div>
38
- </body>
39
- </html>
@@ -1,67 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Methods
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Methods</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Methods</h1>
22
- <div id="index-entries">
23
- <a href="classes/RubyProf/MethodInfo.html#M000021">called (RubyProf::MethodInfo)</a><br />
24
- <a href="classes/RubyProf/CallInfo.html#M000009">called (RubyProf::CallInfo)</a><br />
25
- <a href="classes/RubyProf/MethodInfo.html#M000030">children (RubyProf::MethodInfo)</a><br />
26
- <a href="classes/RubyProf/MethodInfo.html#M000024">children_time (RubyProf::MethodInfo)</a><br />
27
- <a href="classes/RubyProf/CallInfo.html#M000012">children_time (RubyProf::CallInfo)</a><br />
28
- <a href="classes/RubyProf.html#M000005">clock_mode (RubyProf)</a><br />
29
- <a href="classes/RubyProf.html#M000006">clock_mode= (RubyProf)</a><br />
30
- <a href="classes/RubyProf.html#M000007">cpu_frequency (RubyProf)</a><br />
31
- <a href="classes/RubyProf.html#M000008">cpu_frequency= (RubyProf)</a><br />
32
- <a href="classes/RubyProf/GraphHtmlPrinter.html#M000018">create_link (RubyProf::GraphHtmlPrinter)</a><br />
33
- <a href="classes/RubyProf/ProfileTask.html#M000041">create_output_directory (RubyProf::ProfileTask)</a><br />
34
- <a href="classes/RubyProf/ProfileTask.html#M000038">define (RubyProf::ProfileTask)</a><br />
35
- <a href="classes/RubyProf.html#M000001">figure_clock_mode (RubyProf)</a><br />
36
- <a href="classes/RubyProf/GraphHtmlPrinter.html#M000019">link_name (RubyProf::GraphHtmlPrinter)</a><br />
37
- <a href="classes/RubyProf/MethodInfo.html#M000026">method_class (RubyProf::MethodInfo)</a><br />
38
- <a href="classes/RubyProf/MethodInfo.html#M000027">method_id (RubyProf::MethodInfo)</a><br />
39
- <a href="classes/RubyProf/MethodInfo.html#M000025">name (RubyProf::MethodInfo)</a><br />
40
- <a href="classes/RubyProf/GraphPrinter.html#M000031">new (RubyProf::GraphPrinter)</a><br />
41
- <a href="classes/RubyProf/ProfileTask.html#M000037">new (RubyProf::ProfileTask)</a><br />
42
- <a href="classes/RubyProf/FlatPrinter.html#M000033">new (RubyProf::FlatPrinter)</a><br />
43
- <a href="classes/RubyProf/GraphHtmlPrinter.html#M000013">new (RubyProf::GraphHtmlPrinter)</a><br />
44
- <a href="classes/RubyProf/ProfileTask.html#M000040">output_directory (RubyProf::ProfileTask)</a><br />
45
- <a href="classes/RubyProf/MethodInfo.html#M000029">parents (RubyProf::MethodInfo)</a><br />
46
- <a href="classes/RubyProf/FlatPrinter.html#M000034">print (RubyProf::FlatPrinter)</a><br />
47
- <a href="classes/RubyProf/GraphHtmlPrinter.html#M000014">print (RubyProf::GraphHtmlPrinter)</a><br />
48
- <a href="classes/RubyProf/GraphPrinter.html#M000032">print (RubyProf::GraphPrinter)</a><br />
49
- <a href="classes/RubyProf.html#M000004">profile (RubyProf)</a><br />
50
- <a href="classes/RubyProf/ProfileTask.html#M000039">run_script (RubyProf::ProfileTask)</a><br />
51
- <a href="classes/RubyProf/GraphHtmlPrinter.html#M000017">self_percent (RubyProf::GraphHtmlPrinter)</a><br />
52
- <a href="classes/RubyProf/CallInfo.html#M000011">self_time (RubyProf::CallInfo)</a><br />
53
- <a href="classes/RubyProf/MethodInfo.html#M000023">self_time (RubyProf::MethodInfo)</a><br />
54
- <a href="classes/RubyProf.html#M000002">start (RubyProf)</a><br />
55
- <a href="classes/RubyProf.html#M000003">stop (RubyProf)</a><br />
56
- <a href="classes/RubyProf/GraphHtmlPrinter.html#M000020">template (RubyProf::GraphHtmlPrinter)</a><br />
57
- <a href="classes/RubyProf/MethodInfo.html#M000028">thread_id (RubyProf::MethodInfo)</a><br />
58
- <a href="classes/RubyProf/Result.html#M000035">threads (RubyProf::Result)</a><br />
59
- <a href="classes/RubyProf/Result.html#M000036">toplevel (RubyProf::Result)</a><br />
60
- <a href="classes/RubyProf/GraphHtmlPrinter.html#M000016">total_percent (RubyProf::GraphHtmlPrinter)</a><br />
61
- <a href="classes/RubyProf/CallInfo.html#M000010">total_time (RubyProf::CallInfo)</a><br />
62
- <a href="classes/RubyProf/GraphHtmlPrinter.html#M000015">total_time (RubyProf::GraphHtmlPrinter)</a><br />
63
- <a href="classes/RubyProf/MethodInfo.html#M000022">total_time (RubyProf::MethodInfo)</a><br />
64
- </div>
65
- </div>
66
- </body>
67
- </html>
data/doc/index.html DELETED
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
5
-
6
- <!--
7
-
8
- ruby-prof
9
-
10
- -->
11
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
12
- <head>
13
- <title>ruby-prof</title>
14
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
- </head>
16
- <frameset rows="20%, 80%">
17
- <frameset cols="25%,35%,45%">
18
- <frame src="fr_file_index.html" title="Files" name="Files" />
19
- <frame src="fr_class_index.html" name="Classes" />
20
- <frame src="fr_method_index.html" name="Methods" />
21
- </frameset>
22
- <frame src="files/README.html" name="docwin" />
23
- </frameset>
24
- </html>
data/test/test.rb DELETED
@@ -1,3 +0,0 @@
1
- # -*- coding: ISO-8859-1 -*-
2
- ruby -e 'puts hello'
3
-