ruby-prof 0.8.1-x86-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/CHANGES +221 -0
  2. data/LICENSE +23 -0
  3. data/README +432 -0
  4. data/Rakefile +159 -0
  5. data/bin/ruby-prof +224 -0
  6. data/examples/flat.txt +55 -0
  7. data/examples/graph.html +823 -0
  8. data/examples/graph.txt +170 -0
  9. data/ext/ruby_prof/measure_allocations.h +58 -0
  10. data/ext/ruby_prof/measure_cpu_time.h +152 -0
  11. data/ext/ruby_prof/measure_gc_runs.h +76 -0
  12. data/ext/ruby_prof/measure_gc_time.h +57 -0
  13. data/ext/ruby_prof/measure_memory.h +101 -0
  14. data/ext/ruby_prof/measure_process_time.h +52 -0
  15. data/ext/ruby_prof/measure_wall_time.h +53 -0
  16. data/ext/ruby_prof/mingw/Rakefile +23 -0
  17. data/ext/ruby_prof/mingw/build.rake +38 -0
  18. data/ext/ruby_prof/ruby_prof.c +1747 -0
  19. data/ext/ruby_prof/ruby_prof.h +188 -0
  20. data/ext/ruby_prof/version.h +4 -0
  21. data/lib/1.8/ruby_prof.so +0 -0
  22. data/lib/1.9/ruby_prof.so +0 -0
  23. data/lib/ruby-prof.rb +56 -0
  24. data/lib/ruby-prof/abstract_printer.rb +41 -0
  25. data/lib/ruby-prof/aggregate_call_info.rb +62 -0
  26. data/lib/ruby-prof/call_info.rb +47 -0
  27. data/lib/ruby-prof/call_tree_printer.rb +84 -0
  28. data/lib/ruby-prof/flat_printer.rb +78 -0
  29. data/lib/ruby-prof/flat_printer_with_line_numbers.rb +72 -0
  30. data/lib/ruby-prof/graph_html_printer.rb +256 -0
  31. data/lib/ruby-prof/graph_printer.rb +157 -0
  32. data/lib/ruby-prof/method_info.rb +111 -0
  33. data/lib/ruby-prof/symbol_to_proc.rb +8 -0
  34. data/lib/ruby-prof/task.rb +146 -0
  35. data/lib/ruby-prof/test.rb +148 -0
  36. data/lib/unprof.rb +8 -0
  37. data/rails/environment/profile.rb +24 -0
  38. data/rails/example/example_test.rb +9 -0
  39. data/rails/profile_test_helper.rb +21 -0
  40. data/test/aggregate_test.rb +121 -0
  41. data/test/basic_test.rb +290 -0
  42. data/test/current_failures_windows +8 -0
  43. data/test/do_nothing.rb +0 -0
  44. data/test/duplicate_names_test.rb +32 -0
  45. data/test/enumerable_test.rb +16 -0
  46. data/test/exceptions_test.rb +15 -0
  47. data/test/exclude_threads_test.rb +54 -0
  48. data/test/exec_test.rb +14 -0
  49. data/test/line_number_test.rb +73 -0
  50. data/test/measurement_test.rb +121 -0
  51. data/test/module_test.rb +54 -0
  52. data/test/no_method_class_test.rb +13 -0
  53. data/test/prime.rb +58 -0
  54. data/test/prime_test.rb +13 -0
  55. data/test/printers_test.rb +130 -0
  56. data/test/recursive_test.rb +275 -0
  57. data/test/ruby-prof-bin +20 -0
  58. data/test/singleton_test.rb +37 -0
  59. data/test/stack_test.rb +138 -0
  60. data/test/start_stop_test.rb +95 -0
  61. data/test/test_suite.rb +23 -0
  62. data/test/thread_test.rb +173 -0
  63. data/test/unique_call_path_test.rb +225 -0
  64. metadata +143 -0
metadata ADDED
@@ -0,0 +1,143 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby-prof
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.1
5
+ platform: x86-mswin32
6
+ authors:
7
+ - Shugo Maeda, Charlie Savage, Roger Pack
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-02-18 00:00:00 +00:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: os
17
+ type: :development
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake-compiler
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ description: |
36
+ ruby-prof is a fast code profiler for Ruby. It is a C extension and
37
+ therefore is many times faster than the standard Ruby profiler. It
38
+ supports both flat and graph profiles. For each method, graph profiles
39
+ show how long the method ran, which methods called it and which
40
+ methods it called. RubyProf generate both text and html and can output
41
+ it to standard out or to a file.
42
+
43
+ email: shugo@ruby-lang.org, cfis@savagexi.com, rogerdpack@gmail.com
44
+ executables:
45
+ - ruby-prof
46
+ extensions: []
47
+
48
+ extra_rdoc_files: []
49
+
50
+ files:
51
+ - Rakefile
52
+ - README
53
+ - LICENSE
54
+ - CHANGES
55
+ - bin/ruby-prof
56
+ - examples/flat.txt
57
+ - examples/graph.html
58
+ - examples/graph.txt
59
+ - ext/ruby_prof/ruby_prof.c
60
+ - ext/ruby_prof/measure_allocations.h
61
+ - ext/ruby_prof/measure_cpu_time.h
62
+ - ext/ruby_prof/measure_gc_runs.h
63
+ - ext/ruby_prof/measure_gc_time.h
64
+ - ext/ruby_prof/measure_memory.h
65
+ - ext/ruby_prof/measure_process_time.h
66
+ - ext/ruby_prof/measure_wall_time.h
67
+ - ext/ruby_prof/ruby_prof.h
68
+ - ext/ruby_prof/version.h
69
+ - ext/ruby_prof/mingw/Rakefile
70
+ - ext/ruby_prof/mingw/build.rake
71
+ - lib/ruby-prof/abstract_printer.rb
72
+ - lib/ruby-prof/aggregate_call_info.rb
73
+ - lib/ruby-prof/call_info.rb
74
+ - lib/ruby-prof/call_tree_printer.rb
75
+ - lib/ruby-prof/flat_printer.rb
76
+ - lib/ruby-prof/graph_html_printer.rb
77
+ - lib/ruby-prof/graph_printer.rb
78
+ - lib/ruby-prof/method_info.rb
79
+ - lib/ruby-prof/symbol_to_proc.rb
80
+ - lib/ruby-prof/task.rb
81
+ - lib/ruby-prof/test.rb
82
+ - lib/ruby-prof/flat_printer_with_line_numbers.rb
83
+ - lib/ruby-prof.rb
84
+ - lib/1.8/ruby_prof.so
85
+ - lib/unprof.rb
86
+ - rails/environment/profile.rb
87
+ - rails/example/example_test.rb
88
+ - rails/profile_test_helper.rb
89
+ - test/aggregate_test.rb
90
+ - test/basic_test.rb
91
+ - test/duplicate_names_test.rb
92
+ - test/exceptions_test.rb
93
+ - test/exclude_threads_test.rb
94
+ - test/line_number_test.rb
95
+ - test/measurement_test.rb
96
+ - test/module_test.rb
97
+ - test/no_method_class_test.rb
98
+ - test/prime.rb
99
+ - test/prime_test.rb
100
+ - test/printers_test.rb
101
+ - test/recursive_test.rb
102
+ - test/singleton_test.rb
103
+ - test/stack_test.rb
104
+ - test/start_stop_test.rb
105
+ - test/test_suite.rb
106
+ - test/thread_test.rb
107
+ - test/unique_call_path_test.rb
108
+ - test/current_failures_windows
109
+ - test/do_nothing.rb
110
+ - test/enumerable_test.rb
111
+ - test/exec_test.rb
112
+ - test/ruby-prof-bin
113
+ - lib/1.9/ruby_prof.so
114
+ has_rdoc: true
115
+ homepage: http://rubyforge.org/projects/ruby-prof/
116
+ licenses: []
117
+
118
+ post_install_message:
119
+ rdoc_options: []
120
+
121
+ require_paths:
122
+ - lib
123
+ required_ruby_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: 1.8.4
128
+ version:
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: "0"
134
+ version:
135
+ requirements: []
136
+
137
+ rubyforge_project: ruby-prof
138
+ rubygems_version: 1.3.5
139
+ signing_key:
140
+ specification_version: 3
141
+ summary: Fast Ruby profiler
142
+ test_files:
143
+ - test/test_suite.rb