encyclopegia.org

Dhrystone

Dhrystone is a synthetic computing benchmark program developed in 1984 by Reinhold P.[src] Weicker intended to be representative of system (integer) programming.[src] The Dhrystone grew to become representative of general processor (CPU) performance.[src] The name "Dhrystone" is a pun on a different benchmark algorithm called Whetstone, which emphasizes floating point performance.[src] With Dhrystone, Weicker gathered meta-data from a broad range of software, including programs written in FORTRAN, PL/1, SAL, ALGOL 68, and Pascal.[src] He then characterized these programs in terms of various common constructs: procedure calls, pointer indirections, assignments, etc.[src] From this he wrote the Dhrystone benchmark to correspond to a representative mix.[src] Dhrystone was published in Ada, with the C version for Unix developed by Rick Richardson ("version 1.1") greatly contributing to its popularity.[src]

Dhrystone is a synthetic computing benchmark program developed in 1984 by Reinhold P.[src] Weicker intended to be representative of system (integer) programming.[src] The Dhrystone grew to become representative of general processor (CPU) performance.[src] The name "Dhrystone" is a pun on a different benchmark algorithm called Whetstone, which emphasizes floating point performance.[src] With Dhrystone, Weicker gathered meta-data from a broad range of software, including programs written in FORTRAN, PL/1, SAL, ALGOL 68, and Pascal.[src] He then characterized these programs in terms of various common constructs: procedure calls, pointer indirections, assignments, etc.[src] From this he wrote the Dhrystone benchmark to correspond to a representative mix.[src] Dhrystone was published in Ada, with the C version for Unix developed by Rick Richardson ("version 1.1") greatly contributing to its popularity.[src] ==Issues addressed by Dhrystone== Dhrystone's eventual importance as an indicator of general-purpose ("integer") performance of new computers made it a target for commercial compiler writers.[src] Various modern compiler static code analysis techniques (such as elimination of dead code: for example, code which uses the processor but produces internal results which are not used or output) make the use and design of synthetic benchmarks more difficult.[src] Version 2.0 of the benchmark, released by Weicker and Richardson in March 1988, had a number of changes intended to foil a range of compiler techniques.[src] Yet it was carefully crafted so as not to change the underlying benchmark.[src] This effort to foil compilers was only partly successful.[src] Dhrystone 2.1, released in May of the same year, had some minor changes and remains the current definition of Dhrystone.[src] Other than issues related to compiler optimization, various other issues have been cited with the Dhrystone.[src] Most of these, including the small code size and small data set size, were understood at the time of its publication in 1984.[src] More subtle is the slight over-representation of string operations, which is largely language-related: both Ada and Pascal have strings as normal variables in the language, whereas C does not, so what was simple variable assignment in reference benchmarks became buffer copy operations in the C library.[src] Another issue is that the score reported does not include information which is critical when comparing systems such as which compiler was used, and what optimizations.[src] Dhrystone remains remarkably resilient as a simple benchmark, but its continuing value in establishing true performance is questionable.[src] It is easy to use, well documented, fully self-contained, well understood, and can be made to work on almost any system.[src] In particular, it has remained in broad use in the embedded computing world, though the recently developed EEMBC benchmark suite, the CoreMark standalone benchmark, HINT, Stream, and even Bytemark are widely quoted and used, as well as more specific benchmarks for the memory subsystem (Cachebench), TCP/IP (TTCP), and many others.[src] ==Shortcomings== Using Dhrystone as a benchmark has pitfalls: It features unusual code that is not usually representative of modern programs.[src] It is susceptible to compiler optimizations.[src] For example, it does a lot of string copying in an attempt to measure string copying performance.[src] However, the strings in Dhrystone are of known constant length and their starts are aligned on natural boundaries, two characteristics usually absent from real programs.[src] Therefore, an optimizer can replace a string copy with a sequence of word moves without any loops, which will be much faster.[src] This optimization consequently overstates system performance, sometimes by more than 30%.[src] Dhrystone's small code size may fit in the instruction cache of a modern CPU, so that instruction fetch performance is not rigorously tested.[src] Similarly, Dhrystone may also fit completely in the data cache, thus not exercising data cache miss performance.[src] To counter fits-in-the-cache problem, the SPECint benchmark was created in 1988 to include a suite of (initially 8) much larger programs (including a compiler) which could not fit into L1 or L2 caches of that era.[src] ==See also== Standard Performance Evaluation Corporation (SPEC) Geekbench ==References== ==External links== Dhrystone Benchmark: Rationale for Version 2 and Measurement Rules (Reinhold P.[src] Weicker, 1988) DHRYSTONE Benchmark Program (Reinhold P.[src] Weicker, 1995)[src]

41 sentences · 41 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Dhrystone." encyclopegia.org, 2026, https://encyclopegia.org/wiki/dhrystone. Accessed 29 November 2026.

Chicago

"Dhrystone." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/dhrystone.

APA

encyclopegia.org. (2026). Dhrystone. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/dhrystone

Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date1988Wikipedia
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1341855033 · 0.55 · snapshot dhrystone-140335-2d86b55aaa3f3d06 · QID Q1207761

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.