Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save pscollins/d45b32beff63556c488cc55e92bec8c9 to your computer and use it in GitHub Desktop.

Select an option

Save pscollins/d45b32beff63556c488cc55e92bec8c9 to your computer and use it in GitHub Desktop.
MLton0 -- ../../build/bin/mlton
MLton1 -- ../../build/bin/mlton -shallow-flatten-max-iters 1
run time ratio
benchmark MLton0 MLton1
barnes-hut 1.00 1.01
boyer 1.00 1.01
checksum 1.00 1.00
count-graphs 1.00 1.00
DLXSimulator 1.00 1.00
even-odd 1.00 1.00
fft 1.00 0.99
fib 1.00 1.00
flat-array 1.00 1.04
hamlet 1.00 0.98
imp-for 1.00 1.00
knuth-bendix 1.00 1.00
lexgen 1.00 0.99
life 1.00 1.00
logic 1.00 1.02
mandelbrot 1.00 1.00
matrix-multiply 1.00 1.00
md5 1.00 1.00
merge 1.00 0.99
mlyacc 1.00 0.96
model-elimination 1.00 1.00
mpuz 1.00 1.00
nucleic 1.00 1.00
output1 1.00 0.99
peek 1.00 1.00
psdes-random 1.00 1.00
ratio-regions * *
ray 1.00 1.00
raytrace 1.00 1.00
simple 1.00 1.01
smith-normal-form 1.00 1.03
string-concat 1.00 1.00
tailfib 1.00 1.00
tak 1.00 1.00
tensor 1.00 1.00
tsp 1.00 0.99
tyan 1.00 1.00
vector32-concat 1.00 1.00
vector64-concat 1.00 1.00
vector-rev 1.00 1.00
vliw 1.00 1.00
wc-input1 1.00 1.00
wc-scanStream 1.00 0.99
zebra 1.00 1.00
zern 1.00 1.00
size
benchmark MLton0 MLton1
barnes-hut 155,175 155,175
boyer 239,013 239,013
checksum 97,949 97,949
count-graphs 122,165 122,165
DLXSimulator 206,205 206,205
even-odd 98,189 98,189
fft 121,090 121,090
fib 98,117 98,117
flat-array 97,853 98,037
hamlet 1,400,701 1,401,621
imp-for 97,813 97,813
knuth-bendix 168,699 168,699
lexgen 282,090 282,090
life 118,565 118,565
logic 188,101 188,101
mandelbrot 96,941 96,941
matrix-multiply 98,965 98,965
md5 144,443 144,443
merge 99,709 99,709
mlyacc 751,498 755,986
model-elimination 800,477 800,477
mpuz 103,957 103,957
nucleic 202,088 202,088
output1 133,391 133,391
peek 100,989 100,989
psdes-random 100,357 100,357
ratio-regions * *
ray 241,742 241,742
raytrace 355,390 355,670
simple 346,375 350,759
smith-normal-form 271,386 271,386
string-concat 99,061 99,061
tailfib 97,637 97,637
tak 98,229 98,229
tensor 163,113 163,113
tsp 141,150 141,150
tyan 216,187 217,307
vector32-concat 98,677 98,677
vector64-concat 98,677 98,677
vector-rev 98,365 98,365
vliw 527,374 527,374
wc-input1 161,472 161,472
wc-scanStream 170,728 170,728
zebra 167,003 167,003
zern 133,032 133,032
compile time
benchmark MLton0 MLton1
barnes-hut 2.31 2.30
boyer 2.40 2.37
checksum 1.95 1.87
count-graphs 2.04 2.04
DLXSimulator 2.53 2.55
even-odd 1.90 1.89
fft 2.00 2.01
fib 1.95 1.87
flat-array 1.90 1.88
hamlet 11.27 11.05
imp-for 1.91 1.96
knuth-bendix 2.25 2.24
lexgen 2.92 2.89
life 1.93 1.95
logic 2.27 2.38
mandelbrot 1.86 1.91
matrix-multiply 1.88 1.95
md5 2.18 2.19
merge 1.95 1.90
mlyacc 6.79 6.97
model-elimination 6.03 6.01
mpuz 1.91 1.95
nucleic 2.33 2.32
output1 2.03 2.04
peek 1.92 1.90
psdes-random 1.90 1.90
ratio-regions * *
ray 2.67 2.74
raytrace 3.32 3.31
simple 2.92 3.00
smith-normal-form 2.41 2.47
string-concat 1.93 1.93
tailfib 1.86 1.93
tak 1.92 1.85
tensor 2.37 2.39
tsp 2.08 2.06
tyan 2.58 2.66
vector32-concat 1.91 1.90
vector64-concat 1.90 1.91
vector-rev 1.84 1.87
vliw 4.55 4.59
wc-input1 2.24 2.35
wc-scanStream 2.33 2.35
zebra 2.39 2.36
zern 2.04 2.04
run time
benchmark MLton0 MLton1
barnes-hut 35.88 36.38
boyer 26.10 26.42
checksum 34.36 34.35
count-graphs 21.72 21.68
DLXSimulator 21.73 21.80
even-odd 35.90 35.80
fft 35.08 34.90
fib 40.23 40.20
flat-array 41.55 43.13
hamlet 33.69 33.04
imp-for 26.08 26.09
knuth-bendix 28.53 28.49
lexgen 23.17 22.98
life 29.90 29.88
logic 32.29 32.79
mandelbrot 45.91 45.88
matrix-multiply 40.30 40.34
md5 39.89 39.88
merge 28.61 28.37
mlyacc 31.25 30.02
model-elimination 33.85 33.81
mpuz 23.65 23.63
nucleic 28.46 28.47
output1 32.03 31.78
peek 31.89 31.81
psdes-random 51.43 51.47
ratio-regions * *
ray 35.00 35.09
raytrace 23.50 23.49
simple 29.92 30.07
smith-normal-form 29.38 30.36
string-concat 8.58 8.59
tailfib 32.26 32.24
tak 41.22 41.21
tensor 52.06 52.06
tsp 49.55 49.27
tyan 30.46 30.52
vector32-concat 13.57 13.51
vector64-concat 11.52 11.50
vector-rev 28.54 28.62
vliw 28.82 28.86
wc-input1 25.73 25.81
wc-scanStream 30.99 30.83
zebra 22.18 22.28
zern 37.28 37.39
The following benchmarks failed completely.
ratio-regions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment