[plt-scheme] A Comment on MzScheme Performance vis-a-vis Web Applications

From: Brent Fulgham (bfulg at pacbell.net)
Date: Sun Jun 11 00:17:46 EDT 2006

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have incorporated Matthew Flatt's many useful updates to the "old  
Doug Bagley" benchmarks, and the differences are substantial.   
MzScheme is often faster than Java, and nearly always uses less  
memory.  When compared to Python, MzScheme wins some and loses sum --  
it seems that string handling may be part of the problem (many of the  
old tests were heavily dependent on string performance).  MzScheme is  
substantially better than Ruby in almost all tests, with the notable  
exception of word counting and word frequency.

"http://shootout.alioth.debian.org/old/benchmark.php? 
test=all&lang=mzscheme&lang2=ruby"

One thing that shocked me was how substantial an improvement could be  
gained simply by wrapping the program in a module declaration.

MzScheme's performance on the newer tests is still pretty bad, but I  
suspect a little review by Eli and Matthew will substantially help in  
these areas.

Thanks for everyone's comments -- it's been a useful learning  
experience for me.

Thanks!

- -Brent
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iD8DBQFEi5lrzGDdrzfvUpURAk8VAJ91MmX15GCfUZdcZSryD+DJFfNVNgCfaN9S
zdvh4RRcKGr/tVZmPAtXqUI=
=eDzQ
-----END PGP SIGNATURE-----


Posted on the users mailing list.