Skip to content

Instantly share code, notes, and snippets.

@mwotton
Created October 5, 2014 05:47
Show Gist options
  • Save mwotton/dd72e0c4afc6be33be91 to your computer and use it in GitHub Desktop.
Save mwotton/dd72e0c4afc6be33be91 to your computer and use it in GitHub Desktop.
Sun Oct 5 12:40 2014 Time and Allocation Profiling Report (Final)
english +RTS -p -RTS
total time = 6.76 secs (6761 ticks @ 1000 us, 1 processor)
total alloc = 9,011,443,760 bytes (excludes profiling overheads)
COST CENTRE MODULE %time %alloc
aggregate Text.CTK.Lexers 44.0 26.8
joinConts.listify Text.CTK.Lexers 30.7 46.8
joinConts Text.CTK.Lexers 9.2 15.7
joinActions Text.CTK.Lexers 4.1 0.0
execLexer.lexOne.oneChar Text.CTK.Lexers 2.6 0.0
main Main 2.1 2.5
string Text.CTK.Lexers 1.4 1.6
>||< Text.CTK.Lexers 1.4 0.0
individual inherited
COST CENTRE MODULE no. entries %time %alloc %time %alloc
MAIN MAIN 22545 0 0.0 0.0 100.0 100.0
main Main 45091 0 2.1 2.5 100.0 100.0
main.lexer Main 45093 1 0.0 0.0 97.6 97.5
fetchWords Language.Lexy 45094 1 0.0 0.0 97.6 97.5
fetchWords.lexer Language.Lexy 45098 1 0.5 0.7 1.4 2.1
many Language.Lexy 45165 0 0.0 0.0 0.0 0.0
many.\ Language.Lexy 45166 1 0.0 0.0 0.0 0.0
many.\.self Language.Lexy 45167 1 0.0 0.0 0.0 0.0
>||< Text.CTK.Lexers 45171 1 0.0 0.0 0.0 0.0
joinActions Text.CTK.Lexers 45175 1 0.0 0.0 0.0 0.0
joinConts Text.CTK.Lexers 45172 1 0.0 0.0 0.0 0.0
notWordChar Language.Lexy 45168 0 0.0 0.0 0.0 0.0
alt Text.CTK.Lexers 45169 0 0.0 0.0 0.0 0.0
alt.\ Text.CTK.Lexers 45170 1 0.0 0.0 0.0 0.0
aggregate Text.CTK.Lexers 45174 1 0.0 0.0 0.0 0.0
accum Text.CTK.Lexers 45194 20 0.0 0.0 0.0 0.0
accum.kes' Text.CTK.Lexers 45200 19 0.0 0.0 0.0 0.0
accum.(...) Text.CTK.Lexers 45196 19 0.0 0.0 0.0 0.0
accum.gather Text.CTK.Lexers 45197 190 0.0 0.0 0.0 0.0
accum.gather.kes' Text.CTK.Lexers 45201 171 0.0 0.0 0.0 0.0
accum.gather.(...) Text.CTK.Lexers 45199 171 0.0 0.0 0.0 0.0
accum.gather.ke'' Text.CTK.Lexers 45198 171 0.0 0.0 0.0 0.0
accum.ke Text.CTK.Lexers 45195 19 0.0 0.0 0.0 0.0
alt.\.bnds Text.CTK.Lexers 45173 1 0.0 0.0 0.0 0.0
string Text.CTK.Lexers 45106 99171 0.9 1.4 0.9 1.4
char Text.CTK.Lexers 45107 551662 0.0 0.0 0.0 0.0
>|< Text.CTK.Lexers 45103 99170 0.0 0.0 0.0 0.0
fetchWords.\ Language.Lexy 45095 1 0.4 0.6 96.2 95.4
unstream/resize Data.Text.Internal.Fusion 45193 58147 0.2 0.3 0.2 0.3
fetchWords.\.result Language.Lexy 45130 1 0.0 0.0 0.0 0.0
fetchWords.\.(...) Language.Lexy 45096 1 0.2 0.5 95.6 94.4
lexaction Text.CTK.Lexers 45100 1 0.0 0.0 91.3 91.1
lexmeta Text.CTK.Lexers 45101 1 0.0 0.0 91.3 91.1
fetchWords.lexer Language.Lexy 45102 0 0.0 0.0 91.3 91.1
notWordChar Language.Lexy 45146 0 0.0 0.0 0.0 0.0
alt Text.CTK.Lexers 45147 0 0.0 0.0 0.0 0.0
alt.\ Text.CTK.Lexers 45148 1 0.0 0.0 0.0 0.0
aggregate Text.CTK.Lexers 45153 1 0.0 0.0 0.0 0.0
accum Text.CTK.Lexers 45154 20 0.0 0.0 0.0 0.0
accum.kes' Text.CTK.Lexers 45160 19 0.0 0.0 0.0 0.0
accum.(...) Text.CTK.Lexers 45156 19 0.0 0.0 0.0 0.0
accum.gather Text.CTK.Lexers 45157 190 0.0 0.0 0.0 0.0
accum.gather.kes' Text.CTK.Lexers 45161 171 0.0 0.0 0.0 0.0
accum.gather.(...) Text.CTK.Lexers 45159 171 0.0 0.0 0.0 0.0
accum.gather.ke'' Text.CTK.Lexers 45158 171 0.0 0.0 0.0 0.0
accum.ke Text.CTK.Lexers 45155 19 0.0 0.0 0.0 0.0
alt.\.bnds Text.CTK.Lexers 45150 1 0.0 0.0 0.0 0.0
string Text.CTK.Lexers 45108 0 0.5 0.2 0.7 0.8
char Text.CTK.Lexers 45109 0 0.2 0.6 0.2 0.6
char.\ Text.CTK.Lexers 45110 551662 0.0 0.0 0.0 0.0
>|< Text.CTK.Lexers 45104 0 0.0 0.0 90.6 90.3
>|<.\ Text.CTK.Lexers 45105 99170 0.1 0.1 90.6 90.3
>||< Text.CTK.Lexers 45111 9361585 1.4 0.0 90.5 90.2
joinActions Text.CTK.Lexers 45128 8757799 4.1 0.0 4.1 0.0
joinConts Text.CTK.Lexers 45115 9361585 9.2 15.7 85.1 90.2
joinConts.cls' Text.CTK.Lexers 45140 526912 0.0 0.0 0.0 0.0
joinConts.cls Text.CTK.Lexers 45135 526912 0.0 0.0 0.0 0.0
aggregate Text.CTK.Lexers 45123 530922 44.0 26.8 44.8 27.6
accum Text.CTK.Lexers 45136 265092 0.2 0.2 0.8 0.8
accum.kes' Text.CTK.Lexers 45141 157807 0.0 0.0 0.0 0.0
accum.(...) Text.CTK.Lexers 45138 171638 0.1 0.1 0.5 0.5
accum.gather Text.CTK.Lexers 45139 414451 0.3 0.4 0.4 0.5
accum.gather.kes' Text.CTK.Lexers 45192 143894 0.0 0.0 0.0 0.0
accum.gather.(...) Text.CTK.Lexers 45191 148459 0.0 0.1 0.0 0.1
accum.gather.ke'' Text.CTK.Lexers 45190 148459 0.0 0.0 0.0 0.0
accum.ke Text.CTK.Lexers 45137 171638 0.0 0.0 0.0 0.0
addBoundsNum Text.CTK.Lexers 45122 530922 0.2 0.0 0.2 0.0
joinConts.bn' Text.CTK.Lexers 45121 530922 0.0 0.0 0.0 0.0
joinConts.bn Text.CTK.Lexers 45120 530922 0.0 0.0 0.0 0.0
joinConts.(...) Text.CTK.Lexers 45118 530922 0.1 0.0 0.1 0.0
joinConts.listify Text.CTK.Lexers 45119 530922 0.0 0.0 0.0 0.0
joinConts.(...) Text.CTK.Lexers 45116 530922 0.1 0.1 30.8 46.9
joinConts.listify Text.CTK.Lexers 45117 530922 30.7 46.8 30.7 46.8
execLexer Text.CTK.Lexers 45097 191982 0.1 0.4 4.1 2.9
execLexer.(...) Text.CTK.Lexers 45132 191981 0.2 0.1 0.2 0.1
execLexer.ts Text.CTK.Lexers 45131 191981 0.0 0.0 0.0 0.0
execLexer.lexOne Text.CTK.Lexers 45112 191981 0.1 0.1 3.8 2.4
execLexer.lexOne.lexErr Text.CTK.Lexers 45129 91958 0.1 0.4 0.1 0.4
execLexer.lexOne.lexErr.col Text.CTK.Lexers 45177 91957 0.0 0.0 0.0 0.0
execLexer.lexOne.lexErr.(...) Text.CTK.Lexers 45134 91958 0.0 0.0 0.0 0.0
execLexer.lexOne.lexErr.cs Text.CTK.Lexers 45133 91958 0.0 0.0 0.0 0.0
execLexer.lexOne.oneLexeme Text.CTK.Lexers 45113 896247 0.4 1.0 3.5 1.9
execLexer.lexOne.oneLexeme.last' Text.CTK.Lexers 45126 368474 0.1 0.0 0.5 0.5
execLexer.lexOne.action Text.CTK.Lexers 45127 368474 0.1 0.1 0.4 0.5
closeDL Text.CTK.DLists 45182 0 0.0 0.0 0.2 0.1
execLexer.lexOne.oneChar Text.CTK.Lexers 45184 0 0.0 0.0 0.2 0.1
execLexer.lexOne.cont Text.CTK.Lexers 45185 0 0.0 0.0 0.2 0.1
snocDL Text.CTK.DLists 45186 0 0.0 0.0 0.2 0.1
snocDL.\ Text.CTK.DLists 45187 527773 0.1 0.1 0.1 0.1
lexaction Text.CTK.Lexers 45176 0 0.1 0.2 0.1 0.2
lexaction.a'.col' Text.CTK.Lexers 45179 100023 0.0 0.0 0.0 0.0
lexaction.a' Text.CTK.Lexers 45178 100023 0.0 0.0 0.0 0.0
fetchWords.\.(...).\ Language.Lexy 45189 100023 0.0 0.0 0.0 0.0
execLexer.lexOne.oneChar Text.CTK.Lexers 45114 896247 2.6 0.0 2.7 0.4
execLexer.lexOne.cont Text.CTK.Lexers 45149 704266 0.1 0.4 0.1 0.4
snocDL Text.CTK.DLists 45183 527773 0.0 0.0 0.0 0.0
inBounds Text.CTK.Lexers 45125 866269 0.0 0.0 0.0 0.0
readTextDevice Data.Text.Internal.IO 45092 773 0.2 0.0 0.2 0.0
CAF Main 45089 0 0.0 0.0 0.0 0.0
main Main 45090 1 0.0 0.0 0.0 0.0
CAF Language.Lexy 45088 0 0.0 0.0 0.0 0.0
fetchWords Language.Lexy 45162 0 0.0 0.0 0.0 0.0
fetchWords.lexer Language.Lexy 45163 0 0.0 0.0 0.0 0.0
many Language.Lexy 45164 1 0.0 0.0 0.0 0.0
notWordChar Language.Lexy 45144 1 0.0 0.0 0.0 0.0
alt Text.CTK.Lexers 45145 1 0.0 0.0 0.0 0.0
alt.\ Text.CTK.Lexers 45151 0 0.0 0.0 0.0 0.0
alt.\.bnds Text.CTK.Lexers 45152 0 0.0 0.0 0.0 0.0
CAF Text.CTK.Lexers 22651 0 0.0 0.0 0.0 0.0
aggregate Text.CTK.Lexers 45142 0 0.0 0.0 0.0 0.0
aggregate.noLexer Text.CTK.Lexers 45143 1 0.0 0.0 0.0 0.0
denseMin Text.CTK.Lexers 45124 1 0.0 0.0 0.0 0.0
+> Text.CTK.Lexers 45099 1 0.0 0.0 0.0 0.0
CAF Text.CTK.DLists 22648 0 0.0 0.0 0.0 0.0
zeroDL Text.CTK.DLists 45188 1 0.0 0.0 0.0 0.0
closeDL Text.CTK.DLists 45181 1 0.0 0.0 0.0 0.0
CAF Data.Text.Array 22644 0 0.0 0.0 0.0 0.0
CAF Data.Text.Internal 22640 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Handle.Internals 22606 0 0.0 0.0 0.0 0.0
CAF GHC.Conc.Signal 22583 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Encoding 22578 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Encoding.Iconv 22577 0 0.0 0.0 0.0 0.0
CAF GHC.IO.Handle.FD 22574 0 0.0 0.0 0.0 0.0
CAF GHC.IO.FD 22564 0 0.0 0.0 0.0 0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment