Skip to content

Dhrystone results

ict edited this page Dec 18, 2018 · 18 revisions

This page stores various results obtained from running the Dhrystone benchmark included in this package. Bold text indicates the best result from a given compiler.

Jump to: Workstations

Workstations

HP VISUALIZE C3000 (9000/785/C3000)

A mid-range Unix workstation released in 1999, based on HP's indigenous PA-8500 microprocessor with 1 MiB of on-die data cache, 512 KiB of on-die instruction cache and a clock frequency of 400 MHz. All tests are performed under HP-UX 11.11 (11i v1) on a system not specifically configured for benchmarking.

The differences in performance between Dhrystone run with and without register variables is minimal, likely due to the PA-8500's large number of general-purpose registers (32 general-purpose and 32 floating-point) and fast, spacious on-die caches.

HP C B.11.11.16: 50,000,000 loops, without register variables

Options Dhrystones/second VAX MIPS
none 442,477.9 251.8
+O1 666,666.7 379.4
+O2 1,000,000 569.2
+O3 1,282,051.3 729.7
+O4 1,851,851.9 1,054
-fast 1,470,588.2 837

HP C B.11.11.16: 50,000,000 loops, with register variables

Options Dhrystones/second VAX MIPS
none 495,049.5 281.8
+O1 657,894.7 374.4
+O2 1,000,000 569.2
+O3 1,282,051.3 729.7
+O4 1,785,714.3 1,016.3
-fast 1,470,588.2 837

Note: HP C +O2 is roughly equivalent to GCC -O1

GCC 4.2.3: 50,000,000 loops, without register variables

Options Dhrystones/second VAX MIPS
none 431,034.5 245.3
-O1 806,451.6 459
-O2 833,333.3 474.3
-O3 1,136,363.6 646.8
-O3 -ffast-math 1,136,363.6 646.8

GCC 4.2.3: 50,000,000 loops, with register variables

Options Dhrystones/second VAX MIPS
none 438,596.5 249.6
-O1 781,250.0 444.6
-O2 806,451.6 459
-O3 1,162,790.7 661.8
-O3 -ffast-math 1,162,790.7 661.8

Note: -Ofast is only available in GCC >=4.7

Clone this wiki locally