Thread Suche nach zwei Begriffen (9 answers)
Opened by Gast at 2005-02-20 21:50

Gast Gast
 2005-02-21 21:26
#4446 #4446
Code: (dl )
This is perl, v5.8.3 built for i586-linux-thread-multi

Code: (dl )
1
2
3
4
phaylon@hamlett:~/ptests> cat /proc/cpuinfo
...
cpu MHz : 2994.546
cache size : 1024 KB

Hier noch ein Durchlauf mit timethese statt cmpthese:
Code: (dl )
1
2
3
4
phaylon@hamlett:~/ptests> perl search_bench.pl 2>/dev/null
Benchmark: timing 1000000 iterations of index, w_reg...
index: 25 wallclock secs (24.36 usr + 0.62 sys = 24.98 CPU) @ 40032.03/s (n=1000000)
w_reg: 74 wallclock secs (72.47 usr + 1.10 sys = 73.57 CPU) @ 13592.50/s (n=1000000)

Ideen? :D

View full thread Suche nach zwei Begriffen