Skip to content

Instantly share code, notes, and snippets.

@johnsinco
Created December 6, 2018 17:06
Show Gist options
  • Save johnsinco/6519113a63c0dcdadb6fe389f3662eae to your computer and use it in GitHub Desktop.
Save johnsinco/6519113a63c0dcdadb6fe389f3662eae to your computer and use it in GitHub Desktop.
TOTAL COUNT MATCH SLOWEST AVERAGE NAME PATTERN
0.032859 286 50 0.000515 0.000115 rubyKeywordAsMethod \(defined?\|exit!\)\@!\<[_[:lower:]][_[:alnum:]]*[?!]
0.022910 584 390 0.000254 0.000039 rubyKeywordAsMethod \%(\%(\.\@1<!\.\)\|::\)\_s*\%([_[:lower:]][_[:alnum:]]*\|\<\%(BEGIN\|END\)\>\)
0.021121 360 122 0.000473 0.000059 rubyConstant \%(\%(^\|[^.]\)\.\s*\)\@<!\<\u\%(\w\|[^\x00-\x7F]\)*\>\%(\s*(\)\@!
0.020811 522 284 0.000232 0.000040 rubySymbol [[:space:],{(]\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*[!?]\=:[[:space:],]\@=
0.017956 372 134 0.000246 0.000048 rubySymbol []})\"':]\@1<!\<\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*[!?]\=:[[:space:],]\@=
0.014816 239 0 0.000591 0.000062 rubyCapitalizedMethod \%(\%(^\|[^.]\)\.\s*\)\@<!\<\u\%(\w\|[^\x00-\x7F]\)*\>\%(\s*(\)*\s*(\@=
0.013742 488 260 0.000189 0.000028 rubyInteger \%(\%(\w\|[]})\"']\s*\)\@<!-\)\=\<\%(0[dD]\)\=\%(0\|[1-9]\d*\%(_\d\+\)*\)r\=i\=\>
0.013462 239 0 0.000222 0.000056 rubyFloat \%(\%(\w\|[]})\"']\s*\)\@<!-\)\=\<\%(0\|[1-9]\d*\%(_\d\+\)*\)\%(\.\d\+\%(_\d\+\)*\)\=\%([eE][-+]\=\d\+\%(_\d\+\)*\)r\=i\=\>
0.012750 239 0 0.000183 0.000053 rubyFloat \%(\%(\w\|[]})\"']\s*\)\@<!-\)\=\<\%(0\|[1-9]\d*\%(_\d\+\)*\)\.\d\+\%(_\d\+\)*r\=i\=\>
0.012192 239 0 0.000298 0.000051 rubyInteger \%(\%(\w\|[]})\"']\s*\)\@<!-\)\=\<0[bB][01]\+\%(_[01]\+\)*r\=i\=\>
0.011746 240 1 0.000176 0.000049 rubyInteger \%(\%(\w\|[]})\"']\s*\)\@<!-\)\=\<0[oO]\=\o\+\%(_\o\+\)*r\=i\=\>
0.011732 239 0 0.000241 0.000049 rubyInteger \%(\%(\w\|[]})\"']\s*\)\@<!-\)\=\<0[xX]\x\+\%(_\x\+\)*r\=i\=\>
0.011355 317 111 0.000096 0.000036 rubySymbol \%([{(,]\_s*\)\zs[[:space:],{]\l\w*[!?]\=::\@!
0.011169 371 133 0.000131 0.000030 rubySymbol \%([{(,]\_s*\)\zs\l\w*[!?]\=::\@!
0.010659 239 0 0.000209 0.000045 rubyPredefinedConstant \%(\%(^\|[^.]\)\.\s*\)\@<!\<\%(ARGF\|ARGV\|ENV\|DATA\|FALSE\|NIL\|STDERR\|STDIN\|STDOUT\|TOPLEVEL_BINDING\|TRUE\)\>\%(\s*(\)\@!
0.010168 302 128 0.000133 0.000034 rubyControl \<\%(case\|begin\|do\|for\|if\|unless\|while\|until\|else\|elsif\|ensure\|then\|when\|end\)\>[?!]\@!
0.009836 239 0 0.000150 0.000041 rubyASCIICode \%(\w\|[]})\"'/]\)\@1<!\%(?\%(\\M-\\C-\|\\C-\\M-\|\\M-\\c\|\\c\\M-\|\\c\|\\C-\|\\M-\)\=\%(\\\o\{1,3}\|\\x\x\{1,2}\|\\\=\S\)\)
0.008997 239 0 0.000227 0.000038 rubyAttribute \%(\%(^\|;\)\s*\)\@<=attr\>\(\s*[.=]\)\@!
0.008752 239 0 0.000135 0.000037 rubyPredefinedConstant \%(\%(^\|[^.]\)\.\s*\)\@<!\<\%(RUBY_\%(VERSION\|RELEASE_DATE\|PLATFORM\|PATCHLEVEL\|REVISION\|DESCRIPTION\|COPYRIGHT\|ENGINE\)\)\>\%(\s*(\)\@!
0.008219 239 0 0.000184 0.000034 rubyString \%(\%(class\|::\)\_s*\|\%([]}).]\)\s\|\w\)\@<!<<[-~]'\z([^']*\)'\ze\%(.*<<[-~]\=['`"]\=\h\)\@!
0.008211 239 0 0.000134 0.000034 rubyString \%(\%(class\|::\)\_s*\|\%([]}).]\)\s\|\w\)\@<!<<[-~]`\z([^`]*\)`\ze\%(.*<<[-~]\=['`"]\=\h\)\@!
0.008105 261 22 0.000103 0.000031 rubySymbol []})\"':]\@1<!:\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*\%([?!=]>\@!\)\=
0.008103 239 0 0.000196 0.000034 rubyRegexp \%(\h\k*\s\+\)\@<=/\%([ \t=]\|$\)\@!
0.008077 239 0 0.000239 0.000034 rubyString \%(\%(class\|::\)\_s*\|\%([]}).]\)\s\|\w\)\@<!<<[-~]"\z([^"]*\)"\ze\%(.*<<[-~]\=['`"]\=\h\)\@!
0.008035 239 0 0.000144 0.000034 rubySymbol []})\"':]\@1<!:\%(\^\|\~@\|\~\|<<\|<=>\|<=\|<\|===\|[=!]=\|[=!]\~\|!@\|!\|>>\|>=\|>\||\|-@\|-\|/\|\[]=\|\[]\|\*\*\|\*\|&\|%\|+@\|+\|`\)
0.008014 239 0 0.000198 0.000034 rubyControl \<\%(exit!\|\%(abort\|at_exit\|exit\|fork\|loop\|trap\)\>[?!]\@!\)
0.007975 239 0 0.000123 0.000033 rubyHeredocStart \%(\%(class\|::\)\_s*\|\%([]})"'.]\)\s\|\w\)\@<!<<[-~]\=\zs`\%([^`]*\)`
0.007941 247 12 0.000140 0.000032 rubyControl \<\%(and\|break\|in\|next\|not\|or\|redo\|rescue\|retry\|return\)\>[?!]\@!
0.007936 239 0 0.000116 0.000033 rubyString \%(\%(class\|::\)\_s*\|\%([]})"'.]\)\s\|\w\)\@<!<<`\z([^`]*\)`\ze\%(.*<<[-~]\=['`"]\=\h\)\@!
0.007891 239 0 0.000123 0.000033 rubyString \%(\%(class\|::\)\_s*\|\%([]}).]\)\s\|\w\)\@<!<<[-~]\z(\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*\)\ze\%(.*<<[-~]\=['`"]\=\h\)\@!
0.007880 239 0 0.000203 0.000033 rubyString \%(\%(class\|::\)\_s*\|\%([]})"'.]\)\s\|\w\)\@<!<<'\z([^']*\)'\ze\%(.*<<[-~]\=['`"]\=\h\)\@!
0.007872 239 0 0.000220 0.000033 rubyRegexp \%(\%(^\|\<\%(and\|or\|while\|until\|unless\|if\|elsif\|when\|not\|then\|else\)\|[;\~=!|&(,{[<>?:*+-]\)\s*\)\@<=/
0.007817 248 9 0.000175 0.000032 rubyBlockParameterList \%(\%(\<do\>\|{\)\_s*\)\@32<=|
0.007765 250 11 0.000177 0.000031 rubySymbol []})\"':]\@1<!:\%(\$\|@@\=\)\=\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*
0.007754 239 0 0.000122 0.000032 rubyHeredocStart \%(\%(class\|::\)\_s*\|\%([]})"'.]\)\s\|\w\)\@<!<<[-~]\=\zs'\%([^']*\)'
0.007659 239 0 0.000168 0.000032 rubyString \%(\%(class\|::\)\_s*\|\%([]})"'.]\)\s\|\w\)\@<!<<\z(\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*\)\ze\%(.*<<[-~]\=['`"]\=\h\)\@!
0.007641 241 2 0.000145 0.000032 rubyPseudoVariable \<\%(nil\|self\|__ENCODING__\|__dir__\|__FILE__\|__LINE__\|__callee__\|__method__\)\>[?!]\@!
0.007610 239 0 0.000116 0.000032 rubyHeredocStart \%(\%(class\|::\)\_s*\|\%([]})"'.]\)\s\|\w\)\@<!<<[-~]\=\zs\%(\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*\)
0.007548 239 0 0.000128 0.000032 rubyHeredocStart \%(\%(class\|::\)\_s*\|\%([]})"'.]\)\s\|\w\)\@<!<<[-~]\=\zs"\%([^"]*\)"
0.007538 239 0 0.000166 0.000032 rubySymbol []})\"':]\@1<!:'
0.007533 239 0 0.000161 0.000032 rubyString \%(\%(class\|::\)\_s*\|\%([]})"'.]\)\s\|\w\)\@<!<<"\z([^"]*\)"\ze\%(.*<<[-~]\=['`"]\=\h\)\@!
0.007411 239 0 0.000132 0.000031 rubySymbol []})\"':]\@1<!:\$\%(-.\|[`~<=>_,;:!?/.'"@$*\&+0]\)
0.007404 239 0 0.000194 0.000031 rubySymbol []})\"':]\@1<!:\"
0.007378 728 612 0.000062 0.000010 rubyLocalVariableOrMethod \<[_[:lower:]][_[:alnum:]]*[?!=]\=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment