Skip to content

Instantly share code, notes, and snippets.

@chuckremes
Created January 29, 2013 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuckremes/4667149 to your computer and use it in GitHub Desktop.
Save chuckremes/4667149 to your computer and use it in GitHub Desktop.
Charless-Mac-Pro:heap_dump cremes$ time rbx -Xprofile -Xprofiler -I lib bin/histo.rb /Users/cremes/dev/mygit/heap.dump
An exception occurred running bin/histo.rb
undefined method `as_module' on nil:NilClass. (NoMethodError)
Backtrace:
Kernel(NilClass)#as_module (method_missing) at kernel/delta/kernel.rb:81
Rubinius::HeapDump::DumpedObject#direct_class_object at lib/heap_dump/dumped_object.rb:51
Rubinius::HeapDump::DumpedObject#class_object at lib/heap_dump/dumped_object.rb:66
{ } in Rubinius::HeapDump::Histogram.by_class at lib/heap_dump/histogram.rb:38
Array#each at kernel/bootstrap/array.rb:68
Rubinius::HeapDump::Histogram.by_class at lib/heap_dump/histogram.rb:37
Rubinius::HeapDump::Objects#histogram at lib/heap_dump/objects.rb:13
Object#__script__ at bin/histo.rb:21
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:68
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:118
Rubinius::Loader#script at kernel/loader.rb:615
Rubinius::Loader#main at kernel/loader.rb:816
Thread 1: total running time: 3924.9737221640003s
% cumulative self self total
time seconds seconds calls ms/call ms/call name
------------------------------------------------------------
32.75 1285.41 1285.41 23458 54.80 54.80 GC.collect_young
6.88 494.82 270.18 89488213 0.00 0.01 Rubinius.synchronize
6.45 2194.40 253.11 44595504 0.01 0.05 IO#read
5.06 672.74 198.80 44744165 0.00 0.02 String#<<
3.83 150.29 150.29 131 1147.23 1147.23 GC.collect_mature
2.87 3088.87 112.71 18146384 0.01 0.17 Rubinius::HeapDump::Decoder#decode_reference
2.84 248.56 111.32 44595589 0.00 0.01 Rubinius::ByteArray#dup
1.91 91.44 74.99 44744041 0.00 0.00 IO::InternalBuffer::shift<154> {}
1.90 93.51 74.52 44744041 0.00 0.00 IO::InternalBuffer::fill_from<65> {}
1.77 82.23 69.34 88072744 0.00 0.00 Kernel#===
1.65 173.85 64.79 89280901 0.00 0.00 String#force_encoding
1.62 507.23 63.55 44744041 0.00 0.01 IO::InternalBuffer#fill_from
1.61 72.36 63.08 96128390 0.00 0.00 BasicObject#!
1.47 71.10 57.66 113687357 0.00 0.00 Module#===
1.46 367.47 57.31 44744041 0.00 0.01 IO::InternalBuffer#shift
1.38 109.08 54.17 89280901 0.00 0.00 Rubinius::Type.coerce_to_encoding
1.27 57.42 49.84 44595504 0.00 0.00 IO#ensure_open_and_readable
1.22 296.49 47.97 44744194 0.00 0.01 String#modify!
1.20 81.96 47.07 44595624 0.00 0.00 Rubinius::ByteArray.new
1.18 100.14 46.26 24405556 0.00 0.00 Kernel#respond_to?
1.12 50.35 43.79 44595607 0.00 0.00 Kernel#initialize_copy
1.03 195.88 40.54 16152055 0.00 0.01 Array#each
0.84 37.04 33.07 21573144 0.00 0.00 Array#[]
0.79 42.44 30.85 44685916 0.00 0.00 Rubinius::Type.compatible_encoding
0.73 3812.89 28.70 1 28703.46 3812894.18 Rubinius::HeapDump::Decoder::decode<110> {}
0.71 143.68 28.03 24404851 0.00 0.01 String#==
0.68 58.01 26.85 11009517 0.00 0.01 Struct::initialize<84> {}
0.68 131.52 26.53 10994299 0.00 0.01 Struct#initialize
0.64 27.75 25.26 89488412 0.00 0.00 String#encoding
0.62 617.98 24.19 9996221 0.00 0.06 Rubinius::HeapDump::Decoder#int
0.61 26.36 23.87 89488232 0.00 0.00 Rubinius.lock
0.48 19.36 18.95 15143575 0.00 0.00 String#unpack
0.40 18.32 15.83 89488233 0.00 0.00 Rubinius.unlock
0.39 15.79 15.12 24405556 0.00 0.00 Kernel#respond_to_prim?
0.37 16.25 14.34 12561923 0.00 0.00 Array#first
0.36 2701.57 14.28 11429177 0.00 0.24 Rubinius::HeapDump::Decoder::decode<140> {}
0.36 157.89 14.23 24404847 0.00 0.01 Fixnum#===
0.36 678.01 13.97 10994364 0.00 0.06 Class#new
0.35 2712.56 13.68 2808289 0.00 0.97 Integer#times
0.33 15.00 12.90 25787404 0.00 0.00 Enumerable::find_index<260> {}
0.31 95.88 12.01 10994321 0.00 0.01 Enumerable#each_with_index
0.29 12.75 11.50 44744043 0.00 0.00 String.from_bytearray
0.28 698.42 11.04 10994299 0.00 0.06 Rubinius::HeapDump::Reference.new
0.27 11.35 10.56 28847682 0.00 0.00 String#[]
0.26 11.58 10.34 44685916 0.00 0.00 Encoding.compatible?
162 methods omitted
207 methods called a total of 3,438,806,581 times
real 65m42.952s
user 65m29.205s
sys 0m12.002s
Charless-Mac-Pro:heap_dump cremes$ time rbx -Xprofile -Xprofiler.graph -I lib bin/histo.rb /Users/cremes/dev/mygit/heap.dump
An exception occurred running bin/histo.rb
undefined method `as_module' on nil:NilClass. (NoMethodError)
Backtrace:
Kernel(NilClass)#as_module (method_missing) at kernel/delta/kernel.rb:81
Rubinius::HeapDump::DumpedObject#direct_class_object at lib/heap_dump/dumped_object.rb:51
Rubinius::HeapDump::DumpedObject#class_object at lib/heap_dump/dumped_object.rb:66
{ } in Rubinius::HeapDump::Histogram.by_class at lib/heap_dump/histogram.rb:38
Array#each at kernel/bootstrap/array.rb:68
Rubinius::HeapDump::Histogram.by_class at lib/heap_dump/histogram.rb:37
Rubinius::HeapDump::Objects#histogram at lib/heap_dump/objects.rb:13
Object#__script__ at bin/histo.rb:21
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:68
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:118
Rubinius::Loader#script at kernel/loader.rb:615
Rubinius::Loader#main at kernel/loader.rb:816
===== Thread 1 =====
Total running time: 3915.5295152060003s
index % time self children called name
----------------------------------------------------------
[1] 100.0 0.00 3915.46 1 Rubinius::Loader#script [1]
0.00 3915.46 1 Rubinius::CodeLoader.load_script [2]
-------------------------------------------------------
0.00 3915.46 1 Rubinius::Loader#script [1]
[2] 100.0 0.00 3915.46 1 Rubinius::CodeLoader.load_script [2]
0.00 3915.46 1 Rubinius::CodeLoader#load_script [3]
-------------------------------------------------------
0.00 3915.46 1 Rubinius::CodeLoader.load_script [2]
[3] 100.0 0.00 3915.46 1 Rubinius::CodeLoader#load_script [3]
0.00 3915.45 1 Rubinius.run_script [4]
0.00 0.01 1 Rubinius::CodeLoader#load_file
-------------------------------------------------------
0.00 3915.46 1 Rubinius::CodeLoader#load_script [3]
[4] 100.0 0.00 3915.45 1 Rubinius.run_script [4]
0.00 3915.45 1 script:/Users/cremes/dev/ruby/heap_dump/bin/histo.rb [5]
-------------------------------------------------------
0.00 3915.45 1 Rubinius.run_script [4]
[5] 100.0 0.00 3915.45 1 script:/Users/cremes/dev/ruby/heap_dump/bin/histo.rb [5]
0.00 3801.76 1 Rubinius::HeapDump.open [6]
0.00 113.49 1 Rubinius::HeapDump::Objects#histogram [39]
0.00 0.20 2 Kernel#require
-------------------------------------------------------
0.00 3915.45 1 script:/Users/cremes/dev/ruby/heap_dump/bin/histo.rb [5]
[6] 97.1 0.00 3801.76 1 Rubinius::HeapDump.open [6]
0.00 3801.76 1 Rubinius::HeapDump::Decoder#decode [7]
-------------------------------------------------------
0.00 3801.76 1 Rubinius::HeapDump.open [6]
[7] 97.1 0.00 3801.76 1 Rubinius::HeapDump::Decoder#decode [7]
0.00 3801.76 1 IO.open [8]
0.00 0.01 1 Rubinius::HeapDump::DumpedModule#find_class
-------------------------------------------------------
0.00 3801.76 1 Rubinius::HeapDump::Decoder#decode [7]
[8] 97.1 0.00 3801.76 1 IO.open [8]
29.10 3772.66 1 Rubinius::HeapDump::Decoder::decode<110> {} [9]
-------------------------------------------------------
0.00 3801.76 1 IO.open [8]
[9] 97.1 29.10 3772.66 1 Rubinius::HeapDump::Decoder::decode<110> {} [9]
9.93 2683.44 2565702 Integer#times [10]
20.43 389.36 2565702 Rubinius::HeapDump::Decoder#decode_reference [20]
6.26 162.03 2565702 Rubinius::HeapDump::Decoder#short [27]
4.56 144.12 5131404 Rubinius::HeapDump::Reference.new [30]
7.15 104.47 2566434 Rubinius::HeapDump::Decoder#ints [42]
0.40 101.03 2565702 Class#allocate [45]
15.06 83.08 2566443 IO#read
16.66 0.00 15 GC.collect_mature
9.25 0.00 164 GC.collect_young
6.54 0.75 5131407 Array#[]
-------------------------------------------------------
29.10 3772.66 1 Rubinius::HeapDump::Decoder::decode<110> {} [9]
[10] 68.8 9.93 2683.44 2565702 Integer#times [10]
14.17 2668.01 11429177 Rubinius::HeapDump::Decoder::decode<140> {} [11]
1.27 0.00 20 GC.collect_young
-------------------------------------------------------
9.93 2683.44 2565702 Integer#times [10]
[11] 68.5 14.17 2668.01 11429177 Rubinius::HeapDump::Decoder::decode<140> {} [11]
64.14 2595.35 11429177 Rubinius::HeapDump::Decoder#decode_reference [12]
6.71 1.81 11429177 Array#<<
-------------------------------------------------------
14.17 2668.01 11429177 Rubinius::HeapDump::Decoder::decode<140> {} [11]
[12] 67.9 64.14 2595.35 11429177 Rubinius::HeapDump::Decoder#decode_reference [12]
3.58 630.65 242587 Integer#times [13]
69.07 519.35 12024986 IO#read [16]
19.86 494.95 8169049 Rubinius::HeapDump::Decoder#int [17]
5.72 487.69 5180562 Rubinius::HeapDump::Reference.new [18]
4.09 168.97 3253253 Rubinius::HeapDump::Decoder#char [26]
83.16 0.00 1422 GC.collect_young
5.51 55.74 9759759 Fixnum#===
35.28 5.34 43671363 Kernel#===
4.19 0.00 11429177 String#[]
1.70 0.00 2 GC.collect_mature
-------------------------------------------------------
64.14 2595.35 11429177 Rubinius::HeapDump::Decoder#decode_reference [12]
[13] 16.2 3.58 630.65 242587 Integer#times [13]
4.99 623.67 4151505 Rubinius::HeapDump::Decoder::decode_reference<83> {} [14]
1.99 0.00 41 GC.collect_young
-------------------------------------------------------
3.58 630.65 242587 Integer#times [13]
[14] 16.1 4.99 623.67 4151505 Rubinius::HeapDump::Decoder::decode_reference<83> {} [14]
27.31 593.27 4151505 Rubinius::HeapDump::Decoder#decode_reference [15]
2.42 0.68 4151505 Array#<<
-------------------------------------------------------
4.99 623.67 4151505 Rubinius::HeapDump::Decoder::decode_reference<83> {} [14]
[15] 15.8 27.31 593.27 4151505 Rubinius::HeapDump::Decoder#decode_reference [15]
23.60 182.07 4159848 IO#read [24]
2.91 121.94 2318399 Rubinius::HeapDump::Decoder#char [36]
4.45 97.05 1824763 Rubinius::HeapDump::Decoder#int [44]
0.77 56.35 679928 Rubinius::HeapDump::Reference.new
4.08 39.62 6955197 Fixnum#===
38.22 0.00 689 GC.collect_young
16.98 2.53 21323449 Kernel#===
1.51 0.00 4151505 String#[]
0.61 0.00 1 GC.collect_mature
0.02 0.34 8343 Rubinius::HeapDump::Decoder#ints
-------------------------------------------------------
64.14 2595.35 11429177 Rubinius::HeapDump::Decoder#decode_reference [12]
[16] 15.0 69.07 519.35 12024986 IO#read [16]
53.50 129.17 12034522 String#<< [25]
17.38 113.19 12034522 IO::InternalBuffer#fill_from [35]
15.36 79.87 12034522 IO::InternalBuffer#shift
52.88 0.00 905 GC.collect_young
7.62 12.61 12024986 String#force_encoding
13.61 1.68 12024986 IO#ensure_open_and_readable
10.74 0.00 6 GC.collect_mature
7.37 0.70 12034522 BasicObject#!
2.32 0.00 24059508 IO::InternalBuffer#exhausted?
1.37 0.00 12034522 String#empty?
-------------------------------------------------------
64.14 2595.35 11429177 Rubinius::HeapDump::Decoder#decode_reference [12]
[17] 13.1 19.86 494.95 8169049 Rubinius::HeapDump::Decoder#int [17]
45.45 352.48 8169049 IO#read [22]
49.33 0.00 33 GC.collect_mature
27.65 0.00 464 GC.collect_young
9.40 0.97 8169049 Array#first
9.67 0.00 8169049 String#unpack
-------------------------------------------------------
64.14 2595.35 11429177 Rubinius::HeapDump::Decoder#decode_reference [12]
[18] 12.6 5.72 487.69 5180562 Rubinius::HeapDump::Reference.new [18]
6.81 472.92 5180562 Class#new [19]
7.96 0.00 145 GC.collect_young
-------------------------------------------------------
5.72 487.69 5180562 Rubinius::HeapDump::Reference.new [18]
[19] 12.3 6.81 472.92 5180562 Class#new [19]
0.74 407.42 5180562 Class#allocate [21]
12.89 51.86 5180562 Struct#initialize
-------------------------------------------------------
29.10 3772.66 1 Rubinius::HeapDump::Decoder::decode<110> {} [9]
[20] 10.5 20.43 389.36 2565702 Rubinius::HeapDump::Decoder#decode_reference [20]
3.19 147.19 2563297 Rubinius::HeapDump::Decoder#char [29]
14.41 116.40 2565702 IO#read [34]
4.50 43.87 7689891 Fixnum#===
41.33 0.00 699 GC.collect_young
13.34 2.14 17945484 Kernel#===
1.78 0.00 3 GC.collect_mature
0.94 0.00 2565702 String#[]
0.01 0.22 2405 Rubinius::HeapDump::Decoder#int
0.00 0.03 2405 Rubinius::HeapDump::Reference.new
-------------------------------------------------------
6.81 472.92 5180562 Class#new [19]
[21] 10.4 0.74 407.42 5180562 Class#allocate [21]
378.87 0.00 6582 GC.collect_young [23]
28.55 0.00 24 GC.collect_mature
-------------------------------------------------------
19.86 494.95 8169049 Rubinius::HeapDump::Decoder#int [17]
[22] 10.2 45.45 352.48 8169049 IO#read [22]
36.34 84.83 8216847 String#<< [37]
11.57 80.52 8216847 IO::InternalBuffer#fill_from
10.51 63.66 8216847 IO::InternalBuffer#shift
33.36 0.00 556 GC.collect_young
5.13 8.86 8169049 String#force_encoding
8.40 1.12 8169049 IO#ensure_open_and_readable
5.22 0.50 8216847 BasicObject#!
1.54 0.00 16385896 IO::InternalBuffer#exhausted?
0.92 0.00 8216847 String#empty?
-------------------------------------------------------
0.74 407.42 5180562 Class#allocate [21]
[23] 9.7 378.87 0.00 6582 GC.collect_young [23]
-------------------------------------------------------
27.31 593.27 4151505 Rubinius::HeapDump::Decoder#decode_reference [15]
[24] 5.3 23.60 182.07 4159848 IO#read [24]
18.35 44.71 4160003 String#<<
5.89 37.92 4160003 IO::InternalBuffer#fill_from
5.37 31.53 4160003 IO::InternalBuffer#shift
22.03 0.00 397 GC.collect_young
2.65 4.43 4159848 String#force_encoding
4.70 0.57 4159848 IO#ensure_open_and_readable
2.42 0.24 4160003 BasicObject#!
0.79 0.00 8319851 IO::InternalBuffer#exhausted?
0.47 0.00 4160003 String#empty?
-------------------------------------------------------
69.07 519.35 12024986 IO#read [16]
[25] 4.7 53.50 129.17 12034522 String#<< [25]
13.04 68.17 12034522 String#modify!
9.21 15.78 12033419 String#force_encoding
8.23 2.82 12033419 Rubinius::Type.compatible_encoding
7.18 0.00 24069044 String#encoding
2.03 0.00 12034522 String#append
1.22 0.00 12034522 Kernel#kind_of?
0.82 0.00 12034522 Rubinius::Type.infect
0.68 0.00 12034522 Kernel#==
-------------------------------------------------------
64.14 2595.35 11429177 Rubinius::HeapDump::Decoder#decode_reference [12]
[26] 4.4 4.09 168.97 3253253 Rubinius::HeapDump::Decoder#char [26]
18.17 149.64 3253253 IO#read [28]
1.16 0.00 3253253 String#[]
-------------------------------------------------------
29.10 3772.66 1 Rubinius::HeapDump::Decoder::decode<110> {} [9]
[27] 4.3 6.26 162.03 2565702 Rubinius::HeapDump::Decoder#short [27]
14.61 123.32 2565702 IO#read [33]
8.93 0.00 7 GC.collect_mature
8.36 0.00 161 GC.collect_young
3.52 0.00 2565702 String#unpack
2.99 0.31 2565702 Array#first
-------------------------------------------------------
4.09 168.97 3253253 Rubinius::HeapDump::Decoder#char [26]
[28] 4.3 18.17 149.64 3253253 IO#read [28]
14.48 33.08 3253253 String#<<
4.63 36.40 3253253 IO::InternalBuffer#fill_from
4.18 22.09 3253253 IO::InternalBuffer#shift
21.16 0.00 365 GC.collect_young
2.07 3.50 3253253 String#force_encoding
3.41 0.45 3253253 IO#ensure_open_and_readable
2.08 0.20 3253253 BasicObject#!
0.96 0.00 1 GC.collect_mature
0.61 0.00 6506506 IO::InternalBuffer#exhausted?
0.36 0.00 3253253 String#empty?
-------------------------------------------------------
20.43 389.36 2565702 Rubinius::HeapDump::Decoder#decode_reference [20]
[29] 3.8 3.19 147.19 2563297 Rubinius::HeapDump::Decoder#char [29]
14.27 132.02 2563297 IO#read [31]
0.90 0.00 2563297 String#[]
-------------------------------------------------------
29.10 3772.66 1 Rubinius::HeapDump::Decoder::decode<110> {} [9]
[30] 3.8 4.56 144.12 5131404 Rubinius::HeapDump::Reference.new [30]
5.97 138.15 5131404 Class#new [32]
-------------------------------------------------------
3.19 147.19 2563297 Rubinius::HeapDump::Decoder#char [29]
[31] 3.7 14.27 132.02 2563297 IO#read [31]
3.64 35.11 2563297 IO::InternalBuffer#fill_from
11.27 25.64 2563297 String#<<
3.28 17.95 2563297 IO::InternalBuffer#shift
19.95 0.00 352 GC.collect_young
5.23 0.00 4 GC.collect_mature
1.62 2.76 2563297 String#force_encoding
2.68 0.35 2563297 IO#ensure_open_and_readable
1.62 0.15 2563297 BasicObject#!
0.48 0.00 5126594 IO::InternalBuffer#exhausted?
0.28 0.00 2563297 String#empty?
-------------------------------------------------------
4.56 144.12 5131404 Rubinius::HeapDump::Reference.new [30]
[32] 3.7 5.97 138.15 5131404 Class#new [32]
0.49 80.96 5131404 Class#allocate
11.82 44.88 5131404 Struct#initialize
-------------------------------------------------------
6.26 162.03 2565702 Rubinius::HeapDump::Decoder#short [27]
[33] 3.5 14.61 123.32 2565702 IO#read [33]
11.31 27.65 2570539 String#<<
3.73 24.68 2570539 IO::InternalBuffer#fill_from
3.31 24.99 2570539 IO::InternalBuffer#shift
16.31 0.00 288 GC.collect_young
1.61 2.74 2565702 String#force_encoding
2.82 0.36 2565702 IO#ensure_open_and_readable
1.37 0.15 2570539 BasicObject#!
1.50 0.00 1 GC.collect_mature
0.48 0.00 5136241 IO::InternalBuffer#exhausted?
0.28 0.00 2570539 String#empty?
-------------------------------------------------------
20.43 389.36 2565702 Rubinius::HeapDump::Decoder#decode_reference [20]
[34] 3.3 14.41 116.40 2565702 IO#read [34]
11.32 28.32 2565702 String#<<
3.56 25.34 2565702 IO::InternalBuffer#fill_from
3.27 20.86 2565702 IO::InternalBuffer#shift
13.66 0.00 237 GC.collect_young
1.62 2.68 2565702 String#force_encoding
2.82 0.36 2565702 IO#ensure_open_and_readable
1.62 0.15 2565702 BasicObject#!
0.49 0.00 5131404 IO::InternalBuffer#exhausted?
0.32 0.00 2565702 String#empty?
-------------------------------------------------------
69.07 519.35 12024986 IO#read [16]
[35] 3.3 17.38 113.19 12034522 IO::InternalBuffer#fill_from [35]
53.12 31.11 12034522 Rubinius.synchronize
27.15 0.00 447 GC.collect_young
1.81 0.00 2 GC.collect_mature
-------------------------------------------------------
27.31 593.27 4151505 Rubinius::HeapDump::Decoder#decode_reference [15]
[36] 3.2 2.91 121.94 2318399 Rubinius::HeapDump::Decoder#char [36]
12.88 108.22 2318399 IO#read [38]
0.84 0.00 2318399 String#[]
-------------------------------------------------------
45.45 352.48 8169049 IO#read [22]
[37] 3.1 36.34 84.83 8216847 String#<< [37]
8.80 43.69 8216847 String#modify!
6.40 10.65 8208214 String#force_encoding
5.44 2.00 8208214 Rubinius::Type.compatible_encoding
4.70 0.00 16433694 String#encoding
1.29 0.00 8216847 String#append
0.86 0.00 8216847 Kernel#kind_of?
0.56 0.00 8216847 Rubinius::Type.infect
0.45 0.00 8216847 Kernel#==
-------------------------------------------------------
2.91 121.94 2318399 Rubinius::HeapDump::Decoder#char [36]
[38] 3.1 12.88 108.22 2318399 IO#read [38]
10.20 24.78 2318399 String#<<
3.36 27.40 2318399 IO::InternalBuffer#fill_from
3.00 17.00 2318399 IO::InternalBuffer#shift
13.55 0.00 201 GC.collect_young
1.47 2.44 2318399 String#force_encoding
2.42 0.31 2318399 IO#ensure_open_and_readable
1.48 0.13 2318399 BasicObject#!
0.43 0.00 4636798 IO::InternalBuffer#exhausted?
0.26 0.00 2318399 String#empty?
-------------------------------------------------------
0.00 3915.45 1 script:/Users/cremes/dev/ruby/heap_dump/bin/histo.rb [5]
[39] 2.9 0.00 113.49 1 Rubinius::HeapDump::Objects#histogram [39]
0.00 113.49 1 Rubinius::HeapDump::Histogram.by_class [40]
-------------------------------------------------------
0.00 113.49 1 Rubinius::HeapDump::Objects#histogram [39]
[40] 2.9 0.00 113.49 1 Rubinius::HeapDump::Histogram.by_class [40]
2.65 110.84 1 Array#each [41]
-------------------------------------------------------
0.00 113.49 1 Rubinius::HeapDump::Histogram.by_class [40]
[41] 2.9 2.65 110.84 1 Array#each [41]
5.15 105.52 2543515 Rubinius::HeapDump::Histogram::by_class<37> {} [43]
0.17 0.00 2543515 Rubinius::Tuple#at
-------------------------------------------------------
29.10 3772.66 1 Rubinius::HeapDump::Decoder::decode<110> {} [9]
[42] 2.9 7.15 104.47 2566434 Rubinius::HeapDump::Decoder#ints [42]
14.69 84.88 2566434 IO#read
3.47 0.00 2566434 String#unpack
1.24 0.00 2566434 Fixnum#to_s
0.18 0.00 2566434 Fixnum#*
-------------------------------------------------------
2.65 110.84 1 Array#each [41]
[43] 2.8 5.15 105.52 2543515 Rubinius::HeapDump::Histogram::by_class<37> {} [43]
3.03 58.78 2543515 Rubinius::HeapDump::DumpedObject#class_object
3.00 26.67 2543514 Rubinius::HeapDump::DumpedModule#name
1.74 11.21 2543514 Hash#[]
1.08 0.00 2543514 Rubinius::HeapDump::Histogram::Entry#inc
-------------------------------------------------------
27.31 593.27 4151505 Rubinius::HeapDump::Decoder#decode_reference [15]
[44] 2.6 4.45 97.05 1824763 Rubinius::HeapDump::Decoder#int [44]
10.15 75.69 1824763 IO#read
4.34 0.00 102 GC.collect_young
2.46 0.00 7 GC.collect_mature
2.09 0.22 1824763 Array#first
2.13 0.00 1824763 String#unpack
-------------------------------------------------------
29.10 3772.66 1 Rubinius::HeapDump::Decoder::decode<110> {} [9]
[45] 2.6 0.40 101.03 2565702 Class#allocate [45]
96.72 0.00 1634 GC.collect_young
4.30 0.00 4 GC.collect_mature
-------------------------------------------------------
1,833 methods omitted
1,878 methods called a total of 0 times
real 65m34.581s
user 65m20.639s
sys 0m12.196s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment