ruby-prof 1.4.4-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGES +608 -0
  3. data/LICENSE +25 -0
  4. data/README.md +5 -0
  5. data/Rakefile +98 -0
  6. data/bin/ruby-prof +328 -0
  7. data/bin/ruby-prof-check-trace +45 -0
  8. data/ext/ruby_prof/extconf.rb +22 -0
  9. data/ext/ruby_prof/rp_aggregate_call_tree.c +59 -0
  10. data/ext/ruby_prof/rp_aggregate_call_tree.h +13 -0
  11. data/ext/ruby_prof/rp_allocation.c +287 -0
  12. data/ext/ruby_prof/rp_allocation.h +31 -0
  13. data/ext/ruby_prof/rp_call_tree.c +367 -0
  14. data/ext/ruby_prof/rp_call_tree.h +43 -0
  15. data/ext/ruby_prof/rp_call_trees.c +288 -0
  16. data/ext/ruby_prof/rp_call_trees.h +28 -0
  17. data/ext/ruby_prof/rp_measure_allocations.c +47 -0
  18. data/ext/ruby_prof/rp_measure_memory.c +46 -0
  19. data/ext/ruby_prof/rp_measure_process_time.c +66 -0
  20. data/ext/ruby_prof/rp_measure_wall_time.c +64 -0
  21. data/ext/ruby_prof/rp_measurement.c +237 -0
  22. data/ext/ruby_prof/rp_measurement.h +50 -0
  23. data/ext/ruby_prof/rp_method.c +491 -0
  24. data/ext/ruby_prof/rp_method.h +62 -0
  25. data/ext/ruby_prof/rp_profile.c +915 -0
  26. data/ext/ruby_prof/rp_profile.h +35 -0
  27. data/ext/ruby_prof/rp_stack.c +212 -0
  28. data/ext/ruby_prof/rp_stack.h +53 -0
  29. data/ext/ruby_prof/rp_thread.c +362 -0
  30. data/ext/ruby_prof/rp_thread.h +39 -0
  31. data/ext/ruby_prof/ruby_prof.c +52 -0
  32. data/ext/ruby_prof/ruby_prof.h +26 -0
  33. data/ext/ruby_prof/vc/ruby_prof.sln +39 -0
  34. data/ext/ruby_prof/vc/ruby_prof.vcxproj +160 -0
  35. data/lib/3.1/ruby_prof.so +0 -0
  36. data/lib/ruby-prof/assets/call_stack_printer.html.erb +711 -0
  37. data/lib/ruby-prof/assets/call_stack_printer.png +0 -0
  38. data/lib/ruby-prof/assets/graph_printer.html.erb +355 -0
  39. data/lib/ruby-prof/call_tree.rb +57 -0
  40. data/lib/ruby-prof/call_tree_visitor.rb +36 -0
  41. data/lib/ruby-prof/compatibility.rb +99 -0
  42. data/lib/ruby-prof/exclude_common_methods.rb +198 -0
  43. data/lib/ruby-prof/measurement.rb +17 -0
  44. data/lib/ruby-prof/method_info.rb +78 -0
  45. data/lib/ruby-prof/printers/abstract_printer.rb +137 -0
  46. data/lib/ruby-prof/printers/call_info_printer.rb +53 -0
  47. data/lib/ruby-prof/printers/call_stack_printer.rb +180 -0
  48. data/lib/ruby-prof/printers/call_tree_printer.rb +147 -0
  49. data/lib/ruby-prof/printers/dot_printer.rb +132 -0
  50. data/lib/ruby-prof/printers/flat_printer.rb +53 -0
  51. data/lib/ruby-prof/printers/graph_html_printer.rb +63 -0
  52. data/lib/ruby-prof/printers/graph_printer.rb +113 -0
  53. data/lib/ruby-prof/printers/multi_printer.rb +127 -0
  54. data/lib/ruby-prof/profile.rb +37 -0
  55. data/lib/ruby-prof/rack.rb +95 -0
  56. data/lib/ruby-prof/task.rb +147 -0
  57. data/lib/ruby-prof/thread.rb +20 -0
  58. data/lib/ruby-prof/version.rb +3 -0
  59. data/lib/ruby-prof.rb +52 -0
  60. data/lib/unprof.rb +10 -0
  61. data/ruby-prof.gemspec +64 -0
  62. data/test/abstract_printer_test.rb +26 -0
  63. data/test/alias_test.rb +122 -0
  64. data/test/basic_test.rb +43 -0
  65. data/test/call_tree_visitor_test.rb +32 -0
  66. data/test/call_trees_test.rb +66 -0
  67. data/test/duplicate_names_test.rb +32 -0
  68. data/test/dynamic_method_test.rb +67 -0
  69. data/test/enumerable_test.rb +21 -0
  70. data/test/exceptions_test.rb +24 -0
  71. data/test/exclude_methods_test.rb +151 -0
  72. data/test/exclude_threads_test.rb +53 -0
  73. data/test/fiber_test.rb +129 -0
  74. data/test/gc_test.rb +100 -0
  75. data/test/inverse_call_tree_test.rb +175 -0
  76. data/test/line_number_test.rb +158 -0
  77. data/test/marshal_test.rb +145 -0
  78. data/test/measure_allocations.rb +26 -0
  79. data/test/measure_allocations_test.rb +333 -0
  80. data/test/measure_memory_test.rb +688 -0
  81. data/test/measure_process_time_test.rb +1614 -0
  82. data/test/measure_times.rb +56 -0
  83. data/test/measure_wall_time_test.rb +426 -0
  84. data/test/multi_printer_test.rb +71 -0
  85. data/test/no_method_class_test.rb +15 -0
  86. data/test/pause_resume_test.rb +175 -0
  87. data/test/prime.rb +54 -0
  88. data/test/prime_script.rb +6 -0
  89. data/test/printer_call_stack_test.rb +27 -0
  90. data/test/printer_call_tree_test.rb +30 -0
  91. data/test/printer_flat_test.rb +99 -0
  92. data/test/printer_graph_html_test.rb +59 -0
  93. data/test/printer_graph_test.rb +40 -0
  94. data/test/printers_test.rb +141 -0
  95. data/test/printing_recursive_graph_test.rb +81 -0
  96. data/test/profile_test.rb +16 -0
  97. data/test/rack_test.rb +93 -0
  98. data/test/recursive_test.rb +430 -0
  99. data/test/singleton_test.rb +38 -0
  100. data/test/stack_printer_test.rb +64 -0
  101. data/test/start_stop_test.rb +109 -0
  102. data/test/test_helper.rb +13 -0
  103. data/test/thread_test.rb +144 -0
  104. data/test/unique_call_path_test.rb +136 -0
  105. data/test/yarv_test.rb +60 -0
  106. metadata +187 -0
