From WTFwiki
Revision as of 08:13, 25 September 2008 by Stian (talk | contribs) (Wohoo)
Jump to navigation Jump to search

Easier to maintain here, so:

Some results of "rocket 0.00001 159.0":

See gcc --target-help for some system specific flags.

Note that this program wasn't really intended to be a benchmark, but it's a typical piece of code that seems CPU bound enough to provide a good idea of what the CPU can really do. If it reports a final altitude of 0.00m, you're doing it wrong. You should get something like 112317.72m.

        PC (plan9)
        AMD64 X2 4200+ running Linux 2.6.22-14-generic 32 bit
1.37s   gcc -O3 -funroll-loops -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -funsafe-math-optimizations -ffast-math
1.55s   icc -fp-model fast=2 -msse2 -O3 -funroll-loops
        PC (ghostn9e)
1.38s   Intel Q6600 running Linux 2.6.24
        gcc -O3 -funroll-loops -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -funsafe-math-optimizations
        PC (jontow)
        Intel Core2duo 1.6ghz running Linux 2.6.25-gentoo-r7 32-bit
2.21s   gcc-4.1.2 -O3 -pipe -funroll-loops -funsafe-math-optimizations -march=i686 -finline -msse2
4.33s   gcc-3.3.6 -O3 -pipe -funroll-loops -funsafe-math-optimizations -march=i686 -finline -msse2
        PC (fernandotcl)
2.28s   AMD Sempron(tm) Processor 2800+ @ 1.6GHz 2.6.24-16-generic 32-bit
        gcc -03 -finline -funroll-loops -mmmx -msse -msse2 -msse3
        Sun Fire x4100 (jontow)
3.25s   AMD Opteron(tm) 2216 (2 * dual-core 2.4GHz) 32 bit
        gcc -O3 -funroll-loops -mmmx -msse -msse2 -msse3 -funsafe-math-optimizations
        PC (SanityInFlux)
        Pentium III (Coppermine) 1gHz Linux
3.81s   gcc-4.1.2 -march=pentium3 -O3 -pipe -funroll-loops -funsafe-math-optimizations
5.34s   icc -fp-model fast=2
7.45s   sunstudio12/bin/cc -lm -fast -fstore
7.72s   gcc-3.3.6 -march=pentium3 -O3 -pipe -funroll-loops -finline -fomit-frame-pointer -lm
        Apple PowerBook G4 12" (Vagabond)
5.5s    Apple G4 1.0 GHz running MacOS X 10.4.11
        gcc -funroll-loops -mtune=powerpc -m32 -O3
        IBM RS/6000 44P-170 (plan9)
5.89s   POWER3 400 MHz running AIX 5.3 64 bit
        gcc -mtune=power3 -mcpu=power3 -O3 -funroll-loops -funsafe-math-optimizations -fomit-frame-pointer -mmultiple -mmfcrf
        Weird rackmountable PC (jontow)
8.0s    Pentium 3/855 running FreeBSD 6.2
        gcc -O3 -mtune=i686 -funroll-loops -finline -mmmx -msse
        Dell PowerEdge somethingorother tower (jontow)
10.3s   Pentium 3/550mhz running FreeBSD 6.3
        gcc -O3 -mtune=i686 -funroll-loops -finline -mmmx -msse
        Digital Personal Workstation 500au (Vagabond)
10.57s  DEC Alpha EV56 500 MHz running NetBSD 4.0
        gcc -O3 -mcpu=ev56 -funroll-loops -mno-soft-float
        Sun Ultra 60 (plan9)
        Dual Sun UltraSPARC-IIi 450 MHz running Solaris 10
10.7s   suncc -m32 -O4 -fns -fsingle -fsimple=2 -xprofile=use:rocket3 -xlinkopt=2 -xautopar -xpagesize=8K
11.3s   suncc -m32 -O5 -Xc -xprofile=use:rocket3 -xlinkopt
13.4s   gcc -O3 -mcpu=ultrasparc -m64 -funroll-loops -mvis -mrelax
        SGI Octane (Vagabond)
10.8s   MIPS R12000 300 MHz running IRIX64 6.5.29
        gcc ...
        Sun Ultra 80 (Vagabond)
13.8s   Sun UltraSparc-IIi 450 MHz running Solaris 10
        gcc -funroll-loops -mcpu=ultrasparc -O3
        HP 9000 C3600
14.5s   HP PA-8600 552 MHz running OpenBSD 4.3
        gcc -march=2.0 -mpa-risc-2-0 -O3 -funroll-loops
        Sun Netra T1/105 (jontow)
19.5s   Sun UltraSPARC-IIi 440 MHz running OpenBSD 4.2 64 bit
        gcc -O3 -mcpu=v9 -mtune=ultrasparc -funroll-loops
        PC (stormblast) (plan9)
27.5s   Intel Pentium II 300 MHz running OpenBSD 3.9
        gcc -O3 -fomit-frame-pointer -funroll-loops -funsafe-math-optimizations -march=i686
        Sun Ultra 10 (jontow)
        Sun UltraSPARC-IIi 300 MHz running OpenBSD 4.2 64 bit
29.0s   gcc-3.3.5 -O3 -mcpu=v9 -mtune=ultrasparc -funroll-loops -funsafe-math-optimizations -finline
31.3s   gcc-3.3.5 -O3 -mcpu=v9 -mtune=ultrasparc -funroll-loops
        Sun SparcStation 10 (jontow)
81.1s   Sun Sun4m(??) 60 MHz running NetBSD 4.0
        gcc -funroll-loops -mcpu=v7 -O3
        HP (Apollo) 9000/710
2m 49s  PA-7000 1.1a 50 MHz running HP-UX 10.20
        gcc -O3 -funroll-loops -fomit-frame-pointer (gcc 2.95.2)
        Sun SparcStation 5 (jontow)
4m 49s  Sun Sun4m 70mhz running NetBSD 2.1
        gcc -funroll-loops -mcpu=v7 -O3