Skip to content

Instantly share code, notes, and snippets.

@srawlins
Created August 25, 2015 16:25
Show Gist options
  • Save srawlins/20e76f891fef6156fea5 to your computer and use it in GitHub Desktop.
Save srawlins/20e76f891fef6156fea5 to your computer and use it in GitHub Desktop.
# Through vertical-arrows (first 10 ifs)
%self total self wait child calls name
7.60 1.284 1.284 0.000 0.000 25396 String#split
5.60 0.946 0.946 0.000 0.000 117606 Array#flatten
4.08 0.690 0.690 0.000 0.000 487582 Regexp#match
4.03 1.053 0.680 0.000 0.372 393708 SCSSLint::ControlCommentProcessor#retrieve_comment_text
3.53 0.597 0.597 0.000 0.000 522139 Kernel#is_a?
3.42 0.860 0.578 0.000 0.282 396943 Enumerable#any?
3.21 0.542 0.542 0.000 0.000 492675 Kernel#class
2.75 3.897 0.465 0.000 3.432 393708 SCSSLint::ControlCommentProcessor#extract_command
2.75 0.601 0.464 0.000 0.136 407795 Kernel#respond_to?
2.53 4.325 0.428 0.000 3.897 393708 SCSSLint::ControlCommentProcessor#before_node_visit
2.12 0.358 0.358 0.000 0.000 764691 Module#===
2.11 0.356 0.356 0.000 0.000 62955 String#[]
2.08 0.352 0.352 0.000 0.000 90337 Sass::Script::Tree::Literal#children
1.99 1.186 0.336 0.000 0.849 393708 SCSSLint::ControlCommentProcessor#after_node_visit
1.58 0.266 0.266 0.000 0.000 55935 Array#[]
1.19 0.201 0.201 0.000 0.000 159381 Fixnum#-
1.13 0.192 0.192 0.000 0.000 39332 Fixnum#==
1.07 1.248 0.181 0.000 1.066 117587 Sass::Tree::Node#concat_expr_lists
1.00 0.258 0.169 0.000 0.089 44342 Sass::Tree::Node#add_line_number
0.98 0.207 0.165 0.000 0.042 54444 BasicObject#!=
0.96 1.235 0.162 0.000 1.073 3075 *SCSSLint::Linter::SpaceBetweenParens#feel_for_parens_and_check_node
0.93 0.217 0.158 0.000 0.059 71487 Array#select
0.90 0.152 0.152 0.000 0.000 2492 Sass::Source::Position#initialize
0.81 0.136 0.136 0.000 0.000 313451 Kernel#respond_to_missing?
0.71 0.120 0.120 0.000 0.000 117646 Array#compact
0.68 1.098 0.115 0.000 0.983 24121 Enumerable#each_with_index
0.68 0.115 0.115 0.000 0.000 71871 Sass::Script::Value::Base#children
0.68 0.114 0.114 0.000 0.000 51160 <Class::Sass::Script::Tree::Operation>#visit_method
0.68 0.114 0.114 0.000 0.000 59516 String#==
0.62 0.486 0.105 0.000 0.381 16414 SCSSLint::Linter#source_from_range
0.61 0.106 0.103 0.000 0.003 2052 SCSSLint::Linter::ZeroUnit#visit_script_string
0.59 0.099 0.099 0.000 0.000 50328 <Class::Sass::Script::Tree::Variable>#visit_method
0.59 0.099 0.099 0.000 0.000 98348 <Class::Sass::Tree::IfNode>#visit_method
0.57 0.790 0.097 0.000 0.693 39098 SCSSLint::Linter#character_at
0.54 0.092 0.092 0.000 0.000 24426 Hash#[]
0.50 0.916 0.084 0.000 0.833 44222 Sass::Tree::PropNode#children
0.48 0.082 0.082 0.000 0.001 11297 String#scan
0.44 0.630 0.074 0.000 0.556 50207 Sass::Tree::IfNode#children
0.42 0.070 0.070 0.000 0.000 12995 String#gsub
0.37 0.063 0.063 0.000 0.000 1 Sass::Selector::SimpleSequence#base
0.37 0.062 0.062 0.000 0.000 110805 <Class::Sass::Script::Value::String>#visit_method
0.35 0.257 0.059 0.000 0.198 67320 Sass::Tree::Node#extract_script_nodes
...
real 2m49.480s
user 2m44.007s
sys 0m2.908s
# Through chevron-right (first 9 ifs)
%self total self wait child calls name
8.95 0.576 0.576 0.000 0.000 12854 String#split
5.12 0.330 0.330 0.000 0.000 267936 Regexp#match
4.89 0.523 0.315 0.000 0.209 204522 Kernel#respond_to?
3.84 0.408 0.247 0.000 0.161 197347 SCSSLint::ControlCommentProcessor#retrieve_comment_text
3.37 0.217 0.217 0.000 0.000 58977 Array#flatten
3.24 0.209 0.209 0.000 0.000 157282 Kernel#respond_to_missing?
2.97 0.305 0.191 0.000 0.113 199046 Enumerable#any?
2.74 0.177 0.177 0.000 0.000 262278 Kernel#is_a?
2.63 0.468 0.170 0.000 0.299 197347 SCSSLint::ControlCommentProcessor#after_node_visit
2.61 1.629 0.168 0.000 1.461 197347 SCSSLint::ControlCommentProcessor#extract_command
2.15 0.139 0.139 0.000 0.000 247413 Kernel#class
2.12 0.137 0.137 0.000 0.000 19854 Fixnum#==
1.88 1.750 0.121 0.000 1.629 197347 SCSSLint::ControlCommentProcessor#before_node_visit
1.86 0.120 0.120 0.000 0.000 383489 Module#===
1.81 0.381 0.117 0.000 0.265 58959 Sass::Tree::Node#concat_expr_lists
1.15 0.074 0.074 0.000 0.000 24739 Sass::Script::Tree::Variable#children
0.93 0.060 0.060 0.000 0.000 79978 Fixnum#-
0.80 0.052 0.052 0.000 0.000 49192 <Class::Sass::Tree::IfNode>#visit_method
0.79 0.054 0.051 0.000 0.004 3263 Array#include?
0.78 0.050 0.050 0.000 0.000 45279 Sass::Script::Tree::Literal#children
0.77 0.049 0.049 0.000 0.000 55507 <Class::Sass::Script::Value::String>#visit_method
0.74 0.048 0.048 0.000 0.000 59017 Array#compact
0.69 0.155 0.045 0.000 0.110 35902 Array#select
0.66 0.043 0.043 0.000 0.000 13655 Array#first
0.65 0.042 0.042 0.000 0.000 6848 String#gsub
0.59 0.221 0.038 0.000 0.183 8222 SCSSLint::Linter#source_from_range
0.57 0.262 0.036 0.000 0.225 22205 Sass::Tree::PropNode#children
0.53 0.034 0.034 0.000 0.000 2067 Array#count
0.50 0.035 0.032 0.000 0.003 513 SCSSLint::Linter::PropertySortOrder#ignore_property?
0.49 0.032 0.032 0.000 0.000 2793 BasicObject#!
0.48 0.031 0.031 0.000 0.000 25559 <Class::Sass::Script::Tree::Operation>#visit_method
0.47 0.098 0.030 0.000 0.068 19624 SCSSLint::Linter#character_at
0.45 0.190 0.029 0.000 0.161 25116 Sass::Tree::IfNode#children
0.40 0.109 0.026 0.000 0.083 33783 Sass::Tree::Node#extract_script_nodes
0.38 0.035 0.024 0.000 0.011 22325 Sass::Tree::Node#add_line_number
0.37 0.135 0.024 0.000 0.111 27308 BasicObject#!=
0.36 0.023 0.023 0.000 0.000 36029 Sass::Script::Value::Base#children
0.36 0.023 0.023 0.000 0.000 45279 <Class::Sass::Script::Tree::Literal>#visit_method
0.34 0.022 0.022 0.000 0.000 31704 String#[]
...
real 0m54.836s
user 0m53.106s
sys 0m1.088s
# Through chevron-left (first 8 ifs)
%self total self wait child calls name
9.56 0.301 0.301 0.000 0.000 6584 String#split
5.94 0.187 0.187 0.000 0.000 146082 Regexp#match
4.97 0.932 0.157 0.000 0.775 99162 SCSSLint::ControlCommentProcessor#extract_command
4.03 0.209 0.127 0.000 0.082 99162 SCSSLint::ControlCommentProcessor#retrieve_comment_text
2.50 0.079 0.079 0.000 0.000 192879 Module#===
2.43 0.077 0.077 0.000 0.000 124775 Kernel#class
2.34 0.074 0.074 0.000 0.000 79193 Kernel#respond_to_missing?
2.23 0.070 0.070 0.000 0.000 132337 Kernel#is_a?
2.13 0.102 0.067 0.000 0.035 100093 Enumerable#any?
2.12 0.141 0.067 0.000 0.074 102881 Kernel#respond_to?
2.07 0.065 0.065 0.000 0.000 29660 Array#flatten
1.95 0.993 0.061 0.000 0.932 99162 SCSSLint::ControlCommentProcessor#before_node_visit
1.92 0.160 0.060 0.000 0.099 99162 SCSSLint::ControlCommentProcessor#after_node_visit
1.57 0.050 0.050 0.000 0.000 16140 <Class::Sass::Tree::PropNode>#visit_method
1.18 0.038 0.037 0.000 0.000 2849 String#scan
1.07 0.034 0.034 0.000 0.000 10105 Fixnum#==
0.96 0.030 0.030 0.000 0.000 12758 <Class::Sass::Script::Tree::Operation>#visit_method
0.95 0.113 0.030 0.000 0.083 29643 Sass::Tree::Node#concat_expr_lists
0.94 0.038 0.030 0.000 0.008 773 SCSSLint::Linter::SpaceBetweenParens#check
0.92 0.065 0.029 0.000 0.036 5761 Sass::Tree::CommentNode#children
0.90 0.030 0.028 0.000 0.002 1717 Array#include?
0.82 0.026 0.026 0.000 0.000 24612 <Class::Sass::Tree::IfNode>#visit_method
0.73 0.037 0.023 0.000 0.014 18109 Array#select
0.60 0.106 0.019 0.000 0.088 11196 Sass::Tree::PropNode#children
0.60 0.076 0.019 0.000 0.057 4126 SCSSLint::Linter#source_from_range
0.58 0.018 0.018 0.000 0.000 29700 Array#compact
0.52 0.016 0.016 0.000 0.000 22749 Sass::Script::Tree::Literal#children
0.49 0.032 0.015 0.000 0.016 9880 SCSSLint::Linter#character_at
0.47 0.066 0.015 0.000 0.052 12569 Sass::Tree::IfNode#children
0.43 0.045 0.013 0.000 0.032 17014 Sass::Tree::Node#extract_script_nodes
0.41 0.013 0.013 0.000 0.000 27857 <Class::Sass::Script::Value::String>#visit_method
0.40 0.018 0.012 0.000 0.005 11316 Sass::Tree::Node#add_line_number
0.38 0.012 0.012 0.000 0.000 18107 Sass::Script::Value::Base#children
0.38 0.012 0.012 0.000 0.000 3773 String#gsub
0.37 0.045 0.012 0.000 0.033 13740 BasicObject#!=
0.37 0.012 0.012 0.000 0.000 40259 Fixnum#-
0.36 0.011 0.011 0.000 0.000 22749 <Class::Sass::Script::Tree::Literal>#visit_method
0.36 0.011 0.011 0.000 0.000 16071 String#[]
...
real 0m20.296s
user 0m19.728s
sys 0m0.500s
# Through chevron-down (first 7 ifs)
%self total self wait child calls name
11.08 0.182 0.182 0.000 0.000 3450 String#split
6.11 0.101 0.101 0.000 0.000 79140 Regexp#match
2.82 0.064 0.046 0.000 0.017 50612 Enumerable#any?
2.71 0.045 0.045 0.000 0.000 14999 Array#flatten
2.65 0.106 0.044 0.000 0.062 50065 SCSSLint::ControlCommentProcessor#after_node_visit
2.60 0.073 0.043 0.000 0.031 50065 SCSSLint::ControlCommentProcessor#retrieve_comment_text
2.57 0.042 0.042 0.000 0.000 8354 String#==
2.48 0.041 0.041 0.000 0.000 40144 Kernel#respond_to_missing?
2.15 0.076 0.035 0.000 0.041 52056 Kernel#respond_to?
2.08 0.433 0.034 0.000 0.399 50065 SCSSLint::ControlCommentProcessor#extract_command
1.90 0.031 0.031 0.000 0.000 67356 Kernel#is_a?
1.87 0.464 0.031 0.000 0.433 50065 SCSSLint::ControlCommentProcessor#before_node_visit
1.77 0.029 0.029 0.000 0.000 97565 Module#===
1.37 0.023 0.023 0.000 0.000 6237 Sass::Script::Tree::Operation#children
1.36 0.022 0.022 0.000 0.000 63449 Kernel#class
1.35 0.022 0.022 0.000 0.000 3380 Symbol#==
1.25 0.022 0.021 0.000 0.001 595 String#match
0.85 0.067 0.014 0.000 0.053 14983 Sass::Tree::Node#concat_expr_lists
0.65 0.018 0.011 0.000 0.007 9212 Array#select
0.57 0.024 0.009 0.000 0.015 2078 SCSSLint::Linter#source_from_range
0.56 0.064 0.009 0.000 0.054 5691 Sass::Tree::PropNode#children
0.52 0.008 0.008 0.000 0.000 15039 Array#compact
0.49 0.008 0.008 0.000 0.000 11483 Sass::Script::Tree::Literal#children
0.47 0.016 0.008 0.000 0.008 5002 SCSSLint::Linter#character_at
0.44 0.032 0.007 0.000 0.025 6294 Sass::Tree::IfNode#children
0.42 0.007 0.007 0.000 0.000 2234 String#gsub
0.41 0.007 0.007 0.000 0.000 14031 <Class::Sass::Script::Value::String>#visit_method
0.40 0.022 0.007 0.000 0.015 8629 Sass::Tree::Node#extract_script_nodes
0.38 0.009 0.006 0.000 0.003 5811 Sass::Tree::Node#add_line_number
0.37 0.030 0.006 0.000 0.024 6956 BasicObject#!=
0.37 0.006 0.006 0.000 0.000 12320 <Class::Sass::Tree::IfNode>#visit_method
0.36 0.006 0.006 0.000 0.000 20384 Fixnum#-
0.36 0.006 0.006 0.000 0.000 8248 String#[]
0.35 0.006 0.006 0.000 0.000 9145 Sass::Script::Value::Base#children
0.35 0.006 0.006 0.000 0.000 11483 <Class::Sass::Script::Tree::Literal>#visit_method
...
real 0m9.801s
user 0m8.893s
sys 0m0.461s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment