The Whetstone benchmark is a synthetic benchmark for evaluating the performance of computers. It was first written in Algol 60 in 1972 at TSU (The Technical Support Unit of the Department of Trade and Industry - later part of the Central Computer and Telecommunications Agency or CCTA in the United Kingdom). It was derived from statistics on program behaviour gathered on the KDF9 computer at NPL National Physical Laboratory in the United Kingdom, using a modified version of its Whetstone ALGOL 60 compiler. The workload on the machine was represented as a set of frequencies of execution of the 124 instructions of the Whetstone Code. The Whetstone Compiler was built at the Atomic Power Division of the English Electric Company in Whetstone, Leicestershire, England, hence its name. Dr. B.A. Wichman at NPL produced a set of 42 simple ALGOL 60 statements, which in a suitable combination matched the execution statistics.
To make a more practical benchmark Harold Curnow of TSU wrote a program incorporating the 42 statements. This program worked in its ALGOL 60 version, but when translated into FORTRAN it was not executed correctly by the IBM optimizing compiler. Calculations whose results were not output were omitted. He then produced a set of program fragments which were more like real code and which collectively matched the original 124 Whetstone instructions. Timing this program gave a measure of the machine’s speed in thousands of Whetstone instructions per second (kWips) The Fortran version became the first general purpose benchmark that set industry standards of computer system performance. Further development was carried out by Roy Longbottom, also of TSU/CCTA, who became the official design authority. The ALGOL 60 program ran under the Whetstone compiler in July 2010, for the first time since the last KDF9 was shut down in 1980, but now executed by a KDF9 emulator.
Following increased computer speeds, performance measurement was changed to Millions of Whetstone Instructions Per Second (MWIPS). The original results on numerous minicomputers, mainframes and supercomputers are available in Whetstone Benchmark History and Results. This also shows original system costs and year of manufacture. For comparison purposes, a summary of results on PCs is also provided, including a table showing the relative efficiency of various programming languages. Detailed results on PCs are also available, showing speeds of the different test functions.
Source code and pre-compiled versions for PCs in C/C++, Basic, Visual Basic, Fortran and Java are available in Roy Longbottom's PC Benchmark Collection (Free). Compiled codes include those to run via DOS, OS/2 plus 32 bit and 64 bit Windows.
- Curnow, H.J. and Wichman, B.A. "A Synthetic Benchmark" Computer Journal, Volume 19, Issue 1, February 1976., p. 43-49.
- Randell, B. and Russell, L.J. "Algol 60 Implementation" London: Academic Press, 1964. ISBN 0-12-578150-4.