ruby-prof 1.6.3 → 1.7.2

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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +19 -0
  3. data/ext/ruby_prof/extconf.rb +23 -22
  4. data/ext/ruby_prof/rp_allocation.c +342 -342
  5. data/ext/ruby_prof/rp_call_tree.c +1 -1
  6. data/ext/ruby_prof/rp_call_tree.h +1 -1
  7. data/ext/ruby_prof/rp_call_trees.c +296 -296
  8. data/ext/ruby_prof/rp_call_trees.h +28 -28
  9. data/ext/ruby_prof/rp_measure_allocations.c +47 -47
  10. data/ext/ruby_prof/rp_measure_memory.c +46 -46
  11. data/ext/ruby_prof/rp_measure_process_time.c +64 -66
  12. data/ext/ruby_prof/rp_measure_wall_time.c +52 -64
  13. data/ext/ruby_prof/rp_measurement.c +364 -364
  14. data/ext/ruby_prof/rp_method.c +551 -550
  15. data/ext/ruby_prof/rp_method.h +5 -2
  16. data/ext/ruby_prof/rp_profile.c +2 -2
  17. data/ext/ruby_prof/rp_profile.h +36 -36
  18. data/ext/ruby_prof/rp_stack.c +212 -212
  19. data/ext/ruby_prof/rp_thread.c +1 -1
  20. data/ext/ruby_prof/ruby_prof.c +50 -50
  21. data/ext/ruby_prof/ruby_prof.h +35 -34
  22. data/ext/ruby_prof/vc/ruby_prof.vcxproj +5 -7
  23. data/lib/ruby-prof/compatibility.rb +113 -113
  24. data/lib/ruby-prof/exclude_common_methods.rb +204 -198
  25. data/lib/ruby-prof/method_info.rb +87 -85
  26. data/lib/ruby-prof/printers/abstract_printer.rb +156 -138
  27. data/lib/ruby-prof/version.rb +3 -3
  28. data/ruby-prof.gemspec +66 -64
  29. data/test/dynamic_method_test.rb +9 -21
  30. data/test/enumerable_test.rb +23 -21
  31. data/test/exclude_methods_test.rb +363 -146
  32. data/test/fiber_test.rb +195 -195
  33. data/test/gc_test.rb +104 -102
  34. data/test/line_number_test.rb +426 -134
  35. data/test/measure_allocations_test.rb +1172 -660
  36. data/test/measure_memory_test.rb +1193 -1024
  37. data/test/measure_process_time_test.rb +3330 -1610
  38. data/test/measure_wall_time_test.rb +634 -420
  39. data/test/merge_test.rb +146 -146
  40. data/test/method_info_test.rb +100 -95
  41. data/test/printers_test.rb +178 -135
  42. data/test/recursive_test.rb +796 -425
  43. data/test/start_stop_test.rb +4 -4
  44. data/test/test_helper.rb +20 -20
  45. data/test/thread_test.rb +229 -235
  46. data/test/unique_call_path_test.rb +9 -22
  47. data/test/yarv_test.rb +1 -5
  48. metadata +33 -8
metadata CHANGED
@@ -1,15 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-prof
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shugo Maeda, Charlie Savage, Roger Pack, Stefan Kaes
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-04-20 00:00:00.000000000 Z
10
+ date: 2025-05-21 00:00:00.000000000 Z
12
11
  dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: base64
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
13
26
  - !ruby/object:Gem::Dependency
14
27
  name: minitest
15
28
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +51,20 @@ dependencies:
38
51
  - - ">="
39
52
  - !ruby/object:Gem::Version
40
53
  version: '0'
54
+ - !ruby/object:Gem::Dependency
55
+ name: rdoc
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ type: :development
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
41
68
  description: |
42
69
  ruby-prof is a fast code profiler for Ruby. It is a C extension and
43
70
  therefore is many times faster than the standard Ruby profiler. It
@@ -167,8 +194,7 @@ metadata:
167
194
  bug_tracker_uri: https://github.com/ruby-prof/ruby-prof/issues
168
195
  changelog_uri: https://github.com/ruby-prof/ruby-prof/blob/master/CHANGES
169
196
  documentation_uri: https://ruby-prof.github.io/
170
- source_code_uri: https://github.com/ruby-prof/ruby-prof/tree/v1.6.3
171
- post_install_message:
197
+ source_code_uri: https://github.com/ruby-prof/ruby-prof/tree/v1.7.2
172
198
  rdoc_options: []
173
199
  require_paths:
174
200
  - lib
@@ -176,15 +202,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
202
  requirements:
177
203
  - - ">="
178
204
  - !ruby/object:Gem::Version
179
- version: 2.7.0
205
+ version: 3.0.0
180
206
  required_rubygems_version: !ruby/object:Gem::Requirement
181
207
  requirements:
182
208
  - - ">="
183
209
  - !ruby/object:Gem::Version
184
210
  version: '0'
185
211
  requirements: []
186
- rubygems_version: 3.4.8
187
- signing_key:
212
+ rubygems_version: 3.6.8
188
213
  specification_version: 4
189
214
  summary: Fast Ruby profiler
190
215
  test_files: