[MLton-devel] benchmarks vs 2002-04-26

Stephen Weeks MLton@mlton.org
Fri, 12 Jul 2002 12:23:46 -0700


I ran benchmarks last light to compare mlton-2002-04-26 with the
current CVS version (not including -native-shuffle).  Everything looks
good.  No major slowdowns, speedups, or code size changes.

Alain, I'll package up some rpms over the weekend so you can start
trying your stuff with the new GC.


MLton0 -- /usr/local/bin/mlton 
MLton1 -- mlton 

compile time
benchmark         MLton0 MLton1
barnes-hut           1.4    1.4
boyer                3.1    3.2
checksum             0.4    0.4
count-graphs         1.0    1.0
DLXSimulator         2.7    2.6
fft                  0.8    0.8
fib                  0.4    0.4
hamlet              28.6   27.8
imp-for              0.4    0.4
knuth-bendix         1.2    1.2
lexgen               3.4    3.3
life                 0.8    0.8
logic                1.7    1.7
mandelbrot           0.4    0.4
matrix-multiply      0.5    0.4
md5                  0.7    0.7
merge                0.4    0.4
mlyacc              13.2   13.0
mpuz                 0.5    0.5
nucleic              3.5    3.6
peek                 0.6    0.6
psdes-random         0.4    0.4
ratio-regions        1.4    1.5
ray                  2.1    2.1
raytrace             5.8    5.9
simple               4.3    4.3
smith-normal-form    4.3    4.6
tailfib              0.4    0.4
tak                  0.4    0.4
tensor               1.9    1.9
tsp                  0.9    0.9
tyan                 2.1    2.2
vector-concat        0.4    0.4
vector-rev           0.4    0.4
vliw                 6.8    7.0
wc-input1            1.0    1.0
wc-scanStream        1.0    1.0
zebra                3.3    3.7
zern                 0.7    0.7

run time
benchmark         MLton0 MLton1
barnes-hut           1.8    1.8
boyer                2.6    2.1
checksum             1.6    1.6
count-graphs         1.8    1.8
DLXSimulator         8.7   10.0
fft                  9.1    8.7
fib                  1.7    1.5
hamlet               3.8    3.9
imp-for              3.5    3.5
knuth-bendix         3.3    3.5
lexgen               7.7    7.1
life                 2.8    3.0
logic                9.4    9.8
mandelbrot           3.2    3.5
matrix-multiply      0.9    1.1
md5                  1.0    1.0
merge               28.4   30.3
mlyacc               6.0    5.9
mpuz                 2.5    2.5
nucleic              4.5    4.3
peek                 0.4    0.5
psdes-random         1.7    1.8
ratio-regions          *    5.1
ray                  1.5    1.6
raytrace             2.3    2.3
simple               3.3    3.2
smith-normal-form    0.4    0.3
tailfib              5.3    6.5
tak                  3.9    4.3
tensor               1.6    1.6
tsp                  3.1    3.0
tyan                 8.8    8.7
vector-concat        1.5    1.6
vector-rev           2.5    2.5
vliw                 3.0    3.2
wc-input1            1.2    1.3
wc-scanStream        1.3    1.6
zebra                1.0    1.0
zern                22.5   20.8

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

size
benchmark            MLton0    MLton1
barnes-hut           57,843    62,304
boyer               119,549   124,266
checksum             23,909    30,762
count-graphs         44,997    50,306
DLXSimulator         88,560    93,053
fft                  33,665    39,838
fib                  23,909    30,794
hamlet            1,104,304 1,089,851
imp-for              23,893    30,810
knuth-bendix         65,278    70,467
lexgen              151,581   152,040
life                 40,389    46,842
logic                80,965    87,362
mandelbrot           23,981    30,866
matrix-multiply      24,501    31,330
md5                  33,502    39,523
merge                25,149    31,978
mlyacc              467,021   462,056
mpuz                 28,325    34,794
nucleic              62,957    69,538
peek                 32,478    38,523
psdes-random         25,229    31,874
ratio-regions        43,509    49,170
ray                  85,792    87,963
raytrace            237,709   237,976
simple              181,329   183,942
smith-normal-form   138,439   140,156
tailfib              23,605    30,490
tak                  24,045    30,930
tensor               57,382    61,139
tsp                  38,838    45,011
tyan                 85,774    88,667
vector-concat        24,757    31,306
vector-rev           24,677    31,186
vliw                298,665   295,316
wc-input1            49,566    53,744
wc-scanStream        50,510    54,456
zebra               109,718   116,171
zern                 31,424    37,381


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel