Skip to content

Instantly share code, notes, and snippets.

@joefiorini
Created February 13, 2018 03:32
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 joefiorini/3f00c6a95731b0db5a78afad7e3476c5 to your computer and use it in GitHub Desktop.
Save joefiorini/3f00c6a95731b0db5a78afad7e3476c5 to your computer and use it in GitHub Desktop.
module Main exposing (..)
type alias Point =
( Int, Int )
printNums =
let
( x1, y1 ) =
( 1, 2 )
( x2, y2 ) =
( 2, 3 )
( x3, y3 ) =
( 3, 4 )
( x4, y4 ) =
( 4, 5 )
( x5, y5 ) =
( 4, 5 )
( x6, y6 ) =
( 4, 5 )
( x7, y7 ) =
( 4, 5 )
( x8, y8 ) =
( 4, 5 )
( x9, y9 ) =
( 4, 5 )
( x10, y10 ) =
( 4, 5 )
( x11, y11 ) =
( 4, 5 )
( x12, y12 ) =
( 4, 5 )
( x13, y13 ) =
( 4, 5 )
( x14, y14 ) =
( 4, 5 )
( x15, y15 ) =
( 4, 5 )
( x16, y16 ) =
( 4, 5 )
( x17, y17 ) =
( 4, 5 )
in
()
@antew
Copy link

antew commented Feb 13, 2018

Some more from the docker container I had, 2 CPUs 2GB ram

benchmark_1  | Original elm-make
benchmark_1  | Success! Compiled 38 modules.
benchmark_1  | Successfully generated index.html
benchmark_1  |    4,595,061,712 bytes allocated in the heap
benchmark_1  |      464,691,824 bytes copied during GC
benchmark_1  |        6,572,792 bytes maximum residency (74 sample(s))
benchmark_1  |          219,832 bytes maximum slop
benchmark_1  |               17 MB total memory in use (0 MB lost due to fragmentation)
benchmark_1  |
benchmark_1  |                                      Tot time (elapsed)  Avg pause  Max pause
benchmark_1  |   Gen  0      8892 colls,  8892 par    4.787s   2.474s     0.0003s    0.0122s
benchmark_1  |   Gen  1        74 colls,    73 par    0.870s   0.448s     0.0061s    0.0208s
benchmark_1  |
benchmark_1  |   Parallel GC work balance: 21.02% (serial 0%, perfect 100%)
benchmark_1  |
benchmark_1  |   TASKS: 6 (1 bound, 5 peak workers (5 total), using -N2)
benchmark_1  |
benchmark_1  |   SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
benchmark_1  |
benchmark_1  |   INIT    time    0.002s  (  0.002s elapsed)
benchmark_1  |   MUT     time    7.709s  (  6.326s elapsed)
benchmark_1  |   GC      time    5.656s  (  2.922s elapsed)
benchmark_1  |   EXIT    time    0.013s  (  0.018s elapsed)
benchmark_1  |   Total   time   13.385s  (  9.268s elapsed)
benchmark_1  |
benchmark_1  |   Alloc rate    596,046,092 bytes per MUT second
benchmark_1  |
benchmark_1  |   Productivity  57.7% of total user, 83.4% of total elapsed
benchmark_1  |
benchmark_1  | gc_alloc_block_sync: 112479
benchmark_1  | whitehole_spin: 0
benchmark_1  | gen[0].sync: 0
benchmark_1  | gen[1].sync: 6652
benchmark_1  |
benchmark_1  | real     0m9.284s
benchmark_1  | user     0m8.750s
benchmark_1  | sys      0m4.640s
benchmark_1  | elm-make with options: -A128m -H128m -n8m
benchmark_1  | Success! Compiled 38 modules.
benchmark_1  | Successfully generated index.html
benchmark_1  |    4,623,976,784 bytes allocated in the heap
benchmark_1  |       36,476,160 bytes copied during GC
benchmark_1  |        2,443,344 bytes maximum residency (11 sample(s))
benchmark_1  |           82,680 bytes maximum slop
benchmark_1  |              267 MB total memory in use (0 MB lost due to fragmentation)
benchmark_1  |
benchmark_1  |                                      Tot time (elapsed)  Avg pause  Max pause
benchmark_1  |   Gen  0        19 colls,    19 par    0.608s   0.331s     0.0174s    0.0527s
benchmark_1  |   Gen  1        11 colls,    10 par    0.290s   0.146s     0.0133s    0.0500s
benchmark_1  |
benchmark_1  |   Parallel GC work balance: 20.38% (serial 0%, perfect 100%)
benchmark_1  |
benchmark_1  |   TASKS: 6 (1 bound, 5 peak workers (5 total), using -N2)
benchmark_1  |
benchmark_1  |   SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
benchmark_1  |
benchmark_1  |   INIT    time    0.004s  (  0.004s elapsed)
benchmark_1  |   MUT     time    4.494s  (  4.515s elapsed)
benchmark_1  |   GC      time    0.898s  (  0.477s elapsed)
benchmark_1  |   EXIT    time    0.001s  (  0.001s elapsed)
benchmark_1  |   Total   time    5.419s  (  4.997s elapsed)
benchmark_1  |
benchmark_1  |   Alloc rate    1,028,872,779 bytes per MUT second
benchmark_1  |
benchmark_1  |   Productivity  83.4% of total user, 90.4% of total elapsed
benchmark_1  |
benchmark_1  | gc_alloc_block_sync: 7422
benchmark_1  | whitehole_spin: 0
benchmark_1  | gen[0].sync: 0
benchmark_1  | gen[1].sync: 0
benchmark_1  |
benchmark_1  | real     0m5.140s
benchmark_1  | user     0m4.830s
benchmark_1  | sys      0m0.700s
benchmark_1  | elm-make with options: -A128m -n8m
benchmark_1  | Success! Compiled 38 modules.
benchmark_1  | Successfully generated index.html
benchmark_1  |    4,627,472,856 bytes allocated in the heap
benchmark_1  |       36,294,600 bytes copied during GC
benchmark_1  |        2,498,896 bytes maximum residency (11 sample(s))
benchmark_1  |           77,104 bytes maximum slop
benchmark_1  |              269 MB total memory in use (0 MB lost due to fragmentation)
benchmark_1  |
benchmark_1  |                                      Tot time (elapsed)  Avg pause  Max pause
benchmark_1  |   Gen  0        19 colls,    19 par    0.504s   0.258s     0.0136s    0.0493s
benchmark_1  |   Gen  1        11 colls,    10 par    0.120s   0.060s     0.0055s    0.0132s
benchmark_1  |
benchmark_1  |   Parallel GC work balance: 22.49% (serial 0%, perfect 100%)
benchmark_1  |
benchmark_1  |   TASKS: 6 (1 bound, 5 peak workers (5 total), using -N2)
benchmark_1  |
benchmark_1  |   SPARKS: 0 (0 converted, 0 overflowed, 0 dud, 0 GC'd, 0 fizzled)
benchmark_1  |
benchmark_1  |   INIT    time    0.016s  (  0.020s elapsed)
benchmark_1  |   MUT     time    3.822s  (  3.809s elapsed)
benchmark_1  |   GC      time    0.624s  (  0.318s elapsed)
benchmark_1  |   EXIT    time    0.001s  (  0.001s elapsed)
benchmark_1  |   Total   time    4.474s  (  4.148s elapsed)
benchmark_1  |
benchmark_1  |   Alloc rate    1,210,597,716 bytes per MUT second
benchmark_1  |
benchmark_1  |   Productivity  85.7% of total user, 92.4% of total elapsed
benchmark_1  |
benchmark_1  | gc_alloc_block_sync: 8498
benchmark_1  | whitehole_spin: 0
benchmark_1  | gen[0].sync: 0
benchmark_1  | gen[1].sync: 971
benchmark_1  |
benchmark_1  | real     0m4.321s
benchmark_1  | user     0m4.090s
benchmark_1  | sys      0m0.540s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment