Benchmarking Java with Richards and Deltablue

Back in 1996, when Java was new, I did some work on benchmarking JVMs. Back then, there were few Java applications to be found that had the properties necessary for a successful benchmark: big enough to exercise a reasonably large part of the language; small enough to run in a reasonable amount of time; easily packaged to run self-contained; easily checked for correct output; and freely available in source form. Further, I wanted to be able to compare the performance of Java implementations with other language implementations, which necessitated having a program that had been ported to a variety of languages.

The Self group at Sun Labs, of which I was a member, used a couple of programs for benchmarking which had these properties and were available in several languages. So, I decided to take the time to rewrite them in Java (and learn some Java into the bargain). These were the Richards and Deltablue programs. After creating the programs and using them for a variety of experiments, I thought it would be valuable to many people, both inside and outside Sun, to have them available, so I undertook the effort to put them on the web as what we now call open source. Because these programs are derived from other programs (by inspection), copyright permission was sought and obtained from all the authors of the versions from which they are derived. (I note that since putting them on the web, nobody, as far as I'm aware, has sought the same permissions in deriving new versions from the ones I wrote. I also note that some of the derivative versions have appeared under licenses which are incompatible with the licensing of the Java versions. So much for respect for copyright.)

After Sun was bought by Oracle, the Sun Labs web site was revamped as the Oracle Labs web site, and the pages which hosted the benchmarks were taken down. They had been part of my personal pages, and the new template for personal pages did not accomodate click-through licensing and downloads.

You can find a copy of the original pages on the Internet Archive; here's the link. However, the archive does not contain the zip files of the sources or class files. Hence, here they are, for completeness. If you care about licenses and copyright, you can find the license terms on the archived web pages. If you choose to download the files linked below, I'll assume that you either accept those terms (whether you've read them or not), or that you're happy to ignore them and will face the consequences if, one day, a large corporation sets its legal team on you. Caveat downloador.

Class files: zip
Source files: zip.


Mario Wolczko
Last modified: 15 Aug 2013