Java benchmarking article

This webpage contains extra material for the Robust Java benchmarking series of articles (Part 1: Issues and Part 2: Statistics and solutions) which were published at IBM developerWorks.

Article supplement

Augmenting the original text is some highly specialized documentation that I have placed into an article supplement. These formats are available:

If anyone knows of a free open source way to convert Microsoft Word 2007 documents to an open format which would preserve the equations in MathML as well as leave hyperlinks working, please email me. I am aware of Microsoft's pdf convertor add-on, but that requires a valid copy of MS Office which I no longer have. I am also aware that OpenOffice 3 can allegedly import from/export to MS Office 2007, however, when I tried to open my docx file with Open Office 3.1 on 2009-05-18, it garbled all of the equations.

Java code

The following may be downloaded:

benchmarking framework: projectLibrary.zip
last modified: 2009-05-07
No major changes to Benchmark.java,
however, many changes to other classes in the library...
projectLibrary_asPublished.zip
last modified: 2008-07-23
This is a version from around when the article was published
article code listings: projectArticle.zip
last modified: 2009-05-07
Noteworthy changes:
  1. N08_Part2_DataStructureAccess.java (latest results)
  2. N14_Extra_DataStructureIteration.java (new results)
projectArticle_asPublished.zip
last modified: 2008-07-06
This is a version from around when the article was published

Notes:

  1. to run the code listings from the article, must first download the benchmarking framework
  2. warning: all the text files in both downloads should be proper text files (that is, use unix '\n' line ends). So, if you are a Windows user, you will need a decent text editor to read them (NotePad/WordPad may not cut it; I highly recommend TextPad)
  3. if you download the projectArticle.zip and want to find all the new results since publication of the article, consult the .../results/newResults directory; each new result should have its own dedicated subdirectory there with a readMe.txt file that explains more

Errata

  1. the Data-structure access times section of the article mentioned that TreeMap is the slowest of the common data structures. Apache Harmony, however, has recently managed to speed up this class, so this conclusion may change in the future.

Please address comments and suggestions concerning this website to ellipticgroupinc@gmail.com
Copyright © 2008 Brent Boyer. All rights reserved.