metadata ADDED
@@ -0,0 +1,187 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby-prof
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.4
5
+ platform: x64-mingw-ucrt
6
+ authors:
7
+ - Shugo Maeda, Charlie Savage, Roger Pack, Stefan Kaes
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-12-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: minitest
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake-compiler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: |
42
+ ruby-prof is a fast code profiler for Ruby. It is a C extension and
43
+ therefore is many times faster than the standard Ruby profiler. It
44
+ supports both flat and graph profiles. For each method, graph profiles
45
+ show how long the method ran, which methods called it and which
46
+ methods it called. RubyProf generate both text and html and can output
47
+ it to standard out or to a file.
48
+ email: shugo@ruby-lang.org, cfis@savagexi.com, rogerdpack@gmail.com, skaes@railsexpress.de
49
+ executables:
50
+ - ruby-prof
51
+ - ruby-prof-check-trace
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - CHANGES
56
+ - LICENSE
57
+ - README.md
58
+ - Rakefile
59
+ - bin/ruby-prof
60
+ - bin/ruby-prof-check-trace
61
+ - ext/ruby_prof/extconf.rb
62
+ - ext/ruby_prof/rp_aggregate_call_tree.c
63
+ - ext/ruby_prof/rp_aggregate_call_tree.h
64
+ - ext/ruby_prof/rp_allocation.c
65
+ - ext/ruby_prof/rp_allocation.h
66
+ - ext/ruby_prof/rp_call_tree.c
67
+ - ext/ruby_prof/rp_call_tree.h
68
+ - ext/ruby_prof/rp_call_trees.c
69
+ - ext/ruby_prof/rp_call_trees.h
70
+ - ext/ruby_prof/rp_measure_allocations.c
71
+ - ext/ruby_prof/rp_measure_memory.c
72
+ - ext/ruby_prof/rp_measure_process_time.c
73
+ - ext/ruby_prof/rp_measure_wall_time.c
74
+ - ext/ruby_prof/rp_measurement.c
75
+ - ext/ruby_prof/rp_measurement.h
76
+ - ext/ruby_prof/rp_method.c
77
+ - ext/ruby_prof/rp_method.h
78
+ - ext/ruby_prof/rp_profile.c
79
+ - ext/ruby_prof/rp_profile.h
80
+ - ext/ruby_prof/rp_stack.c
81
+ - ext/ruby_prof/rp_stack.h
82
+ - ext/ruby_prof/rp_thread.c
83
+ - ext/ruby_prof/rp_thread.h
84
+ - ext/ruby_prof/ruby_prof.c
85
+ - ext/ruby_prof/ruby_prof.h
86
+ - ext/ruby_prof/vc/ruby_prof.sln
87
+ - ext/ruby_prof/vc/ruby_prof.vcxproj
88
+ - lib/3.1/ruby_prof.so
89
+ - lib/ruby-prof.rb
90
+ - lib/ruby-prof/assets/call_stack_printer.html.erb
91
+ - lib/ruby-prof/assets/call_stack_printer.png
92
+ - lib/ruby-prof/assets/graph_printer.html.erb
93
+ - lib/ruby-prof/call_tree.rb
94
+ - lib/ruby-prof/call_tree_visitor.rb
95
+ - lib/ruby-prof/compatibility.rb
96
+ - lib/ruby-prof/exclude_common_methods.rb
97
+ - lib/ruby-prof/measurement.rb
98
+ - lib/ruby-prof/method_info.rb
99
+ - lib/ruby-prof/printers/abstract_printer.rb
100
+ - lib/ruby-prof/printers/call_info_printer.rb
101
+ - lib/ruby-prof/printers/call_stack_printer.rb
102
+ - lib/ruby-prof/printers/call_tree_printer.rb
103
+ - lib/ruby-prof/printers/dot_printer.rb
104
+ - lib/ruby-prof/printers/flat_printer.rb
105
+ - lib/ruby-prof/printers/graph_html_printer.rb
106
+ - lib/ruby-prof/printers/graph_printer.rb
107
+ - lib/ruby-prof/printers/multi_printer.rb
108
+ - lib/ruby-prof/profile.rb
109
+ - lib/ruby-prof/rack.rb
110
+ - lib/ruby-prof/task.rb
111
+ - lib/ruby-prof/thread.rb
112
+ - lib/ruby-prof/version.rb
113
+ - lib/unprof.rb
114
+ - ruby-prof.gemspec
115
+ - test/abstract_printer_test.rb
116
+ - test/alias_test.rb
117
+ - test/basic_test.rb
118
+ - test/call_tree_visitor_test.rb
119
+ - test/call_trees_test.rb
120
+ - test/duplicate_names_test.rb
121
+ - test/dynamic_method_test.rb
122
+ - test/enumerable_test.rb
123
+ - test/exceptions_test.rb
124
+ - test/exclude_methods_test.rb
125
+ - test/exclude_threads_test.rb
126
+ - test/fiber_test.rb
127
+ - test/gc_test.rb
128
+ - test/inverse_call_tree_test.rb
129
+ - test/line_number_test.rb
130
+ - test/marshal_test.rb
131
+ - test/measure_allocations.rb
132
+ - test/measure_allocations_test.rb
133
+ - test/measure_memory_test.rb
134
+ - test/measure_process_time_test.rb
135
+ - test/measure_times.rb
136
+ - test/measure_wall_time_test.rb
137
+ - test/multi_printer_test.rb
138
+ - test/no_method_class_test.rb
139
+ - test/pause_resume_test.rb
140
+ - test/prime.rb
141
+ - test/prime_script.rb
142
+ - test/printer_call_stack_test.rb
143
+ - test/printer_call_tree_test.rb
144
+ - test/printer_flat_test.rb
145
+ - test/printer_graph_html_test.rb
146
+ - test/printer_graph_test.rb
147
+ - test/printers_test.rb
148
+ - test/printing_recursive_graph_test.rb
149
+ - test/profile_test.rb
150
+ - test/rack_test.rb
151
+ - test/recursive_test.rb
152
+ - test/singleton_test.rb
153
+ - test/stack_printer_test.rb
154
+ - test/start_stop_test.rb
155
+ - test/test_helper.rb
156
+ - test/thread_test.rb
157
+ - test/unique_call_path_test.rb
158
+ - test/yarv_test.rb
159
+ homepage: https://github.com/ruby-prof/ruby-prof
160
+ licenses:
161
+ - BSD-2-Clause
162
+ metadata:
163
+ bug_tracker_uri: https://github.com/ruby-prof/ruby-prof/issues
164
+ changelog_uri: https://github.com/ruby-prof/ruby-prof/blob/master/CHANGES
165
+ documentation_uri: https://ruby-prof.github.io/
166
+ source_code_uri: https://github.com/ruby-prof/ruby-prof/tree/v1.4.4
167
+ post_install_message:
168
+ rdoc_options: []
169
+ require_paths:
170
+ - lib
171
+ required_ruby_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ version: 2.7.0
176
+ required_rubygems_version: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ requirements: []
182
+ rubygems_version: 3.3.26
183
+ signing_key:
184
+ specification_version: 4
185
+ summary: Fast Ruby profiler
186
+ test_files:
187
+ - test/test_helper.rb