ruby-prof 1.6.2-x64-mingw-ucrt → 1.7.0-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +11 -0
  3. data/bin/ruby-prof +0 -5
  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 +2 -2
  8. data/ext/ruby_prof/rp_call_trees.h +2 -2
  9. data/ext/ruby_prof/rp_measure_allocations.c +1 -1
  10. data/ext/ruby_prof/rp_measure_memory.c +46 -46
  11. data/ext/ruby_prof/rp_measure_process_time.c +1 -1
  12. data/ext/ruby_prof/rp_measure_wall_time.c +1 -1
  13. data/ext/ruby_prof/rp_measurement.c +364 -364
  14. data/ext/ruby_prof/rp_method.c +24 -12
  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 +1 -1
  19. data/ext/ruby_prof/rp_thread.c +1 -1
  20. data/ext/ruby_prof/ruby_prof.c +1 -1
  21. data/ext/ruby_prof/ruby_prof.h +34 -34
  22. data/ext/ruby_prof/vc/ruby_prof.vcxproj +5 -7
  23. data/lib/3.2/ruby_prof.so +0 -0
  24. data/lib/3.3/ruby_prof.so +0 -0
  25. data/lib/ruby-prof/compatibility.rb +10 -10
  26. data/lib/ruby-prof/exclude_common_methods.rb +9 -3
  27. data/lib/ruby-prof/method_info.rb +87 -85
  28. data/lib/ruby-prof/version.rb +1 -1
  29. data/ruby-prof.gemspec +1 -1
  30. data/test/crash2.rb +144 -0
  31. data/test/enumerable_test.rb +5 -5
  32. data/test/exclude_methods_test.rb +197 -86
  33. data/test/line_number_test.rb +254 -99
  34. data/test/measure_allocations_test.rb +422 -1
  35. data/test/measure_memory_test.rb +433 -1
  36. data/test/measure_process_time_test.rb +882 -15
  37. data/test/measure_wall_time_test.rb +195 -47
  38. data/test/method_info_test.rb +1 -1
  39. data/test/recursive_test.rb +198 -1
  40. data/test/thread_test.rb +0 -4
  41. metadata +7 -6
  42. data/lib/3.1/ruby_prof.so +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b4e4760579e79fbe1f366a04b3fe39aad288034c2db4ac4683c0f892ac3b8e7
4
- data.tar.gz: a1a82b7f129560014af92d6256f6e4a0ef06ee909cf2fff7fd643e92ab92f770
3
+ metadata.gz: 198226d7967ceb0af37f6dc43d890354c521474b7f02fe1d19a866053f869ef2
4
+ data.tar.gz: 52d7b29fc8bf481c97a8bef077a3129b36e6193b3ac0be25cb23f2f93ad8c398
5
5
  SHA512:
6
- metadata.gz: 58af0b67459d001ba4781b4d25544fb3d75d6806877c4695b2fd41357333bc5e8ba8b9425e7ed8b8f3aba6daaf00f32b5045757ca1284d1aa0eb131f51dcbbec
7
- data.tar.gz: f3c3e5953671deca67472e3740bd5757dc2cab05cb4c364080e43d5b33803611b404351fbadf5402ad6118974957db40df3fa858d736231c3269c6a1e4d3995f
6
+ metadata.gz: 29d57e83c9371e760440cedd04e654d39a59e79c7f5371016b6d0d7437a74f1a9834c1fe6608c150a6969841e261b4ad5b8a0c3d9f95f2118426fdaae4ccd762
7
+ data.tar.gz: c315879411b1f27a291ed3a94a59911f3cd38c2b063cf6176238fe350776cec8c92e35a0d6f5dcfb6188ead64c294dc960eb368d793479278c41c2921b4750e6
data/CHANGES CHANGED
@@ -1,3 +1,14 @@
1
+ 1.7.0 (2024-01-07)
2
+ =====================
3
+ * Add support for ruby 3.3.* (Charlie Savage)
4
+ * Remove support for ruby 2.7.* (Charlie Savage)
5
+ * Fix crash caused by referencing Profile Ruby objects from Method objects that were being moved
6
+ by GC compaction (Charlie Savage)
7
+
8
+ 1.6.3 (2023-04-20)
9
+ =====================
10
+ * Remove debug code unintentionally left in ruby-prof command line program (Charlie Savage)
11
+
1
12
  1.6.2 (2023-04-17)
2
13
  =====================
3
14
  * Fix Profile#merge! implementation (asksurya)
data/bin/ruby-prof CHANGED
@@ -1,10 +1,5 @@
1
1
  #! /usr/bin/env ruby
2
2
 
3
- # To make testing/debugging easier test within this source tree versus an installed gem
4
- require 'bundler/setup'
5
- ext_path = File.expand_path(File.join(__dir__, '..', 'ext', 'ruby_prof'))
6
- $LOAD_PATH.unshift(File.expand_path(ext_path))
7
-
8
3
  # First require ruby-prof
9
4
  require 'ruby-prof'
10
5