Skip to content

Instantly share code, notes, and snippets.

@jemc
Created March 16, 2015 01:24
Show Gist options
  • Save jemc/8603919b020e1aa93b34 to your computer and use it in GitHub Desktop.
Save jemc/8603919b020e1aa93b34 to your computer and use it in GitHub Desktop.
Myco inoculate command profiler output
$ env RBXOPT=-Xprofile beta/bin/myco inoculate gamma
Thread 1: total running time: 318.041755872s
% cumulative self self total
time seconds seconds calls ms/call ms/call name
------------------------------------------------------------
16.02 113.63 86.85 4556901 0.02 0.02 Myco.find_constant_bucket_in_module
4.76 316.69 25.83 2166219 0.01 0.15 Array#each
4.09 23.57 22.19 10600526 0.00 0.00 Array#[]
2.79 23.54 15.12 3119042 0.00 0.01 Hash#[]=
2.56 136.98 13.88 1092190 0.01 0.13 Myco.find_constant
1.80 116.55 9.74 4556901 0.00 0.03 Myco::find_constant<75> {}
1.73 119.00 9.37 4562681 0.00 0.03 Enumerable::find<449> {}
1.59 303.88 8.60 2014840 0.00 0.15 Myco.branch_op
1.56 128.40 8.48 1095120 0.01 0.12 Enumerable#find
1.54 10.70 8.33 3009186 0.00 0.00 Hash#new_bucket
1.33 198.22 7.20 1359143 0.01 0.15 Hash#each_pair
1.20 6.73 6.53 2927660 0.00 0.00 CodeTools::Generator::BasicBlock#add_stack
1.15 15.71 6.22 1762208 0.00 0.01 Hash#find_item
1.07 8.17 5.80 62499125 0.00 0.00 Rubinius::Type.object_kind_of?
1.06 7.97 5.77 59339989 0.00 0.00 Rubinius::ConstantTable#lookup
1.02 5.51 5.51 2554 2.16 2.16 GC.collect_young
0.97 9.08 5.24 668757 0.01 0.01 Myco::Component#new
0.94 7.32 5.07 61053776 0.00 0.00 Module#direct_superclass
0.92 16.31 4.99 1479906 0.00 0.01 Hash#[]
0.88 17.71 4.75 38731 0.12 0.46 Rubinius::Type.include_modules_from
0.86 13.36 4.69 609885 0.01 0.02 Rubinius::Runtime.keyword_object?
0.80 7.21 4.36 1519851 0.00 0.00 Hash.allocate
0.77 4.50 4.20 1519861 0.00 0.00 Hash#__setup__
0.76 5.63 4.10 281109 0.01 0.02 Rubinius::ConstantTable#each
0.71 18.14 3.86 62143 0.06 0.29 CodeTools::AST::ToRuby::eval_file<8> {}
0.71 5.69 3.84 50056033 0.00 0.00 Fixnum#+
0.70 7.01 3.78 1309212 0.00 0.01 Hash.new_from_literal
0.67 3.92 3.61 1019652 0.00 0.00 Myco::Component::new<160> {}
0.63 56.96 3.39 118322 0.03 0.48 <anonymous module>::eval_file<69> {}
0.60 7.34 3.24 1025415 0.00 0.01 Rubinius::Runtime::keyword_object?<92> {}
0.58 3.51 3.15 6386410 0.00 0.00 Array#<<
0.56 4.66 3.05 337616 0.01 0.01 Array#hash
0.51 5.90 2.76 53600 0.05 0.11 <anonymous module>::eval_file<118> {}
0.49 9.68 2.67 917883 0.00 0.01 CodeTools::Generator#find_literal
0.47 7.62 2.56 417781 0.01 0.02 CodeTools::Generator#send
0.47 5.98 2.53 1021169 0.00 0.01 Comparable#==
0.47 3.04 2.53 1914267 0.00 0.00 Rubinius::IncludedModule#==
0.45 18.14 2.46 68752 0.04 0.26 CodeTools::AST::ToRuby::eval_file<8> {}
0.43 300.00 2.33 476649 0.00 0.63 Proc#call
0.42 3.52 2.29 32767107 0.00 0.00 Fixnum#<
0.42 2.49 2.28 1424284 0.00 0.00 Rubinius::Type.coerce_to_constant_name
0.40 2.49 2.18 331533 0.01 0.01 Rubinius::Type.const_get
0.40 3.11 2.18 25340365 0.00 0.00 Rubinius::Tuple#at
0.40 2.28 2.16 3009186 0.00 0.00 Hash::Bucket#initialize
0.40 4.36 2.16 556878 0.00 0.01 CodeTools::Generator::BasicBlock#flow_stack_size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment