ruby-prof 0.16.0 → 0.16.1
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.
- checksums.yaml +4 -4
- data/CHANGES +4 -0
- data/Rakefile +1 -1
- data/doc/created.rid +3 -3
- data/doc/js/search_index.js.gz +0 -0
- data/doc/table_of_contents.html +83 -83
- data/ext/ruby_prof/rp_measure_allocations.c +1 -1
- data/lib/ruby-prof.rb +3 -3
- data/lib/ruby-prof/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae5c9b6ca4180f6308c84313afd80efc58baf848
|
|
4
|
+
data.tar.gz: e62d90e378ddc069bd269db4bb487ee8d4d8dfd9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ddadfd9ee7f5eae65ae6799d007c6b04c76050e6dc36321f14885667fa2b73ad05c3da04b0c3413db1bb1d0507b88277fa9b62ac9586771af38c856c42c4f95
|
|
7
|
+
data.tar.gz: 10b71b329214985a2727c59fd8b3c924536de3bbb7754246cc86e7beb787ff2491308ca777b7cd18c98ed527e810d3ca4a9fc7d5eeca84db6b2f5dea6c5d6647
|
data/CHANGES
CHANGED
data/Rakefile
CHANGED
|
@@ -38,7 +38,7 @@ Rake::ExtensionTask.new do |ext|
|
|
|
38
38
|
ext.gem_spec = default_spec
|
|
39
39
|
ext.name = SO_NAME
|
|
40
40
|
ext.ext_dir = "ext/#{SO_NAME}"
|
|
41
|
-
ext.lib_dir = "lib/#{RUBY_VERSION
|
|
41
|
+
ext.lib_dir = "lib/#{RUBY_VERSION}"
|
|
42
42
|
ext.cross_compile = true
|
|
43
43
|
ext.cross_platform = ['x86-mswin32-60', 'x86-mingw32-60']
|
|
44
44
|
end
|
data/doc/created.rid
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Wed, 24 Aug 2016
|
|
1
|
+
Wed, 24 Aug 2016 22:07:18 +0200
|
|
2
2
|
bin/ruby-prof Sat, 02 Jan 2016 16:48:57 +0100
|
|
3
3
|
bin/ruby-prof-check-trace Sun, 10 Mar 2013 10:57:14 +0100
|
|
4
4
|
examples/flat.txt Sun, 06 Dec 2015 14:08:42 +0100
|
|
5
5
|
examples/graph.txt Fri, 17 Jun 2016 19:44:14 +0200
|
|
6
6
|
examples/graph.html Wed, 09 Dec 2015 16:14:34 +0100
|
|
7
|
-
lib/ruby-prof.rb
|
|
7
|
+
lib/ruby-prof.rb Wed, 24 Aug 2016 21:59:47 +0200
|
|
8
8
|
lib/ruby-prof/aggregate_call_info.rb Tue, 08 Dec 2015 18:03:49 +0100
|
|
9
9
|
lib/ruby-prof/call_info.rb Sun, 13 Mar 2016 12:37:42 +0100
|
|
10
10
|
lib/ruby-prof/call_info_visitor.rb Sun, 22 Feb 2015 16:10:12 +0100
|
|
@@ -24,7 +24,7 @@ lib/ruby-prof/profile.rb Sun, 13 Mar 2016 17:37:58 +0100
|
|
|
24
24
|
lib/ruby-prof/rack.rb Fri, 17 Jun 2016 20:01:16 +0200
|
|
25
25
|
lib/ruby-prof/task.rb Tue, 29 Jan 2013 16:43:39 +0100
|
|
26
26
|
lib/ruby-prof/thread.rb Sun, 13 Mar 2016 17:39:57 +0100
|
|
27
|
-
lib/ruby-prof/version.rb
|
|
27
|
+
lib/ruby-prof/version.rb Wed, 24 Aug 2016 22:03:29 +0200
|
|
28
28
|
lib/unprof.rb Tue, 29 Jan 2013 16:43:39 +0100
|
|
29
29
|
ext/ruby_prof/ruby_prof.c Sun, 13 Mar 2016 20:27:23 +0100
|
|
30
30
|
README.rdoc Fri, 17 Jun 2016 20:01:16 +0200
|
data/doc/js/search_index.js.gz
CHANGED
|
Binary file
|
data/doc/table_of_contents.html
CHANGED
|
@@ -217,9 +217,14 @@
|
|
|
217
217
|
<span class="container">RubyProf</span>
|
|
218
218
|
|
|
219
219
|
<li class="method">
|
|
220
|
-
<a href="
|
|
220
|
+
<a href="RubyProf/Cmd.html#method-c-new">::new</a>
|
|
221
221
|
—
|
|
222
|
-
<span class="container">
|
|
222
|
+
<span class="container">RubyProf::Cmd</span>
|
|
223
|
+
|
|
224
|
+
<li class="method">
|
|
225
|
+
<a href="RubyProf/Profile.html#method-c-new">::new</a>
|
|
226
|
+
—
|
|
227
|
+
<span class="container">RubyProf::Profile</span>
|
|
223
228
|
|
|
224
229
|
<li class="method">
|
|
225
230
|
<a href="RubyProf/AbstractPrinter.html#method-c-new">::new</a>
|
|
@@ -232,19 +237,14 @@
|
|
|
232
237
|
<span class="container">RubyProf::CallInfoVisitor</span>
|
|
233
238
|
|
|
234
239
|
<li class="method">
|
|
235
|
-
<a href="RubyProf/
|
|
236
|
-
—
|
|
237
|
-
<span class="container">RubyProf::Profile</span>
|
|
238
|
-
|
|
239
|
-
<li class="method">
|
|
240
|
-
<a href="RubyProf/Cmd.html#method-c-new">::new</a>
|
|
240
|
+
<a href="RubyProf/AggregateCallInfo.html#method-c-new">::new</a>
|
|
241
241
|
—
|
|
242
|
-
<span class="container">RubyProf::
|
|
242
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
|
243
243
|
|
|
244
244
|
<li class="method">
|
|
245
|
-
<a href="RubyProf/
|
|
245
|
+
<a href="RubyProf/ProfileTask.html#method-c-new">::new</a>
|
|
246
246
|
—
|
|
247
|
-
<span class="container">RubyProf::
|
|
247
|
+
<span class="container">RubyProf::ProfileTask</span>
|
|
248
248
|
|
|
249
249
|
<li class="method">
|
|
250
250
|
<a href="RubyProf/DotPrinter.html#method-c-new">::new</a>
|
|
@@ -257,9 +257,9 @@
|
|
|
257
257
|
<span class="container">RubyProf::MultiPrinter</span>
|
|
258
258
|
|
|
259
259
|
<li class="method">
|
|
260
|
-
<a href="RubyProf
|
|
260
|
+
<a href="Rack/RubyProf.html#method-c-new">::new</a>
|
|
261
261
|
—
|
|
262
|
-
<span class="container">RubyProf
|
|
262
|
+
<span class="container">Rack::RubyProf</span>
|
|
263
263
|
|
|
264
264
|
<li class="method">
|
|
265
265
|
<a href="RubyProf.html#method-c-pause">::pause</a>
|
|
@@ -267,14 +267,14 @@
|
|
|
267
267
|
<span class="container">RubyProf</span>
|
|
268
268
|
|
|
269
269
|
<li class="method">
|
|
270
|
-
<a href="RubyProf.html#method-c-profile">::profile</a>
|
|
270
|
+
<a href="RubyProf/Profile.html#method-c-profile">::profile</a>
|
|
271
271
|
—
|
|
272
|
-
<span class="container">RubyProf</span>
|
|
272
|
+
<span class="container">RubyProf::Profile</span>
|
|
273
273
|
|
|
274
274
|
<li class="method">
|
|
275
|
-
<a href="RubyProf
|
|
275
|
+
<a href="RubyProf.html#method-c-profile">::profile</a>
|
|
276
276
|
—
|
|
277
|
-
<span class="container">RubyProf
|
|
277
|
+
<span class="container">RubyProf</span>
|
|
278
278
|
|
|
279
279
|
<li class="method">
|
|
280
280
|
<a href="RubyProf.html#method-c-resume">::resume</a>
|
|
@@ -351,20 +351,15 @@
|
|
|
351
351
|
—
|
|
352
352
|
<span class="container">RubyProf::CallInfo</span>
|
|
353
353
|
|
|
354
|
-
<li class="method">
|
|
355
|
-
<a href="RubyProf/MethodInfo.html#method-i-called">#called</a>
|
|
356
|
-
—
|
|
357
|
-
<span class="container">RubyProf::MethodInfo</span>
|
|
358
|
-
|
|
359
354
|
<li class="method">
|
|
360
355
|
<a href="RubyProf/AggregateCallInfo.html#method-i-called">#called</a>
|
|
361
356
|
—
|
|
362
357
|
<span class="container">RubyProf::AggregateCallInfo</span>
|
|
363
358
|
|
|
364
359
|
<li class="method">
|
|
365
|
-
<a href="RubyProf/
|
|
360
|
+
<a href="RubyProf/MethodInfo.html#method-i-called">#called</a>
|
|
366
361
|
—
|
|
367
|
-
<span class="container">RubyProf::
|
|
362
|
+
<span class="container">RubyProf::MethodInfo</span>
|
|
368
363
|
|
|
369
364
|
<li class="method">
|
|
370
365
|
<a href="RubyProf/MethodInfo.html#method-i-children">#children</a>
|
|
@@ -372,9 +367,14 @@
|
|
|
372
367
|
<span class="container">RubyProf::MethodInfo</span>
|
|
373
368
|
|
|
374
369
|
<li class="method">
|
|
375
|
-
<a href="RubyProf/
|
|
370
|
+
<a href="RubyProf/AggregateCallInfo.html#method-i-children">#children</a>
|
|
376
371
|
—
|
|
377
|
-
<span class="container">RubyProf::
|
|
372
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
|
373
|
+
|
|
374
|
+
<li class="method">
|
|
375
|
+
<a href="RubyProf/CallInfo.html#method-i-children_time">#children_time</a>
|
|
376
|
+
—
|
|
377
|
+
<span class="container">RubyProf::CallInfo</span>
|
|
378
378
|
|
|
379
379
|
<li class="method">
|
|
380
380
|
<a href="RubyProf/AggregateCallInfo.html#method-i-children_time">#children_time</a>
|
|
@@ -382,9 +382,9 @@
|
|
|
382
382
|
<span class="container">RubyProf::AggregateCallInfo</span>
|
|
383
383
|
|
|
384
384
|
<li class="method">
|
|
385
|
-
<a href="RubyProf/
|
|
385
|
+
<a href="RubyProf/MethodInfo.html#method-i-children_time">#children_time</a>
|
|
386
386
|
—
|
|
387
|
-
<span class="container">RubyProf::
|
|
387
|
+
<span class="container">RubyProf::MethodInfo</span>
|
|
388
388
|
|
|
389
389
|
<li class="method">
|
|
390
390
|
<a href="RubyProf/ProfileTask.html#method-i-clean_output_directory">#clean_output_directory</a>
|
|
@@ -421,11 +421,6 @@
|
|
|
421
421
|
—
|
|
422
422
|
<span class="container">RubyProf::CallInfo</span>
|
|
423
423
|
|
|
424
|
-
<li class="method">
|
|
425
|
-
<a href="RubyProf/CallInfo.html#method-i-detect_recursion">#detect_recursion</a>
|
|
426
|
-
—
|
|
427
|
-
<span class="container">RubyProf::CallInfo</span>
|
|
428
|
-
|
|
429
424
|
<li class="method">
|
|
430
425
|
<a href="RubyProf/Thread.html#method-i-detect_recursion">#detect_recursion</a>
|
|
431
426
|
—
|
|
@@ -436,6 +431,11 @@
|
|
|
436
431
|
—
|
|
437
432
|
<span class="container">RubyProf::MethodInfo</span>
|
|
438
433
|
|
|
434
|
+
<li class="method">
|
|
435
|
+
<a href="RubyProf/CallInfo.html#method-i-detect_recursion">#detect_recursion</a>
|
|
436
|
+
—
|
|
437
|
+
<span class="container">RubyProf::CallInfo</span>
|
|
438
|
+
|
|
439
439
|
<li class="method">
|
|
440
440
|
<a href="RubyProf/CallTreePrinter.html#method-i-determine_event_specification_and_value_scale">#determine_event_specification_and_value_scale</a>
|
|
441
441
|
—
|
|
@@ -447,14 +447,14 @@
|
|
|
447
447
|
<span class="container">RubyProf::CallStackPrinter</span>
|
|
448
448
|
|
|
449
449
|
<li class="method">
|
|
450
|
-
<a href="RubyProf/
|
|
450
|
+
<a href="RubyProf/CallInfo.html#method-i-eliminate-21">#eliminate!</a>
|
|
451
451
|
—
|
|
452
|
-
<span class="container">RubyProf::
|
|
452
|
+
<span class="container">RubyProf::CallInfo</span>
|
|
453
453
|
|
|
454
454
|
<li class="method">
|
|
455
|
-
<a href="RubyProf/
|
|
455
|
+
<a href="RubyProf/MethodInfo.html#method-i-eliminate-21">#eliminate!</a>
|
|
456
456
|
—
|
|
457
|
-
<span class="container">RubyProf::
|
|
457
|
+
<span class="container">RubyProf::MethodInfo</span>
|
|
458
458
|
|
|
459
459
|
<li class="method">
|
|
460
460
|
<a href="RubyProf/Profile.html#method-i-eliminate_methods-21">#eliminate_methods!</a>
|
|
@@ -537,14 +537,14 @@
|
|
|
537
537
|
<span class="container">RubyProf::CallInfo</span>
|
|
538
538
|
|
|
539
539
|
<li class="method">
|
|
540
|
-
<a href="RubyProf/
|
|
540
|
+
<a href="RubyProf/CallStackPrinter.html#method-i-method_href">#method_href</a>
|
|
541
541
|
—
|
|
542
|
-
<span class="container">RubyProf::
|
|
542
|
+
<span class="container">RubyProf::CallStackPrinter</span>
|
|
543
543
|
|
|
544
544
|
<li class="method">
|
|
545
|
-
<a href="RubyProf/
|
|
545
|
+
<a href="RubyProf/GraphHtmlPrinter.html#method-i-method_href">#method_href</a>
|
|
546
546
|
—
|
|
547
|
-
<span class="container">RubyProf::
|
|
547
|
+
<span class="container">RubyProf::GraphHtmlPrinter</span>
|
|
548
548
|
|
|
549
549
|
<li class="method">
|
|
550
550
|
<a href="RubyProf/AbstractPrinter.html#method-i-method_name">#method_name</a>
|
|
@@ -617,34 +617,34 @@
|
|
|
617
617
|
<span class="container">RubyProf::Profile</span>
|
|
618
618
|
|
|
619
619
|
<li class="method">
|
|
620
|
-
<a href="RubyProf/
|
|
620
|
+
<a href="RubyProf/CallTreePrinter.html#method-i-print">#print</a>
|
|
621
621
|
—
|
|
622
|
-
<span class="container">RubyProf::
|
|
622
|
+
<span class="container">RubyProf::CallTreePrinter</span>
|
|
623
623
|
|
|
624
624
|
<li class="method">
|
|
625
|
-
<a href="RubyProf/
|
|
625
|
+
<a href="RubyProf/GraphHtmlPrinter.html#method-i-print">#print</a>
|
|
626
626
|
—
|
|
627
|
-
<span class="container">RubyProf::
|
|
627
|
+
<span class="container">RubyProf::GraphHtmlPrinter</span>
|
|
628
628
|
|
|
629
629
|
<li class="method">
|
|
630
|
-
<a href="RubyProf/
|
|
630
|
+
<a href="RubyProf/AbstractPrinter.html#method-i-print">#print</a>
|
|
631
631
|
—
|
|
632
|
-
<span class="container">RubyProf::
|
|
632
|
+
<span class="container">RubyProf::AbstractPrinter</span>
|
|
633
633
|
|
|
634
634
|
<li class="method">
|
|
635
|
-
<a href="RubyProf/
|
|
635
|
+
<a href="RubyProf/CallStackPrinter.html#method-i-print">#print</a>
|
|
636
636
|
—
|
|
637
|
-
<span class="container">RubyProf::
|
|
637
|
+
<span class="container">RubyProf::CallStackPrinter</span>
|
|
638
638
|
|
|
639
639
|
<li class="method">
|
|
640
|
-
<a href="RubyProf/
|
|
640
|
+
<a href="RubyProf/MultiPrinter.html#method-i-print">#print</a>
|
|
641
641
|
—
|
|
642
|
-
<span class="container">RubyProf::
|
|
642
|
+
<span class="container">RubyProf::MultiPrinter</span>
|
|
643
643
|
|
|
644
644
|
<li class="method">
|
|
645
|
-
<a href="RubyProf/
|
|
645
|
+
<a href="RubyProf/DotPrinter.html#method-i-print">#print</a>
|
|
646
646
|
—
|
|
647
|
-
<span class="container">RubyProf::
|
|
647
|
+
<span class="container">RubyProf::DotPrinter</span>
|
|
648
648
|
|
|
649
649
|
<li class="method">
|
|
650
650
|
<a href="RubyProf/CallStackPrinter.html#method-i-print_commands">#print_commands</a>
|
|
@@ -672,14 +672,14 @@
|
|
|
672
672
|
<span class="container">RubyProf::CallStackPrinter</span>
|
|
673
673
|
|
|
674
674
|
<li class="method">
|
|
675
|
-
<a href="RubyProf/
|
|
675
|
+
<a href="RubyProf/AbstractPrinter.html#method-i-print_header">#print_header</a>
|
|
676
676
|
—
|
|
677
|
-
<span class="container">RubyProf::
|
|
677
|
+
<span class="container">RubyProf::AbstractPrinter</span>
|
|
678
678
|
|
|
679
679
|
<li class="method">
|
|
680
|
-
<a href="RubyProf/
|
|
680
|
+
<a href="RubyProf/CallStackPrinter.html#method-i-print_header">#print_header</a>
|
|
681
681
|
—
|
|
682
|
-
<span class="container">RubyProf::
|
|
682
|
+
<span class="container">RubyProf::CallStackPrinter</span>
|
|
683
683
|
|
|
684
684
|
<li class="method">
|
|
685
685
|
<a href="RubyProf/CallTreePrinter.html#method-i-print_headers">#print_headers</a>
|
|
@@ -752,14 +752,14 @@
|
|
|
752
752
|
<span class="container">RubyProf::Profile</span>
|
|
753
753
|
|
|
754
754
|
<li class="method">
|
|
755
|
-
<a href="RubyProf/
|
|
755
|
+
<a href="RubyProf/CallInfo.html#method-i-root-3F">#root?</a>
|
|
756
756
|
—
|
|
757
|
-
<span class="container">RubyProf::
|
|
757
|
+
<span class="container">RubyProf::CallInfo</span>
|
|
758
758
|
|
|
759
759
|
<li class="method">
|
|
760
|
-
<a href="RubyProf/
|
|
760
|
+
<a href="RubyProf/MethodInfo.html#method-i-root-3F">#root?</a>
|
|
761
761
|
—
|
|
762
|
-
<span class="container">RubyProf::
|
|
762
|
+
<span class="container">RubyProf::MethodInfo</span>
|
|
763
763
|
|
|
764
764
|
<li class="method">
|
|
765
765
|
<a href="RubyProf/Cmd.html#method-i-run">#run</a>
|
|
@@ -776,15 +776,20 @@
|
|
|
776
776
|
—
|
|
777
777
|
<span class="container">RubyProf::Profile</span>
|
|
778
778
|
|
|
779
|
+
<li class="method">
|
|
780
|
+
<a href="RubyProf/AggregateCallInfo.html#method-i-self_time">#self_time</a>
|
|
781
|
+
—
|
|
782
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
|
783
|
+
|
|
779
784
|
<li class="method">
|
|
780
785
|
<a href="RubyProf/MethodInfo.html#method-i-self_time">#self_time</a>
|
|
781
786
|
—
|
|
782
787
|
<span class="container">RubyProf::MethodInfo</span>
|
|
783
788
|
|
|
784
789
|
<li class="method">
|
|
785
|
-
<a href="RubyProf/
|
|
790
|
+
<a href="RubyProf/Cmd.html#method-i-setup_options">#setup_options</a>
|
|
786
791
|
—
|
|
787
|
-
<span class="container">RubyProf::
|
|
792
|
+
<span class="container">RubyProf::Cmd</span>
|
|
788
793
|
|
|
789
794
|
<li class="method">
|
|
790
795
|
<a href="RubyProf/GraphHtmlPrinter.html#method-i-setup_options">#setup_options</a>
|
|
@@ -796,11 +801,6 @@
|
|
|
796
801
|
—
|
|
797
802
|
<span class="container">RubyProf::AbstractPrinter</span>
|
|
798
803
|
|
|
799
|
-
<li class="method">
|
|
800
|
-
<a href="RubyProf/Cmd.html#method-i-setup_options">#setup_options</a>
|
|
801
|
-
—
|
|
802
|
-
<span class="container">RubyProf::Cmd</span>
|
|
803
|
-
|
|
804
804
|
<li class="method">
|
|
805
805
|
<a href="RubyProf/AbstractPrinter.html#method-i-sort_method">#sort_method</a>
|
|
806
806
|
—
|
|
@@ -861,11 +861,6 @@
|
|
|
861
861
|
—
|
|
862
862
|
<span class="container">RubyProf::CallStackPrinter</span>
|
|
863
863
|
|
|
864
|
-
<li class="method">
|
|
865
|
-
<a href="RubyProf/MethodInfo.html#method-i-to_s">#to_s</a>
|
|
866
|
-
—
|
|
867
|
-
<span class="container">RubyProf::MethodInfo</span>
|
|
868
|
-
|
|
869
864
|
<li class="method">
|
|
870
865
|
<a href="RubyProf/CallInfo.html#method-i-to_s">#to_s</a>
|
|
871
866
|
—
|
|
@@ -876,6 +871,11 @@
|
|
|
876
871
|
—
|
|
877
872
|
<span class="container">RubyProf::AggregateCallInfo</span>
|
|
878
873
|
|
|
874
|
+
<li class="method">
|
|
875
|
+
<a href="RubyProf/MethodInfo.html#method-i-to_s">#to_s</a>
|
|
876
|
+
—
|
|
877
|
+
<span class="container">RubyProf::MethodInfo</span>
|
|
878
|
+
|
|
879
879
|
<li class="method">
|
|
880
880
|
<a href="RubyProf/Thread.html#method-i-top_call_infos">#top_call_infos</a>
|
|
881
881
|
—
|
|
@@ -887,9 +887,9 @@
|
|
|
887
887
|
<span class="container">RubyProf::Thread</span>
|
|
888
888
|
|
|
889
889
|
<li class="method">
|
|
890
|
-
<a href="RubyProf/
|
|
890
|
+
<a href="RubyProf/AggregateCallInfo.html#method-i-total_time">#total_time</a>
|
|
891
891
|
—
|
|
892
|
-
<span class="container">RubyProf::
|
|
892
|
+
<span class="container">RubyProf::AggregateCallInfo</span>
|
|
893
893
|
|
|
894
894
|
<li class="method">
|
|
895
895
|
<a href="RubyProf/CallStackPrinter.html#method-i-total_time">#total_time</a>
|
|
@@ -897,14 +897,14 @@
|
|
|
897
897
|
<span class="container">RubyProf::CallStackPrinter</span>
|
|
898
898
|
|
|
899
899
|
<li class="method">
|
|
900
|
-
<a href="RubyProf/
|
|
900
|
+
<a href="RubyProf/MethodInfo.html#method-i-total_time">#total_time</a>
|
|
901
901
|
—
|
|
902
|
-
<span class="container">RubyProf::
|
|
902
|
+
<span class="container">RubyProf::MethodInfo</span>
|
|
903
903
|
|
|
904
904
|
<li class="method">
|
|
905
|
-
<a href="RubyProf/
|
|
905
|
+
<a href="RubyProf/Thread.html#method-i-total_time">#total_time</a>
|
|
906
906
|
—
|
|
907
|
-
<span class="container">RubyProf::
|
|
907
|
+
<span class="container">RubyProf::Thread</span>
|
|
908
908
|
|
|
909
909
|
<li class="method">
|
|
910
910
|
<a href="RubyProf/MultiPrinter.html#method-i-tree_profile">#tree_profile</a>
|
|
@@ -917,9 +917,9 @@
|
|
|
917
917
|
<span class="container">RubyProf::CallInfoVisitor</span>
|
|
918
918
|
|
|
919
919
|
<li class="method">
|
|
920
|
-
<a href="RubyProf/
|
|
920
|
+
<a href="RubyProf/MethodInfo.html#method-i-wait_time">#wait_time</a>
|
|
921
921
|
—
|
|
922
|
-
<span class="container">RubyProf::
|
|
922
|
+
<span class="container">RubyProf::MethodInfo</span>
|
|
923
923
|
|
|
924
924
|
<li class="method">
|
|
925
925
|
<a href="RubyProf/AggregateCallInfo.html#method-i-wait_time">#wait_time</a>
|
|
@@ -927,9 +927,9 @@
|
|
|
927
927
|
<span class="container">RubyProf::AggregateCallInfo</span>
|
|
928
928
|
|
|
929
929
|
<li class="method">
|
|
930
|
-
<a href="RubyProf/
|
|
930
|
+
<a href="RubyProf/Thread.html#method-i-wait_time">#wait_time</a>
|
|
931
931
|
—
|
|
932
|
-
<span class="container">RubyProf::
|
|
932
|
+
<span class="container">RubyProf::Thread</span>
|
|
933
933
|
</ul>
|
|
934
934
|
</main>
|
|
935
935
|
|
|
@@ -14,7 +14,7 @@ static VALUE cMeasureAllocations;
|
|
|
14
14
|
#if defined(HAVE_RB_GC_STAT)
|
|
15
15
|
size_t rb_gc_stat(VALUE key);
|
|
16
16
|
|
|
17
|
-
#if RUBY_VERSION >=
|
|
17
|
+
#if RUBY_VERSION >= 2200
|
|
18
18
|
#define TOTAL_ALLOCATED_OBJECTS_STRING "total_allocated_objects"
|
|
19
19
|
#else
|
|
20
20
|
#define TOTAL_ALLOCATED_OBJECTS_STRING "total_allocated_object"
|
data/lib/ruby-prof.rb
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
# Load the C-based binding.
|
|
4
4
|
begin
|
|
5
|
-
RUBY_VERSION =~ /(\d
|
|
6
|
-
require "#{$1}/ruby_prof"
|
|
5
|
+
RUBY_VERSION =~ /(\d+\.\d+\.\d+)/
|
|
6
|
+
require "#{$1}/ruby_prof.so"
|
|
7
7
|
rescue LoadError
|
|
8
|
-
require "ruby_prof"
|
|
8
|
+
require "ruby_prof.so"
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
require 'ruby-prof/version'
|
data/lib/ruby-prof/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-prof
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.16.
|
|
4
|
+
version: 0.16.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shugo Maeda, Charlie Savage, Roger Pack, Stefan Kaes
|
|
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
263
263
|
version: '0'
|
|
264
264
|
requirements: []
|
|
265
265
|
rubyforge_project:
|
|
266
|
-
rubygems_version: 2.
|
|
266
|
+
rubygems_version: 2.4.8
|
|
267
267
|
signing_key:
|
|
268
268
|
specification_version: 4
|
|
269
269
|
summary: Fast Ruby profiler
|