[MLton-devel] -exn-history {false,true} benchmarks

Stephen Weeks MLton@mlton.org
Mon, 26 Aug 2002 10:42:32 -0700


Here are some benchmark results with the 20020825 release.  Only one
benchmark, knuth-bendix, takes a significant performance hit due to
-exn-history true.

MLton0 -- mlton -exn-history false
MLton1 -- mlton -exn-history true

run time ratio
benchmark         MLton1
barnes-hut           1.0
boyer                1.0
checksum             1.1
count-graphs         1.0
DLXSimulator         1.0
fft                  1.0
fib                  1.1
hamlet               1.0
imp-for              0.9
knuth-bendix         1.7
lexgen               1.1
life                 1.1
logic                1.0
mandelbrot           1.0
matrix-multiply      1.1
md5                  1.0
merge                1.0
mlyacc               1.0
mpuz                 1.0
nucleic              1.0
peek                 1.0
psdes-random         1.2
ratio-regions        1.0
ray                  1.0
raytrace             1.0
simple               1.0
smith-normal-form    1.0
tailfib              0.8
tak                  1.0
tensor               1.0
tsp                  1.0
tyan                 1.0
vector-concat        1.0
vector-rev           1.0
vliw                 1.0
wc-input1            1.1
wc-scanStream        1.1
zebra                1.0
zern                 1.0

compile time
benchmark         MLton0 MLton1
barnes-hut           1.5    1.6
boyer                3.3    3.2
checksum             0.4    0.4
count-graphs         1.0    1.1
DLXSimulator         3.0    3.1
fft                  0.8    0.8
fib                  0.3    0.3
hamlet              32.6   34.0
imp-for              0.4    0.4
knuth-bendix         1.3    1.4
lexgen               3.8    3.7
life                 0.8    0.8
logic                1.8    1.8
mandelbrot           0.4    0.4
matrix-multiply      0.4    0.4
md5                  0.7    0.8
merge                0.4    0.4
mlyacc              15.7   15.7
mpuz                 0.5    0.5
nucleic              2.8    2.8
peek                 0.6    0.7
psdes-random         0.4    0.4
ratio-regions        1.4    1.7
ray                  2.1    2.4
raytrace             6.8    7.3
simple               4.3    4.6
smith-normal-form    4.8    5.0
tailfib              0.3    0.3
tak                  0.3    0.4
tensor               2.0    2.0
tsp                  0.9    1.0
tyan                 2.4    2.5
vector-concat        0.4    0.4
vector-rev           0.4    0.4
vliw                 8.0    8.2
wc-input1            1.0    1.1
wc-scanStream        1.0    1.1
zebra                4.2    4.4
zern                 0.6    0.7
run time
benchmark         MLton0 MLton1
barnes-hut           1.9    1.9
boyer                2.7    2.6
checksum             1.6    1.7
count-graphs         1.9    1.9
DLXSimulator        10.8   11.2
fft                  8.2    8.0
fib                  1.5    1.6
hamlet               4.3    4.2
imp-for              3.6    3.2
knuth-bendix         3.4    5.7
lexgen               6.5    6.9
life                 4.1    4.3
logic                9.7    9.7
mandelbrot           3.2    3.2
matrix-multiply      1.1    1.2
md5                  1.0    1.0
merge               27.6   27.5
mlyacc               6.3    6.3
mpuz                 2.5    2.6
nucleic              5.1    5.2
peek                 0.4    0.4
psdes-random         1.7    1.9
ratio-regions        5.2    5.2
ray                  1.6    1.6
raytrace             2.3    2.3
simple               3.2    3.2
smith-normal-form    0.3    0.3
tailfib              6.5    5.2
tak                  4.2    4.2
tensor               1.7    1.7
tsp                  3.0    3.0
tyan                 9.2    9.2
vector-concat        1.6    1.6
vector-rev           2.4    2.4
vliw                 3.3    3.1
wc-input1            1.1    1.2
wc-scanStream        1.3    1.4
zebra                1.2    1.2
zern                19.2   19.4
size
benchmark            MLton0    MLton1
barnes-hut           65,393    73,297
boyer               130,444   133,676
checksum             33,484    34,700
count-graphs         54,444    60,492
DLXSimulator         99,543   111,095
fft                  42,640    45,200
fib                  33,548    34,316
hamlet            1,218,917 1,328,981
imp-for              33,580    34,252
knuth-bendix         76,101    84,005
lexgen              163,762   179,538
life                 51,916    54,316
logic                93,628    95,196
mandelbrot           33,612    34,220
matrix-multiply      34,028    34,988
md5                  42,693    47,941
merge                34,828    35,692
mlyacc              531,298   552,578
mpuz                 37,740    40,812
nucleic              72,620    73,356
peek                 41,733    46,309
psdes-random         34,540    35,500
ratio-regions        52,268    74,284
ray                  94,629   108,261
raytrace            267,650   302,914
simple              191,184   210,544
smith-normal-form   143,141   151,301
tailfib              33,260    33,932
tak                  33,676    34,380
tensor               64,892    73,180
tsp                  49,253    56,133
tyan                 97,333   114,965
vector-concat        33,996    35,404
vector-rev           33,900    34,924
vliw                315,086   338,382
wc-input1            57,858    64,354
wc-scanStream        58,530    65,186
zebra               132,669   141,725
zern                 40,207    42,831


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel