WordNumbers.exe.prof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
	Sun Aug 07 21:13 2011 Time and Allocation Profiling Report  (Final)

	   WordNumbers.exe +RTS -p -RTS

	total time  =      283.40 secs   (14170 ticks @ 20 ms)
	total alloc = 68,195,500,960 bytes  (excludes profiling overheads)

COST CENTRE                    MODULE               %time %alloc

wordLength'                    Main                  92.2   88.9
solution                       Main                   4.7    9.2
solve                          Main                   2.0    1.8
wordLength                     Main                   1.2    0.0


                                                                                               individual    inherited
COST CENTRE              MODULE                                               no.    entries  %time %alloc   %time %alloc

MAIN                     MAIN                                                   1           0   0.0    0.0   100.0  100.0
 main                    Main                                                 632           3   0.0    0.0     0.0    0.0
 CAF:main2               Main                                                 626           1   0.0    0.0    95.3   90.8
  main                   Main                                                 746           0   0.0    0.0    95.3   90.8
   solution              Main                                                 750           1   0.0    0.0    95.3   90.8
    solve                Main                                                 751   104805344   2.0    1.8    95.3   90.8
     wordLength          Main                                                 752   104805344   1.2    0.0    93.4   88.9
      wordLength'        Main                                                 753  1156371848  92.2   88.9    92.2   88.9
 CAF:main22              Main                                                 625           1   0.0    0.0     0.0    0.0
  main                   Main                                                 633           0   0.0    0.0     0.0    0.0
   solution              Main                                                 635           1   0.0    0.0     0.0    0.0
    wordify              Main                                                 735           2   0.0    0.0     0.0    0.0
    solve                Main                                                 639         123   0.0    0.0     0.0    0.0
     wordLength          Main                                                 642         123   0.0    0.0     0.0    0.0
      wordLength'        Main                                                 644         255   0.0    0.0     0.0    0.0
 CAF:ones_rd0            Main                                                 624           1   0.0    0.0     0.0    0.0
  ones                   Main                                                 741           1   0.0    0.0     0.0    0.0
 CAF:lenOnes_rd6         Main                                                 621           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 646           1   0.0    0.0     0.0    0.0
 CAF:lenTens_rd8         Main                                                 620           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 704           1   0.0    0.0     0.0    0.0
 CAF:lenTeens_rda        Main                                                 619           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 674           1   0.0    0.0     0.0    0.0
 CAF:lvl252_r27A         Main                                                 618           1   0.0    0.0     0.0    0.0
 CAF:poly_$dMonad5_r27w  Main                                                 616           1   0.0    0.0     0.0    0.0
 CAF:poly_$dMonad4_r27q  Main                                                 613           1   0.0    0.0     0.0    0.0
 CAF:a5_r27m             Main                                                 612           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 650           0   0.0    0.0     0.0    0.0
 CAF:a4_r27k             Main                                                 611           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 649           0   0.0    0.0     0.0    0.0
 CAF:lvl247_r27g         Main                                                 610           1   0.0    0.0     0.0    0.0
 CAF:poly_$dMonad3_r27c  Main                                                 608           1   0.0    0.0     0.0    0.0
 CAF:poly_$dMonad2_r276  Main                                                 605           1   0.0    0.0     0.0    0.0
 CAF:a3_r272             Main                                                 604           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 708           0   0.0    0.0     0.0    0.0
 CAF:a2_r270             Main                                                 603           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 707           0   0.0    0.0     0.0    0.0
 CAF:lvl242_r26W         Main                                                 602           1   0.0    0.0     0.0    0.0
 CAF:poly_$dMonad1_r26S  Main                                                 600           1   0.0    0.0     0.0    0.0
 CAF:poly_$dMonad_r26M   Main                                                 597           1   0.0    0.0     0.0    0.0
 CAF:a1_r26I             Main                                                 596           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 678           0   0.0    0.0     0.0    0.0
 CAF:a_r26G              Main                                                 595           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 677           0   0.0    0.0     0.0    0.0
 CAF:lvl181_r24O         Main                                                 556           1   0.0    0.0     0.0    0.0
 CAF:lvl180_r24M         Main                                                 555           1   0.0    0.0     0.0    0.0
  ones                   Main                                                 743           0   0.0    0.0     0.0    0.0
 CAF:lvl155_r23Y         Main                                                 538           1   0.0    0.0     0.0    0.0
  wordify                Main                                                 736           0   0.0    0.0     0.0    0.0
 CAF:lvl153_r23U         Main                                                 537           1   0.0    0.0     0.0    0.0
  wordify                Main                                                 737           0   0.0    0.0     0.0    0.0
 CAF:lvl151_r23Q         Main                                                 536           1   0.0    0.0     0.0    0.0
  wordify                Main                                                 738           0   0.0    0.0     0.0    0.0
 CAF:lvl149_r23M         Main                                                 535           1   0.0    0.0     0.0    0.0
  wordify                Main                                                 739           0   0.0    0.0     0.0    0.0
 CAF:lvl134_r23i         Main                                                 525           1   0.0    0.0     0.0    0.0
  wordify                Main                                                 740           0   0.0    0.0     0.0    0.0
 CAF:lvl132_r23e         Main                                                 524           1   0.0    0.0     0.0    0.0
 CAF:lvl131_r23c         Main                                                 523           1   0.0    0.0     0.0    0.0
  wordify                Main                                                 745           0   0.0    0.0     0.0    0.0
 CAF:lvl125_r230         Main                                                 521           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 648           0   0.0    0.0     0.0    0.0
 CAF:lvl124_r22Y         Main                                                 520           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 651           0   0.0    0.0     0.0    0.0
 CAF:lvl123_r22W         Main                                                 519           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 654           0   0.0    0.0     0.0    0.0
 CAF:lvl122_r22U         Main                                                 518           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 656           0   0.0    0.0     0.0    0.0
 CAF:lvl121_r22S         Main                                                 517           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 658           0   0.0    0.0     0.0    0.0
 CAF:lvl120_r22Q         Main                                                 516           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 660           0   0.0    0.0     0.0    0.0
 CAF:lvl119_r22O         Main                                                 515           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 662           0   0.0    0.0     0.0    0.0
 CAF:lvl118_r22M         Main                                                 514           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 664           0   0.0    0.0     0.0    0.0
 CAF:lvl117_r22K         Main                                                 513           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 666           0   0.0    0.0     0.0    0.0
 CAF:lvl116_r22I         Main                                                 512           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 668           0   0.0    0.0     0.0    0.0
 CAF:lvl115_r22G         Main                                                 511           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 670           0   0.0    0.0     0.0    0.0
 CAF:lvl114_r22E         Main                                                 510           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 653           0   0.0    0.0     0.0    0.0
 CAF:lvl112_r22A         Main                                                 509           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 655           0   0.0    0.0     0.0    0.0
 CAF:lvl110_r22w         Main                                                 508           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 657           0   0.0    0.0     0.0    0.0
 CAF:lvl108_r22s         Main                                                 507           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 659           0   0.0    0.0     0.0    0.0
 CAF:lvl106_r22o         Main                                                 506           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 661           0   0.0    0.0     0.0    0.0
 CAF:lvl104_r22k         Main                                                 505           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 663           0   0.0    0.0     0.0    0.0
 CAF:lvl102_r22g         Main                                                 504           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 665           0   0.0    0.0     0.0    0.0
 CAF:lvl100_r22c         Main                                                 503           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 667           0   0.0    0.0     0.0    0.0
 CAF:lvl98_r228          Main                                                 502           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 669           0   0.0    0.0     0.0    0.0
 CAF:lvl96_r224          Main                                                 501           1   0.0    0.0     0.0    0.0
  lenOnes                Main                                                 671           0   0.0    0.0     0.0    0.0
 CAF:lvl92_r21W          Main                                                 500           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 706           0   0.0    0.0     0.0    0.0
 CAF:lvl91_r21U          Main                                                 499           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 709           0   0.0    0.0     0.0    0.0
 CAF:lvl90_r21S          Main                                                 498           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 712           0   0.0    0.0     0.0    0.0
 CAF:lvl89_r21Q          Main                                                 497           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 714           0   0.0    0.0     0.0    0.0
 CAF:lvl88_r21O          Main                                                 496           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 716           0   0.0    0.0     0.0    0.0
 CAF:lvl87_r21M          Main                                                 495           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 718           0   0.0    0.0     0.0    0.0
 CAF:lvl86_r21K          Main                                                 494           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 720           0   0.0    0.0     0.0    0.0
 CAF:lvl85_r21I          Main                                                 493           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 722           0   0.0    0.0     0.0    0.0
 CAF:lvl84_r21G          Main                                                 492           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 724           0   0.0    0.0     0.0    0.0
 CAF:lvl83_r21E          Main                                                 491           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 726           0   0.0    0.0     0.0    0.0
 CAF:lvl82_r21C          Main                                                 490           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 728           0   0.0    0.0     0.0    0.0
 CAF:lvl81_r21A          Main                                                 489           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 711           0   0.0    0.0     0.0    0.0
 CAF:lvl79_r21w          Main                                                 488           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 713           0   0.0    0.0     0.0    0.0
 CAF:lvl77_r21s          Main                                                 487           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 715           0   0.0    0.0     0.0    0.0
 CAF:lvl75_r21o          Main                                                 486           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 717           0   0.0    0.0     0.0    0.0
 CAF:lvl73_r21k          Main                                                 485           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 719           0   0.0    0.0     0.0    0.0
 CAF:lvl71_r21g          Main                                                 484           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 721           0   0.0    0.0     0.0    0.0
 CAF:lvl69_r21c          Main                                                 483           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 723           0   0.0    0.0     0.0    0.0
 CAF:lvl67_r218          Main                                                 482           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 725           0   0.0    0.0     0.0    0.0
 CAF:lvl65_r214          Main                                                 481           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 727           0   0.0    0.0     0.0    0.0
 CAF:lvl63_r210          Main                                                 480           1   0.0    0.0     0.0    0.0
  lenTens                Main                                                 729           0   0.0    0.0     0.0    0.0
 CAF:lvl59_r20S          Main                                                 479           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 676           0   0.0    0.0     0.0    0.0
 CAF:lvl58_r20Q          Main                                                 478           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 679           0   0.0    0.0     0.0    0.0
 CAF:lvl57_r20O          Main                                                 477           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 682           0   0.0    0.0     0.0    0.0
 CAF:lvl56_r20M          Main                                                 476           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 684           0   0.0    0.0     0.0    0.0
 CAF:lvl55_r20K          Main                                                 475           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 686           0   0.0    0.0     0.0    0.0
 CAF:lvl54_r20I          Main                                                 474           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 688           0   0.0    0.0     0.0    0.0
 CAF:lvl53_r20G          Main                                                 473           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 690           0   0.0    0.0     0.0    0.0
 CAF:lvl52_r20E          Main                                                 472           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 692           0   0.0    0.0     0.0    0.0
 CAF:lvl51_r20C          Main                                                 471           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 694           0   0.0    0.0     0.0    0.0
 CAF:lvl50_r20A          Main                                                 470           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 696           0   0.0    0.0     0.0    0.0
 CAF:lvl49_r20y          Main                                                 469           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 698           0   0.0    0.0     0.0    0.0
 CAF:lvl48_r20w          Main                                                 468           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 681           0   0.0    0.0     0.0    0.0
 CAF:lvl46_r20s          Main                                                 467           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 683           0   0.0    0.0     0.0    0.0
 CAF:lvl44_r20o          Main                                                 466           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 685           0   0.0    0.0     0.0    0.0
 CAF:lvl42_r20k          Main                                                 465           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 687           0   0.0    0.0     0.0    0.0
 CAF:lvl40_r20g          Main                                                 464           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 689           0   0.0    0.0     0.0    0.0
 CAF:lvl38_r20c          Main                                                 463           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 691           0   0.0    0.0     0.0    0.0
 CAF:lvl36_r208          Main                                                 462           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 693           0   0.0    0.0     0.0    0.0
 CAF:lvl34_r204          Main                                                 461           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 695           0   0.0    0.0     0.0    0.0
 CAF:lvl32_r200          Main                                                 460           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 697           0   0.0    0.0     0.0    0.0
 CAF:lvl30_r1ZW          Main                                                 459           1   0.0    0.0     0.0    0.0
  lenTeens               Main                                                 699           0   0.0    0.0     0.0    0.0
 CAF:lvl28_r1ZS          Main                                                 458           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 645           0   0.0    0.0     0.0    0.0
 CAF:lvl26_r1ZO          Main                                                 457           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 673           0   0.0    0.0     0.0    0.0
 CAF:lvl24_r1ZK          Main                                                 456           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 702           0   0.0    0.0     0.0    0.0
 CAF:lvl22_r1ZG          Main                                                 455           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 731           0   0.0    0.0     0.0    0.0
 CAF:lvl20_r1ZC          Main                                                 454           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 754           0   0.0    0.0     0.0    0.0
 CAF:lvl18_r1Zy          Main                                                 453           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 757           0   0.0    0.0     0.0    0.0
 CAF:lvl16_r1Zu          Main                                                 452           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 758           0   0.0    0.0     0.0    0.0
 CAF:lvl14_r1Zq          Main                                                 451           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 755           0   0.0    0.0     0.0    0.0
 CAF:lvl12_r1Zm          Main                                                 450           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 756           0   0.0    0.0     0.0    0.0
 CAF:lvl10_r1Zi          Main                                                 449           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 732           0   0.0    0.0     0.0    0.0
 CAF:lvl8_r1Ze           Main                                                 448           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 733           0   0.0    0.0     0.0    0.0
 CAF:lvl6_r1Za           Main                                                 447           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 703           0   0.0    0.0     0.0    0.0
 CAF:lvl4_r1Z6           Main                                                 446           1   0.0    0.0     0.0    0.0
  wordLength'            Main                                                 701           0   0.0    0.0     0.0    0.0
 CAF:lvl2_r1Z2           Main                                                 445           1   0.0    0.0     0.0    0.0
  wordLength             Main                                                 643           0   0.0    0.0     0.0    0.0
 CAF:main19              Main                                                 443           1   0.0    0.0     0.0    0.0
  solution               Main                                                 636           0   0.0    0.0     0.0    0.0
 CAF:main17              Main                                                 442           1   0.0    0.0     0.0    0.0
  solution               Main                                                 637           0   0.0    0.0     0.0    0.0
 CAF:main15              Main                                                 441           1   0.0    0.0     0.0    0.0
  solution               Main                                                 638           0   0.0    0.0     0.0    0.0
 CAF:main11              Main                                                 440           1   0.0    0.0     4.7    9.2
  solution               Main                                                 640           0   4.7    9.2     4.7    9.2
 CAF:main12              Main                                                 439           1   0.0    0.0     0.0    0.0
  solution               Main                                                 641           0   0.0    0.0     0.0    0.0
 CAF:main9               Main                                                 438           1   0.0    0.0     0.0    0.0
  solution               Main                                                 734           0   0.0    0.0     0.0    0.0
 CAF:main23              Main                                                 437           1   0.0    0.0     0.0    0.0
  main                   Main                                                 634           0   0.0    0.0     0.0    0.0
 CAF:main3               Main                                                 436           1   0.0    0.0     0.0    0.0
  main                   Main                                                 747           0   0.0    0.0     0.0    0.0
 CAF:main4               Main                                                 435           1   0.0    0.0     0.0    0.0
  main                   Main                                                 748           0   0.0    0.0     0.0    0.0
 CAF:main5               Main                                                 434           1   0.0    0.0     0.0    0.0
  main                   Main                                                 749           0   0.0    0.0     0.0    0.0
 CAF                     GHC.TopHandler                                       433           1   0.0    0.0     0.0    0.0
 CAF                     GHC.IO.Exception                                     424           4   0.0    0.0     0.0    0.0
 CAF                     Data.Typeable                                        423           2   0.0    0.0     0.0    0.0
 CAF                     GHC.Int                                              392           6   0.0    0.0     0.0    0.0
 CAF                     Data.HashTable                                       382           3   0.0    0.0     0.0    0.0
 CAF                     GHC.IO.Handle.FD                                     364           2   0.0    0.0     0.0    0.0
 CAF                     GHC.IO.Encoding.CodePage                             336           1   0.0    0.0     0.0    0.0
 CAF                     Data.Array.Base                                      325           1   0.0    0.0     0.0    0.0