Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

Save pscollins/fe87bfc06e5e63258a49cd6658e28753 to your computer and use it in GitHub Desktop.
Lton0 -- ../../build/bin/mlton
MLton1 -- ../../build/bin/mlton -pre-flatten-max-iters 1 -pre-flatten-consumer-policy all_unpack -pre-flatten-resolve-policy global -pre-flatten-types-policy con -pre-flatten-recursive-steps 10 -shallow-flatten-max-iters 1
run time ratio
benchmark MLton0 MLton1
barnes-hut 1.00 0.99
boyer 1.00 1.07
checksum 1.00 1.01
count-graphs 1.00 0.93
DLXSimulator 1.00 1.01
even-odd 1.00 1.00
fft 1.00 0.99
fib 1.00 1.00
flat-array 1.00 1.32
hamlet 1.00 1.00
imp-for 1.00 1.00
knuth-bendix 1.00 1.05
lexgen 1.00 1.02
life 1.00 1.00
logic 1.00 1.01
mandelbrot 1.00 1.00
matrix-multiply 1.00 0.99
md5 1.00 1.01
merge 1.00 1.01
mlyacc 1.00 1.03
model-elimination 1.00 1.01
mpuz 1.00 1.00
nucleic 1.00 1.00
output1 1.00 1.01
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.07
smith-normal-form 1.00 0.96
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 0.98
vector32-concat 1.00 0.99
vector64-concat 1.00 1.00
vector-rev 1.00 1.03
vliw 1.00 1.00
wc-input1 1.00 1.02
wc-scanStream 1.00 1.11
zebra 1.00 0.99
zern 1.00 1.00
size
benchmark MLton0 MLton1
barnes-hut 155,175 155,175
boyer 239,013 234,797
checksum 97,949 97,949
count-graphs 122,165 122,309
DLXSimulator 206,205 206,029
even-odd 98,189 98,189
fft 121,090 120,930
fib 98,117 98,117
flat-array 97,853 98,037
hamlet 1,400,701 1,402,317
imp-for 97,813 97,813
knuth-bendix 168,699 170,347
lexgen 282,090 281,538
life 118,565 124,117
logic 188,101 188,101
mandelbrot 96,941 96,941
matrix-multiply 98,965 98,965
md5 144,443 144,435
merge 99,709 99,709
mlyacc 751,498 756,898
model-elimination 800,477 844,965
mpuz 103,957 103,957
nucleic 202,088 202,088
output1 133,391 133,159
peek 100,989 100,989
psdes-random 100,357 100,357
ratio-regions * *
ray 241,742 240,894
raytrace 355,390 355,430
simple 346,375 353,047
smith-normal-form 271,386 271,154
string-concat 99,061 99,061
tailfib 97,637 97,637
tak 98,229 98,229
tensor 163,113 163,273
tsp 141,150 141,150
tyan 216,187 220,339
vector32-concat 98,677 98,677
vector64-concat 98,677 98,677
vector-rev 98,365 98,365
vliw 527,374 523,534
wc-input1 161,472 161,152
wc-scanStream 170,728 170,408
zebra 167,003 167,003
zern 133,032 132,848
compile time
benchmark MLton0 MLton1
barnes-hut 2.61 2.51
boyer 2.54 2.56
checksum 2.04 2.06
count-graphs 2.15 2.15
DLXSimulator 2.73 2.72
even-odd 2.08 2.03
fft 2.07 2.10
fib 2.02 2.04
flat-array 2.01 2.12
hamlet 11.38 11.74
imp-for 2.03 2.03
knuth-bendix 2.36 2.37
lexgen 3.01 3.03
life 2.15 2.11
logic 2.39 2.41
mandelbrot 1.97 2.03
matrix-multiply 2.03 2.04
md5 2.32 2.35
merge 2.01 2.05
mlyacc 7.00 7.33
model-elimination 6.44 6.51
mpuz 2.11 2.12
nucleic 2.55 2.54
output1 2.23 2.21
peek 2.04 2.06
psdes-random 2.06 2.12
ratio-regions * *
ray 2.97 2.96
raytrace 3.69 3.72
simple 3.26 3.47
smith-normal-form 2.62 2.60
string-concat 2.01 2.06
tailfib 2.12 2.02
tak 2.05 2.00
tensor 2.59 2.58
tsp 2.21 2.26
tyan 2.78 2.90
vector32-concat 2.16 2.02
vector64-concat 2.02 2.04
vector-rev 2.06 2.01
vliw 4.79 4.90
wc-input1 2.43 2.53
wc-scanStream 2.60 2.66
zebra 2.63 2.84
zern 2.29 2.24
run time
benchmark MLton0 MLton1
barnes-hut 35.79 35.49
boyer 24.58 26.33
checksum 30.68 31.00
count-graphs 19.14 17.73
DLXSimulator 21.65 21.95
even-odd 14.81 14.83
fft 41.60 41.18
fib 33.82 33.79
flat-array 31.29 41.32
hamlet 30.12 30.10
imp-for 23.77 23.76
knuth-bendix 26.72 27.94
lexgen 18.05 18.43
life 34.22 34.26
logic 29.47 29.87
mandelbrot 35.84 35.94
matrix-multiply 31.03 30.76
md5 35.53 35.77
merge 27.49 27.63
mlyacc 30.55 31.38
model-elimination 30.11 30.46
mpuz 20.82 20.89
nucleic 24.83 24.80
output1 20.26 20.43
peek 28.21 28.12
psdes-random 45.54 45.57
ratio-regions * *
ray 29.68 29.74
raytrace 22.24 22.17
simple 29.78 31.79
smith-normal-form 31.22 30.10
string-concat 6.55 6.57
tailfib 29.32 29.27
tak 34.42 34.52
tensor 45.79 45.81
tsp 46.38 45.94
tyan 26.89 26.42
vector32-concat 11.16 11.09
vector64-concat 10.08 10.06
vector-rev 25.71 26.40
vliw 25.96 25.98
wc-input1 24.45 24.94
wc-scanStream 27.59 30.62
zebra 17.26 17.02
zern 34.70 34.82
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