"There are lies, damned lies, and benchmarks"

Effect of running the following command on a box which has perl installed. It's been tried on Linux, Windows (Cygwin), Solaris, AIX, and HP-UX. Feel free to run this a number of times and post your best result.

 time perl -e 'for($i=0;$i<1e8;$i++) { }'

Sorted List

Fastest finger first ( sorted on the "Real" column ).

Name/Nick

Box Name/Type

CPU Mfr

CPU Model

Clocked Speed

Real

User

Sys

falcon

Deep Thought

Magrathean

0m0.001s

0m0.001s

0m0.001s

AlanPope

zoo

Intel

i7 2600 @ 3.4GHz

3400GHz

0m3.361s

0m3.350s

0m0.000s

Seeker`

cjo20-desktop

Intel

i7 920 @ 4GHz

4000MHz

0m4.006s

0m4.004s

0m0.000s

AlanBell

libertushost

Intel

i7 980ex

3.33GHz

0m4.386s

0m4.380s

0m0.000s

Azelphur

darth-vader

Intel

i7 920 @ 3.06Ghz

3068MHz

0m4.592s

0m4.580s

0m0.000s

GordAllott

Scar

Intel

Intel(R) Core(TM) i7 CPU 860

2.80Ghz

0m4.745s

0m4.740s

0m0.000s

nixtux

eta-carinae

Intel

Core(TM)2 Q6600@ OC to 3.19GHz

3195MHz

0m4.808s

0m4.781s

0m0.002s

TomBragg

flexo

Intel

i7 860

2.8GHz

0m4.814s

0m4.810s

0m0.000s

Raz

Mellow

Intel

Pentium(R) Dual-Core CPU E5200 @ 3.6GHz

3666MHz

0m4.894s

0m4.883s

0m0.004s

Oimon

todd

Intel

Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz

3100MHz

0m5.195s

0m5.192s

0m0.002s

AdrianBridgett

ash

Intel

Core(TM)2 Duo E8400 @ 3.0GHz

3000MHz

0m5.376s

0m5.357s

0m0.003s

AlanPope

wopr

Intel

Core(TM)2 6700@ OC to 3.2GHz

3197.736MHz

0m5.443s

0m5.428s

0m0.004s

dogmatic69

ultra-magnus

Intel

Core(TM) i3

3070MHz

0m5.455s

0m5.432s

0m0.004s

AdrianBridgett

pitsford

Intel

Xeon(R) CPU E5420 @ 2.50GHz (quad core)

2493.777MHz

0m6.000s

0m6.000s

0m0.000s

TomBragg

fry

Intel

Core 2 Quad 6600

2.4GHz

0m6.194s

0m6.192s

0m0.008s

AlanPope

wopr

Intel

Core(TM)2 6700@2.66GHz

2667.105MHz

0m6.501s

0m6.496s

0m0.000s

GordAllott

mufasa

Intel

Intel(R) Xeon(R) CPU L5520 @ 2.27GHz

2260.998

0m6.966s

0m6.756s

0m0.004s

HugoMills

willow

Intel

Intel(R) Core(TM)2 T7400 @ 2.16GHz

2161.317MHz

0m7.011s

0m7.008s

0m0.000s

Raz

Mellow

Intel

Pentium(R) Dual-Core CPU E5200 @ 2.50GHz

2511.638MHz

0m7.202s

0m7.191s

0m0.006s

AlanPope

happy

Intel

Intel(R) Xeon(R) CPU 3060 @ 2.40GHz

2394.064

0m7.891s

0m7.828s

0m0.000s

Raz

nebula - VPS

Intel

Intel(R) Xeon(R) CPU X3210

2.13GHz

0m7.982s

0m7.981s

0m0.002s

AdrianBridgett

ash

Intel

Core(TM)2 6300@1.86GHz

1861MHz

0m8.196s

0m8.197s

0m0.004s

ChrisDennis

ferox2, Dell Optiplex 745

Intel

Core 2 Duo 6400

2.133GHz

0m8.270s

0m8.261s

0m0.004s

RobSmith

picard

Intel

Core(TM)2 Duo CPU T5750 @ 2.00GHz

2.000GHz

0m9.203s

0m9.181s

0m0.012s

TomBragg

professor

Intel

Pentium(R) 4 CPU 3.00GHz

3606MHz

0m9.570s

0m9.568s

0m0.001s

Raz

BudAir, HP 530 Laptop

Intel

Intel(R) Celeron(R) M CPU 530

1.73GHz

0m10.585s

0m10.449s

0m0.028s

MonkeyBoy

Lister

Intel

Intel(R) Xeon(R) CPU 5110 @ 1.60GHz

1596MHz

0m10.958s

0m10.950s

0m0.000s

AdamTrickett

Lapin-Bleu/home server

AMD

AMD Athlon(tm) 64 X2 Dual Core Processor 6400+

3200MHz

0m11.139s

0m11.141s

0m0.000s

AlanPope

hactar

Intel

Pentium M 2.13GHz

0m11.630s

0m11.269s

0m0,007s

TomBragg

HP BL20p G3 Blade

Intel

Intel(R) Xeon(TM) CPU 3.60GHz

3602MHz

0m11.856s

0m11.855s

0m0.001s

DanPope

plum/webserver

Intel

Intel(R) Pentium(R) 4 CPU 3.00GHz

3016.145MHz

0m12.184s

0m12.720s

0m0.003s

TonyWhitmore

srv-emmy

Intel

Intel(R) Xeon(TM) CPU 3.00GHz

3001.097MHz

0m12.449s

0m12.448s

0m0.002s

MonkeyBoy

chomsky

Intel

Intel(R) Xeon(TM) CPU 3.00GHz

2993.238MHz

0m12.494s

0m12.497s

0m0.000s

TonyWhitmore

srv-ada

Intel

Intel(R) Xeon(TM) CPU 3.00GHz

3000.993MHz

0m12.723s

0m12.720s

0m0.004s

AndySmith

Intel

Pentium CPU 3GHz

0m12.957s

0m12.890s

0m0.060s

ulmen

Thinkpad X60s

Intel

Core Duo L2400

1667.000MHz

0m13.170s

0m13.153s

0m0.004s

MarkJohnson

trogdor

AMD

AMD Athlon(tm) 64 X2 Dual Core Processor 5200+

2712.421MHz

0m13.405s

0m13.257s

0m0.008s

GarethMiller

Tetsuo

Intel

Pentium Mobile 2GHz

0m13.523s

0m12.812s

0m0.018s

TomBragg

Intel

Pentium 4 520

2795MHz

0m13.362s

0m13.360s

0m0.000s

MonkeyBoy

rimmer/webserver

Intel

Pentium(R) 4 CPU 2.80GHz

0m13.397s

0m13.383s

0m0.002s

AdamTrickett

Muscardin/laptop

Intel

Celeron 743

1.3 GHz

0m14.189s

0m11.061s

0m0.008s

MonkeyBoy

jaws/desktop

Intel

Pentium(R) 4 CPU 3.00GHz

3007.265MHz

0m14.235s

0m14.145s

0m0.012s

TomBragg

lin2

AMD

Athlon64 X2 4200+

2532MHz

0m14.573s

0m14.569s

0m0.004s

silentk

kokubunji

AMD

Athlon64

0m14.636s

0m14.633s

0m0.003s

AlanPope

HP ProLiant MicroServer

AMD

Athlon Neo N36L

1.3 GHz

0m14.923s

0m14.890s

0m0.020s

Raz

mellow/upgraded

Intel

Intel(R) Pentium(R) 4 CPU 2.40GHz

2393.871

0m15.287s

0m14.891s

0m0.047s

Raz

IBM Supercomputer (1 Core of 1 Blade)

PPC

PPC970MP Dual Core

2497.5MHz

0m16.826s

0m16.810s

0m0.020s

Dave

Tranquility/Desktop

AMD

Athlon64 3400+

0m17.046s

0m16.787s

0m0.029s

acid2

AMD

Athlon XP 3200+

0m17.583s

0m17.06s

0m0.078

Kieron

Buchner

AMD

Opteron 246

1994MHz

0m17.711s

0m17.703s

0m0.005s

HugoMills

selene

AMD

Athlon64 3200+

2000MHz

0m17.799s

0m17.731s

0m0.001s

PaulTansom

orca

AMD

Athlon XP 2800+

2086.527MHz

0m17.909s

0m17.766s

0m0.005s

SeanGibbins

Shuttle SN25P

AMD

AMD 64 3200

2.01

0m18.200s

0m17.803s

0m0.003s

TomBragg

cubert

AMD

Athlon XP 1800+

2002MHz

0m18.250s

0m18.240s

0m0.004s

AdamTrickett

wombat/desktop

AMD

Athlon64 3200+

2202.834MHz

0m18.237s

0m16.373s

0m0.018s

PhilipStubbs

mistral

AMD

Athlon64 3000+

1999.470MHz

0m18.293s

0m18.253s

0m0.024s

AyJayS

Dell laptop

Intel

Pentium(R) 4 CPU 2.66GHz

0m18.956s

0m18.410s

0m0.054s

falcon

scuff

AMD

Athlon XP 2600+

0m19.075s

0m19.063s

0m0.012s

HugoMills

nevis

Intel

Pentium(R) 4 CPU 2.80GHz

2800MHz

0m19.174s

0m19.168s

0m0.005s

TomBragg

hermes

Intel

Pentium(R) 4 CPU 2.67GHz

2667MHz

0m19.308s

0m19.304s

0m0.004s

ModernMyth

Norman

AMD

Athlon 64 3000+

1800MHz

0m19.687s

0m19.557s

0m0.128s

HarryRickards

siddy

AMD

Athlon X2 4050

2300MHz

19.731s

18.917s

0.008s

philc

AMD

Athlon XP 2500+

0m20.145s

0m20.025s

0m0.027s

JaredBelkus

server3

AMD

Athlon XP 3000+

2075MHz

0m21.322s

0m21.320s

0m0.000s

TomBragg

zoidberg

AMD

Athlon XP-M 2200+

1793MHz

0m21.341s

0m21.117s

0m0.008s

Mehall

mehall-laptop

AMD

Athlon X2 64 Tk-57

1900MHz

0m21.408s

0m21.261s

0m0.012s

NeilFerguson

AMD

XP2000+

0m21.437s

0m21.420s

0m0.020s

RobSmith

yoda

AMD

Athlon XP 2400+

2020Mhz

0m21.598s

0m21.478s

0m0.015s

DanPope

mauve/Desktop

AMD

AMD Athlon(tm) XP 2200+

1797.066Mhz

0m21.644s

0m20.745s

0m0.114s

Hantslug

webserver

Intel

Pentium(R) 4 CPU 2.40GHz

0m21.826s

0m21.310s

0m0.020s

MatthewScholes

Ubuntu

AMD

Sempron 3000+

1795.551MHz

0m21.832s

0m21.813s

0m0.010s

andrewd18

StubbornAesthetics

AMD

Athlon 64 3200+

2001Mhz

0m21.858s

0m21.540s

0m0.056s

JaredBelkus

server1

Intel

Intel(R) Celeron(R) CPU 2.40GHz

2399.762

0m22.020s

0m21.580s

0m0.010s

Adrian Bridgett

Dell D600

Intel

Pentium M

1700MHz

0m22.187s

0m21.873s

0m0.144s

silentk

Webserver

0m22.224s

0m22.210s

0m0.010s

TomBragg

Acer 1362WLMi

AMD

Sempron 2800+

1601MHz

0m23.070s

0m23.010s

0m0.000s

AdrianBridgett

wyvern

AMD

Athlon(tn) XP 2200+

0m23.529s

0m22.917s

0m0.006s

TonyWhitmore

Work box

AMD

Athlon64 3000+

2000.038MHz

0m23.616s

0m17.929s

0m0.422s

ChrisDennis

thebox, MythTV back-end

AMD

Athlon X2 Dual Core BE2400

2.200GHz

0m24.013s

0m23.813s

0m0.008s

AlanPope

Desktop

AMD

Athlon(tm) XP 2000+

1.66GHz

0m24.055s

0m22.525s

0m0.060s

AlexPhillips

eyuk1man

AMD

Opteron 242

1593.895MHz

0m24.120

0m24.110

0m0.010

schwuk

Acer AS9303WSMi

AMD

Turion 64 x2 TL-52

1600

0m24.491s

0m23.661s

0m0.132s

silentk

minik

??

HP nx9005

0m24.939s

0m24.271s

0m0.277s

AndyRansom

Win2K/cygwin

AMD

Athlon(TM) XP 2400+

2000

0m25.139s

0m23.905s

0m0.030s

TomBragg

zap

Intel

Pentium(R) 4 CPU 2.00GHz

1992MHz

0m25.181s

0m25.109s

0m0.007s

GordAllott

Acer Aspire Revo 3700

Intel

Intel(R) Atom(TM) CPU D525 - Dual Core HT

1.80GHz

0m25.495s

0m25.490s

0m0.010s

misterx

Laptop

Intel

Celeron 2500MHz

0m25.588s

0m22.343s

0m0.190s

Xendistar

Titan

Intel

Celeron 2400mhz

0m26.550s

0m22.318s

0m0.009s

AdrianBridgett

cerberos

AMD

Athlon XP 1600

1400MHz

0m26.687s

0m26.574s

0m0.032s

paul_c

AMD

Athlon(tm) XP 1800+

0m27.217s

0m24.278s

0m0.026s

AlanPope

Laptop

Intel

Pentium M 1400MHz

1400MHz

0m27.335s

0m26.808s

0m0.040s

AlanPope

Asus Eee PC

Intel

Celeron

900MHz

0m24.358s

0m24.326s

0m0.008s

NeilFerguson

Laptop

Intel

0m28.380s

0m27.163s

0m0.059s

silentk

Dell D600

Intel

M 1500Mhz

0m29.184s

0m29.176s

0m0.005s

ChrisAitken

carbon

Intel

Intel Xeon CPU 2.40GHz

2393.730 MHz

0m29.827s

0m27.573s

0m0.020s

AdrianBridgett

EeePC 1008HA

Atom(TM) CPU N280

1.66GHz

1667MHz

0m30.265s

0m30.254s

0m0.012s

AlanPope

Acer Aspire Revo 3600

Atom(TM) CPU 230

1.60GHZ

1599.849MHz

0m31.396s

0m31.394s

0m0.008s

nixtux

Nvidia-Ion

Atom(TM) CPU 330

1.60GHz

1600.050MHz

0m31.829s

0m31.806s

0m0.012s

AlanPope

Compaq

Intel Pentium 4

1.7GHz

1695.239MHz

0m31.862s

0m31.638s

0m0.022s

AlanPope

HP xe4100

Intel

Celeron 1.1GHz

1133MHz

0m32.314s

0m31.917s

0m0.56s

MonkeyBoy

vela

Intel

Itanium 2 (IA-64) 1.3GHz

1300MHz

0m34.644s

0m34.615s

0m0.004s

MonkeyBoy

iBook G4

IBM

PowerPC G4 (1.5)

1333MHz

0m35.485s

0m34.904s

0m0.099s

AlanPope

mother

Intel

Celeron 1GHz

997.013

0m36.005s

0m35.583s

0m0.007s

Mehall

ics

First International Computers

Intel Pentium 3

1000MHz

0m36.988s

0m36.968s

0m0.013s

MonkeyBoy

iam10

UML

UML

Unknown

0m41.665s

0m37.220s

0m0.000s

RichMann

Rich

IBM

PowerPC G4

1420MHz

0m42.325s

0m32.729s

0m.0.372s

AlanPope

Asus Eee PC

Intel

Celeron

630MHz

0m43.442s

0m40.400s

0m0.120s

Lardarse

twenty

Intel

Celeron 800

0m44.073s

0m44.060s

0m0.010s

DeanEarley

Frank/Web server

AMD

Athlon 1Ghz

0m44.637s

0m43.143s

0m0.069s

AlexPhillips

speakeasy1

Sun

UltrasparcIIIi

1280MHz

0m44.0

0m44.0

0m0.0

AlanPope

p690

IBM

POWER4 1.7GHz

1704 MHz

0m47.18s

0m46.07s

0m0.02s

Wyvern

p520

IBM

POWER5 1.65GHz

1650

0m47.35s

0m43.63s

0m0.01s

AlanPope

p595

IBM

POWER5 1.90GHz

1904

0m47.55

0m47.48s

0m0.00s

Alanh02

foxbox/XBox

Intel

Celeron

733

0m47.87

0m47.83s

0m0.04s

Dave

Liquid/Webserver

Intel

Pentium 4 CPU 2.00GHz

0m49.416s

0m35.290s

0m0.010s

Raz

Noor

Intel

Pentium III (Coppermine)

751.742

0m51.360s

0m48.415s

0m0.260s

Andy Ball

northwood

Intel

Celeron "Northwood"

2000MHz

0m52.082s

0m25.734s

0m0.076s

AlexPhillips

fits2001

DEC

Alpha EV68AL

833MHz

0m52.419

0m52.398

0m0.00

JohnLewis

telgar

Intell

PIII

800

0m54.244s

0m54.239s

0m0.004s

AlanPope

dsvr

Intel

Pentium III 799.671

0m54.444s

0m50.680s

0m0.430s

AndyRansom

Toshiba Laptop

Intel

Pentium III

647

0m58.215s

0m56.800s

0m0.043s

RobSmith

worf

Intel

Pentium III

599Mhz

0m58.811s

0m58.461s

0m0.022s

lug.org.uk

web/mail/irc server

Intel

Pentium III 851.954

1m4.115s

1m0.070s

0m0.210s

HeatherStern

Intel

P550

1m5.560s

1m2.782s

0m0.695s

PaulTansom

minke

Intel

Celeron 533

534.645MHz

1m5.920s

1m5.696s

0m0.016s

TonyWhitmore

Meeja Box

VIA

Nehemiah

1002.601

1m9.278s

1m9.161s

0m0.120s

ChrisAitken

chimera

Intel

Intel Pentium 4 (UML)

unknown

1m12.602s

0m28.380s

0m0.070s

NigelMiles

ubuntu

VIA

Nehemiah

1GHz

1m14.765s

1m13.768s

0m0.071s

AlexPhillips

sn42338

Intel

Itanium 2

1500MHz

1m14.8

1m14.6

0.0

JohnLewis

benden

Intel

Celeron

633

1m17.017s

1m11.796s

0m0.284s

AlexPhillips

Naemu7

DEC

Alpha EV67

666

1m16.83

1m9.07s

0m0.0

Andy Ball

delia

Intel

Pentium III "Katmai"

500MHz

1m12.206s

1m12.190s

0m0.020s

AndyR

Intel

smp 450

1m19.182s

1m19.180s

0m0.000s

MonkeyBoy

solent

1m20.116s

1m19.927s

0m0.015s

paul_c

Intel

Celeron

431.162

1m20.775s

1m20.583s

0m0.016s

philc

Intel

Pentium II 450

448.155

1m25.977s

1m20.318s

0m0.109s

falcon

laptop

Intel

Celeron 400

400.050

1m30.097s

1m28.799s

0m0.027s

AlexPhillips

Superdome1

HP

PA-RISC8700

750MHz

1m33.2

1m33.1

0m0.0

HugoMills

herrick (Nokia N900)

ARM

ARMv7

?

1m37.74s

1m36.88s

0m0.03s

DeanEarley

Bob/Mail server

Intel

Pentium III 666

1m40.339s

0m54.310s

0m0.030s

RobSmith

marvin

Intel

Pentium III

448.965Mhz

1m41.215s

1m40.896s

0.023s

HugoMills

miyu

VIA

Eden

600MHz

1m44.477s

1m44.177s

0m0.024s

ChrisDennis

gloria, Compaq Deskpro EN

Intel

Pentium II

350Mhz

1m55.238s

1m43.755s

0m0.142s

PaulTansom

humpback

Intel

Pentium II 300

300.685MHz

1m55.705s

1m55.570s

0m0.000s

SeanGibbins

Minicube

VIA

500MHz

1m57.766s

1m56.105s

0m0.017s

silentk

kairi

Intel

IBM Thinkpad 600e

1m59.517s

1m58.790s

0m0.015s

RobSmith

davros

Intel

Pentium II

266Mhz

2m3.189s

2m0.150s

0m1.570s

falcon

jon

DEC

Alpha EV56

400

2m5.467s

2m4.784s

0m0.019s

Brad Macpherson

gateway

AMD

Athlon

500MHz

2m10.71s

2m8.63s

0m0.51s

MonkeyBoy

deagle/firewall

VIA

Samuel 2

533.501

2m11.345s

2m10.125s

0m0.131s

falcon

odie

Intel

Pentium II 266

265.995

2m14.037s

2m12.919s

0m0.034s

AlanPope

Server(!)

Intel

Pentium II 266

267.289

2m14.699s

2m14.597s

0m0.025s

RobSmith

vader

VIA

Eden

600Mhz

2m25.781s

2m24.988s

0m0.020s

AdamTrickett

Herisson/webserver

Intel

Pentium II (Klamath)

233.195MHz

2m33.921s

2m31.940s

0m0.085s

AlanPope

Firewall

Intel

Pentium MMX 233

233.862

2m36.871s

2m34.550s

0m0.080s

AdamTrickett

karakal/desktop

AMD

Geode(TM) Integrated Processor by National Semi

398.475

2m41.974s

2m40.978s

0m0.012s

TonyWhitmore

Aluetia E2

Via

Via Eden Processor

498.768

2m45.043s

2m25.693s

0m0.320s

AdamTrickett

Loutre/notebook

Intel

Pentium II (Deschutes)

264.726Mhz

2m49.428s

2m20.869s

0m1.152s

NeilFerguson

Intel

Pentium Pro 200

199.479

3m1.379s

3m0.250s

0m0.049s

TonyWhitmore

Intranet

Intel

Pentium Pro

179.632MHz

3m28.952s

3m24.980s

0m0.040s

Mehall

Cyrix-Bang

Cyrix

M-II

250MHz

3m52.051s

3m51.930s

0m0.024s

falcon

pooky

IDT

WinChip C6

200

4m13.013s

4m12.680s

0m0.030s

MonkeyBoy

igloo

Intel

Pentium II 133

133.639

4m21.194s

4m19.940s

0m0.070s

DeanEarley

Jim/Workstation

Sun

UltraSparc IIi/256Mhz

4m40.494s

3m59.770s

0m0.020s

PaulTansom

narwhal

Intel

Pentium 100

99.718MHz

6m14.43s

4m13.94s

0m0.07s

Vic

BattleAxe/Tosh laptop

Intel

Pentium 233

233.327MHz

6m55.432s

6m54.630s

0m0.080s

AndyRansom

Dell

Intel

Pentium

99.717

6m58.429s

6m55.370s

0m0.110s

SimonFarnsworth

rimmer/SGI Indy

QED

R4600SC

133MHz

7m9.923s

6m38.410s

0m0.920s

Other variants

(times vs 0m5.376s for Perl)

PHP (5.383s):

 time php -r 'for ($i=0;$i<1e8;$i++) { }'
Ruby v1 (21.269s (8.746s system time!)):
 time ruby -e 'for i in (0..100000000) do  end'
Ruby v2 (4.615s, practically no system time):
 time ruby -e '(0..100000000).each do  end'

C (0.234s + 0.023s for compilation; with -O2 0.037s for compilation, 0.001s to run):

HugoRandomBenchmark (last edited 2011-09-26 09:24:23 by 87-194-176-58)