IT lexicon › Hardware › Dhrystone

Dhrystone

Hardware På svenska → Updated: 2026-11-04

A synthetic integer benchmark from 1984 that still supplies the DMIPS figure on datasheets, even though everyone knows it mostly measures the compiler.

Reinhold Weicker wrote Dhrystone in 1984 as an integer counterpart to the floating-point Whetstone test — hence the pun. It mixes assignments, function calls and string operations in proportions meant to resemble typical systems code of the day. Results are quoted in DMIPS: Dhrystone iterations per second divided by 1757, the score of a VAX 11/780.

The problems were obvious early. The code is small enough to fit in any cache, string copies dominate, and clever compilers can optimise large parts of it away. Microcontroller vendors kept printing DMIPS/MHz well into the 2010s anyway. CoreMark, released in 2009, was written explicitly to replace it.

← Back to the lexicon