Skip to content

Instantly share code, notes, and snippets.

@matteosister
Created August 15, 2018 20:50
Show Gist options
  • Save matteosister/892b4a54053288a46e6f68e40cce9603 to your computer and use it in GitHub Desktop.
Save matteosister/892b4a54053288a46e6f68e40cce9603 to your computer and use it in GitHub Desktop.
rm -rf elm-stuff/build-artifacts/ && time sysconfcpus -n 1 ./node_modules/.bin/elm-make elm/Crash.elm
Success! Compiled 260 modules.
Successfully generated index.html
real 1m33.461s
user 1m31.141s
sys 0m2.268s
===================================================================
rm -rf elm-stuff/build-artifacts/ && time sysconfcpus -n 1 ./elm-make --yes +RTS -s -A128M -RTS elm/Crash.elm
Success! Compiled 260 modules.
Successfully generated index.html
91,711,448,184 bytes allocated in the heap
16,449,987,944 bytes copied during GC
149,594,688 bytes maximum residency (108 sample(s))
1,942,256 bytes maximum slop
553 MB total memory in use (0 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max pause
Gen 0 568 colls, 0 par 26.303s 26.296s 0.0463s 0.1651s
Gen 1 108 colls, 0 par 8.373s 8.369s 0.0775s 0.2550s
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.002s ( 0.002s elapsed)
MUT time 37.703s ( 37.713s elapsed)
GC time 34.677s ( 34.665s elapsed)
EXIT time 0.003s ( 0.003s elapsed)
Total time 72.393s ( 72.384s elapsed)
Alloc rate 2,432,483,886 bytes per MUT second
Productivity 52.1% of total user, 52.1% of total elapsed
gc_alloc_block_sync: 0
whitehole_spin: 0
gen[0].sync: 0
gen[1].sync: 0
real 1m12.409s
user 1m12.110s
sys 0m0.301s
===================================================================
rm -rf elm-stuff/build-artifacts/ && time sysconfcpus -n 1 ./elm-make --yes +RTS -s -A128M -n4m -RTS elm/Crash.elm
Success! Compiled 260 modules.
Successfully generated index.html
91,624,867,640 bytes allocated in the heap
16,455,234,320 bytes copied during GC
140,903,168 bytes maximum residency (109 sample(s))
1,858,960 bytes maximum slop
544 MB total memory in use (0 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max pause
Gen 0 567 colls, 0 par 25.993s 25.991s 0.0458s 0.1665s
Gen 1 109 colls, 0 par 8.427s 8.430s 0.0773s 0.2854s
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.002s ( 0.002s elapsed)
MUT time 37.202s ( 37.204s elapsed)
GC time 34.420s ( 34.421s elapsed)
EXIT time 0.003s ( 0.003s elapsed)
Total time 71.630s ( 71.629s elapsed)
Alloc rate 2,462,898,746 bytes per MUT second
Productivity 51.9% of total user, 51.9% of total elapsed
gc_alloc_block_sync: 0
whitehole_spin: 0
gen[0].sync: 0
gen[1].sync: 0
real 1m11.650s
user 1m11.340s
sys 0m0.308s
=========================================================
rm -rf elm-stuff/build-artifacts/ && time ./elm-make --yes +RTS -s -A128M -n8m -H128M -RTS elm/Crash.elm
Success! Compiled 260 modules.
Successfully generated index.html
91,819,426,064 bytes allocated in the heap
2,374,626,056 bytes copied during GC
44,226,656 bytes maximum residency (16 sample(s))
1,099,440 bytes maximum slop
1323 MB total memory in use (0 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max pause
Gen 0 74 colls, 73 par 41.816s 5.381s 0.0727s 0.2785s
Gen 1 16 colls, 16 par 1.883s 0.240s 0.0150s 0.0450s
Parallel GC work balance: 5.32% (serial 0%, perfect 100%)
TASKS: 18 (1 bound, 17 peak workers (17 total), using -N8)
SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
INIT time 0.002s ( 0.002s elapsed)
MUT time 43.583s ( 43.496s elapsed)
GC time 43.699s ( 5.621s elapsed)
EXIT time 0.003s ( 0.002s elapsed)
Total time 87.289s ( 49.121s elapsed)
Alloc rate 2,106,757,040 bytes per MUT second
Productivity 49.9% of total user, 88.7% of total elapsed
gc_alloc_block_sync: 34291
whitehole_spin: 0
gen[0].sync: 6344
gen[1].sync: 11503
real 0m49.165s
user 0m58.724s
sys 0m28.605s
===============================================================
rm -rf elm-stuff/build-artifacts/ && time ./elm-make --yes +RTS -s -A128M -n4m -H128M -RTS elm/Crash.elm
Success! Compiled 260 modules.
Successfully generated index.html
91,965,326,480 bytes allocated in the heap
1,727,854,464 bytes copied during GC
74,566,376 bytes maximum residency (15 sample(s))
1,240,160 bytes maximum slop
1273 MB total memory in use (0 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max pause
Gen 0 72 colls, 71 par 29.424s 3.764s 0.0523s 0.1975s
Gen 1 15 colls, 15 par 1.731s 0.223s 0.0148s 0.0430s
Parallel GC work balance: 6.73% (serial 0%, perfect 100%)
TASKS: 18 (1 bound, 17 peak workers (17 total), using -N8)
SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
INIT time 0.002s ( 0.002s elapsed)
MUT time 44.441s ( 44.336s elapsed)
GC time 31.155s ( 3.987s elapsed)
EXIT time 0.005s ( 0.004s elapsed)
Total time 75.605s ( 48.329s elapsed)
Alloc rate 2,069,367,906 bytes per MUT second
Productivity 58.8% of total user, 92.0% of total elapsed
gc_alloc_block_sync: 35250
whitehole_spin: 0
gen[0].sync: 8904
gen[1].sync: 14976
real 0m48.372s
user 0m55.690s
sys 0m19.956s
==========================================================
rm -rf elm-stuff/build-artifacts/ && time ./elm-make --yes +RTS -s -A256M -n8m -H256M -RTS elm/Crash.elm
Success! Compiled 260 modules.
Successfully generated index.html
91,294,760,664 bytes allocated in the heap
956,755,640 bytes copied during GC
101,843,440 bytes maximum residency (9 sample(s))
1,260,136 bytes maximum slop
2312 MB total memory in use (0 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max pause
Gen 0 35 colls, 34 par 13.339s 1.771s 0.0506s 0.1749s
Gen 1 9 colls, 9 par 1.813s 0.244s 0.0272s 0.0886s
Parallel GC work balance: 11.89% (serial 0%, perfect 100%)
TASKS: 18 (1 bound, 17 peak workers (17 total), using -N8)
SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
INIT time 0.003s ( 0.003s elapsed)
MUT time 45.659s ( 45.537s elapsed)
GC time 15.153s ( 2.016s elapsed)
EXIT time 0.004s ( 0.003s elapsed)
Total time 60.821s ( 47.559s elapsed)
Alloc rate 1,999,473,333 bytes per MUT second
Productivity 75.1% of total user, 96.0% of total elapsed
gc_alloc_block_sync: 33979
whitehole_spin: 0
gen[0].sync: 15065
gen[1].sync: 8834
real 0m47.633s
user 0m51.254s
sys 0m9.640s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment