ruby-prof 1.6.3 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +11 -0
  3. data/ext/ruby_prof/rp_allocation.c +342 -342
  4. data/ext/ruby_prof/rp_call_tree.c +1 -1
  5. data/ext/ruby_prof/rp_call_tree.h +1 -1
  6. data/ext/ruby_prof/rp_call_trees.c +2 -2
  7. data/ext/ruby_prof/rp_call_trees.h +2 -2
  8. data/ext/ruby_prof/rp_measure_allocations.c +1 -1
  9. data/ext/ruby_prof/rp_measure_memory.c +46 -46
  10. data/ext/ruby_prof/rp_measure_process_time.c +1 -1
  11. data/ext/ruby_prof/rp_measure_wall_time.c +1 -1
  12. data/ext/ruby_prof/rp_measurement.c +364 -364
  13. data/ext/ruby_prof/rp_method.c +26 -25
  14. data/ext/ruby_prof/rp_method.h +5 -2
  15. data/ext/ruby_prof/rp_profile.c +2 -2
  16. data/ext/ruby_prof/rp_profile.h +36 -36
  17. data/ext/ruby_prof/rp_stack.c +1 -1
  18. data/ext/ruby_prof/rp_thread.c +1 -1
  19. data/ext/ruby_prof/ruby_prof.c +1 -1
  20. data/ext/ruby_prof/ruby_prof.h +34 -34
  21. data/ext/ruby_prof/vc/ruby_prof.vcxproj +5 -7
  22. data/lib/ruby-prof/compatibility.rb +10 -10
  23. data/lib/ruby-prof/exclude_common_methods.rb +9 -3
  24. data/lib/ruby-prof/method_info.rb +87 -85
  25. data/lib/ruby-prof/version.rb +1 -1
  26. data/ruby-prof.gemspec +2 -1
  27. data/test/crash2.rb +144 -0
  28. data/test/enumerable_test.rb +5 -5
  29. data/test/exclude_methods_test.rb +197 -86
  30. data/test/line_number_test.rb +254 -99
  31. data/test/measure_allocations_test.rb +422 -1
  32. data/test/measure_memory_test.rb +433 -1
  33. data/test/measure_process_time_test.rb +882 -15
  34. data/test/measure_wall_time_test.rb +195 -47
  35. data/test/method_info_test.rb +1 -1
  36. data/test/recursive_test.rb +198 -1
  37. data/test/thread_test.rb +0 -4
  38. metadata +20 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 416c147d8497f94d50b9b142596873a4f3bd5c9809bb5079f229fa413f626497
4
- data.tar.gz: a7cceb2728e182181bac58ecd791a2d425be2e33c6ab1314a8fa66758a4d2ee1
3
+ metadata.gz: 0fbaeec67f3e4771202c58f1902376076dc8e9185e0923e0bad648f6fdaae8a5
4
+ data.tar.gz: be5b6c0740418aae93dc7cbe90d13d992b71ffe822cf7332075c1930f3cb6501
5
5
  SHA512:
6
- metadata.gz: 754d7fd2b208eb398cbb5a3fb6830dc78f0164f0f0ee3024314587982a16a6329c9ae2b54f525d425ec13c2aac54209dfc97febc5920ca72b34aa9c8004c787d
7
- data.tar.gz: 076c3bb65e7d71c036e8b393dd74ab51b6d4be4428998445e0c8af1e16f2ce384c36ba7a5417661933eb40d522dcee274a7040e26dd1a4eb2352a395e1fc8ed9
6
+ metadata.gz: 40403f7f034a87120c6a7328057ff9ad2e922f0c1c8aa080720c6f70c8ae84a08bc71bfaecfe040f38f5ebdfb38497326c84136fe2e5ce6f7e4fd775f368739f
7
+ data.tar.gz: e5e9def95a8b0240ce330f1d093f549ea9555cfb491d45ba06647c3112dd55229244fb8d42ec871b81cad0b72bb1c9a5e49df1db0ff8008060a197d381acbe8e
data/CHANGES CHANGED
@@ -1,3 +1,14 @@
1
+ 1.7.1 (2024-10-19)
2
+ =====================
3
+ * Fix crashes when calling merge due to inconsistent method keys (Chris Heald)
4
+
5
+ 1.7.0 (2024-01-07)
6
+ =====================
7
+ * Add support for ruby 3.3.* (Charlie Savage)
8
+ * Remove support for ruby 2.7.* (Charlie Savage)
9
+ * Fix crash caused by referencing Profile Ruby objects from Method objects that were being moved
10
+ by GC compaction (Charlie Savage)
11
+
1
12
  1.6.3 (2023-04-20)
2
13
  =====================
3
14
  * Remove debug code unintentionally left in ruby-prof command line program (Charlie Savage)