<div dir="ltr"><div>Here's the profiling report:</div><div><br></div><div> 11,371,237,400 bytes allocated in the heap</div><div> 6,880,974,648 bytes copied during GC</div><div> 17,531,336 bytes maximum residency (848 sample(s))</div><div> 4,580,080 bytes maximum slop</div><div> 51 MB total memory in use (5 MB lost due to fragmentation)</div><div><br></div><div> Tot time (elapsed) Avg pause Max pause</div><div> Gen 0 18716 colls, 0 par 0.140s 0.137s 0.0000s 0.0003s</div><div> Gen 1 848 colls, 0 par 4.324s 4.219s 0.0050s 0.0095s</div><div><br></div><div> TASKS: 4 (1 bound, 3 peak workers (3 total), using -N1)</div><div><br></div><div> SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)</div><div><br></div><div> INIT time 0.000s ( 0.001s elapsed)</div><div> MUT time 1.680s ( 1.884s elapsed)</div><div> GC time 4.464s ( 4.356s elapsed)</div><div> RP time 0.000s ( 0.000s elapsed)</div><div> PROF time 0.000s ( 0.000s elapsed)</div><div> EXIT time 0.004s ( 0.000s elapsed)</div><div> Total time 6.280s ( 6.241s elapsed)</div><div><br></div><div> Alloc rate 6,768,593,690 bytes per MUT second</div><div><br></div><div> Productivity 28.9% of total user, 29.1% of total elapsed</div><div><br></div><div>gc_alloc_block_sync: 0</div><div>whitehole_spin: 0</div><div>gen[0].sync: 0</div><div>gen[1].sync: 0</div><div>6.30user 0.10system 0:06.44elapsed 99%CPU (0avgtext+0avgdata 109020maxresident)k</div><div>0inputs+24outputs (0major+41639minor)pagefaults 0swaps</div><div><br></div><div>I've attached a postscript of the heap profile, but that's from running it just now and it's dying on segfault before finishing execution now for...some reason. The above profiling report is from when I originally ran it.</div><div><br></div><div>From the segfault:</div><div><br></div><div><div>56109148054202365158913895741900770318778Command terminated by signal 11</div><div>6.79user 0.08system 0:06.96elapsed 98%CPU (0avgtext+0avgdata 125036maxresident)k</div><div>384inputs+120outputs (9major+44372minor)pagefaults 0swaps</div><div>Makefile:2: recipe for target 'profile' failed</div><div>make: *** [profile] Error 139</div></div><div><br></div><div>The numbers are from it trying to finish printing the result.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 4, 2016 at 2:21 PM, Joachim Breitner <span dir="ltr"><<a href="mailto:mail@joachim-breitner.de" target="_blank">mail@joachim-breitner.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
Am Montag, den 04.01.2016, 08:26 -0600 schrieb Christopher Allen:<br>
> I can't get the two examples (sum/product) in:<br>
><br>
> <a href="https://wiki.haskell.org/Memory_leak#Holding_a_reference_for_a_too_lo" rel="noreferrer" target="_blank">https://wiki.haskell.org/Memory_leak#Holding_a_reference_for_a_too_lo</a><br>
> ng_time<br>
><br>
> to behave differently under O2 or O0.<br>
><br>
> Same profile report each time.<br>
<br>
</span>do you observe the leaking or the non-leaking behavior?<br>
<br>
Gruß,<br>
Joachim<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Joachim “nomeata” Breitner<br>
<a href="mailto:mail@joachim-breitner.de">mail@joachim-breitner.de</a> • <a href="http://www.joachim-breitner.de/" rel="noreferrer" target="_blank">http://www.joachim-breitner.de/</a><br>
Jabber: <a href="mailto:nomeata@joachim-breitner.de">nomeata@joachim-breitner.de</a> • GPG-Key: 0xF0FBF51F<br>
Debian Developer: <a href="mailto:nomeata@debian.org">nomeata@debian.org</a><br>
<br>
</font></span><br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Chris Allen<br><div><span style="font-size:12.8000001907349px">Currently working on </span><a href="http://haskellbook.com" target="_blank">http://haskellbook.com</a></div></div></div></div></div></div>
</div>