Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thoughtpolice/804dd8e0026bb0fd864836bdd9caec73 to your computer and use it in GitHub Desktop.
Save thoughtpolice/804dd8e0026bb0fd864836bdd9caec73 to your computer and use it in GitHub Desktop.
aseipp@ubuntu:~/t$ ghc -O2 Naperian.hs -fforce-recomp +RTS -s
[1 of 1] Compiling Naperian ( Naperian.hs, Naperian.o )
2,109,198,400 bytes allocated in the heap
361,254,792 bytes copied during GC
62,051,712 bytes maximum residency (10 sample(s))
2,566,416 bytes maximum slop
140 MB total memory in use (0 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max pause
Gen 0 238 colls, 0 par 0.631s 0.631s 0.0027s 0.0210s
Gen 1 10 colls, 0 par 0.340s 0.343s 0.0343s 0.1271s
TASKS: 4 (1 bound, 3 peak workers (3 total), using -N1)
SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
INIT time 0.001s ( 0.001s elapsed)
MUT time 1.966s ( 1.999s elapsed)
GC time 0.971s ( 0.974s elapsed)
EXIT time 0.023s ( 0.023s elapsed)
Total time 2.979s ( 2.997s elapsed)
Alloc rate 1,072,703,199 bytes per MUT second
Productivity 67.4% of total user, 67.5% of total elapsed
gc_alloc_block_sync: 0
whitehole_spin: 0
gen[0].sync: 0
gen[1].sync: 0
aseipp@ubuntu:~/t$ /opt/ghc/8.2.1/bin/ghc -O2 Naperian.hs -fforce-recomp +RTS -s
[1 of 1] Compiling Naperian ( Naperian.hs, Naperian.o )
2,475,231,864 bytes allocated in the heap
473,509,528 bytes copied during GC
74,218,184 bytes maximum residency (10 sample(s))
574,776 bytes maximum slop
159 MB total memory in use (0 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max pause
Gen 0 234 colls, 0 par 0.826s 0.825s 0.0035s 0.0195s
Gen 1 10 colls, 0 par 0.391s 0.392s 0.0392s 0.1343s
TASKS: 4 (1 bound, 3 peak workers (3 total), using -N1)
SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
INIT time 0.001s ( 0.000s elapsed)
MUT time 2.424s ( 2.455s elapsed)
GC time 1.217s ( 1.217s elapsed)
EXIT time 0.001s ( 0.008s elapsed)
Total time 3.642s ( 3.681s elapsed)
Alloc rate 1,021,307,351 bytes per MUT second
Productivity 66.6% of total user, 66.9% of total elapsed
gc_alloc_block_sync: 0
whitehole_spin: 0
gen[0].sync: 0
gen[1].sync: 0
aseipp@ubuntu:~/t$ ghc -O2 Naperian.hs -fforce-recomp +RTS -s -A1G
[1 of 1] Compiling Naperian ( Naperian.hs, Naperian.o )
2,116,522,768 bytes allocated in the heap
48,696,096 bytes copied during GC
7,569,968 bytes maximum residency (1 sample(s))
2,232,264 bytes maximum slop
1117 MB total memory in use (2 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max pause
Gen 0 1 colls, 0 par 0.131s 0.131s 0.1307s 0.1307s
Gen 1 1 colls, 0 par 0.020s 0.020s 0.0198s 0.0198s
TASKS: 4 (1 bound, 3 peak workers (3 total), using -N1)
SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
INIT time 0.009s ( 0.009s elapsed)
MUT time 2.703s ( 2.736s elapsed)
GC time 0.151s ( 0.151s elapsed)
EXIT time 0.020s ( 0.020s elapsed)
Total time 2.901s ( 2.916s elapsed)
Alloc rate 783,116,174 bytes per MUT second
Productivity 94.5% of total user, 94.5% of total elapsed
gc_alloc_block_sync: 0
whitehole_spin: 0
gen[0].sync: 0
gen[1].sync: 0
aseipp@ubuntu:~/t$ /opt/ghc/8.2.1/bin/ghc -O2 Naperian.hs -fforce-recomp +RTS -s -A1G
[1 of 1] Compiling Naperian ( Naperian.hs, Naperian.o )
2,472,292,544 bytes allocated in the heap
126,546,712 bytes copied during GC
7,179,816 bytes maximum residency (1 sample(s))
123,352 bytes maximum slop
1174 MB total memory in use (0 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max pause
Gen 0 2 colls, 0 par 0.370s 0.369s 0.1845s 0.2127s
Gen 1 1 colls, 0 par 0.011s 0.011s 0.0110s 0.0110s
TASKS: 4 (1 bound, 3 peak workers (3 total), using -N1)
SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
INIT time 0.009s ( 0.009s elapsed)
MUT time 3.004s ( 3.034s elapsed)
GC time 0.381s ( 0.380s elapsed)
EXIT time 0.000s ( 0.006s elapsed)
Total time 3.394s ( 3.429s elapsed)
Alloc rate 823,047,637 bytes per MUT second
Productivity 88.5% of total user, 88.7% of total elapsed
gc_alloc_block_sync: 0
whitehole_spin: 0
gen[0].sync: 0
gen[1].sync: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment