Benchmark: timing 1000000 iterations of Grep, Max, Ternary... Grep: 6 wallclock secs (5.63 usr + 0.00 sys = 5.63 CPU) @ 177619.8 +9/s (n=1000000) Max: 9 wallclock secs (9.34 usr + 0.00 sys = 9.34 CPU) @ 107066.3 +8/s (n=1000000) Ternary: 10 wallclock secs (9.61 usr + 0.00 sys = 9.61 CPU) @ 104058.2 +7/s (n=1000000)
SysInfo + Perl
System Configuration: Sun Microsystems sun4u Sun Ultra 5/10 UPA/PCI +(UltraSPARC-IIi 400MHz) System clock frequency: 100 MHz Memory size: 256 Megabytes ========================= CPUs ========================= Run Ecache CPU CPU Brd CPU Module MHz MB Impl. Mask --- --- ------- ----- ------ ------ ---- 0 0 0 400 2.0 12 9.1 ========================= IO Cards ========================= Bus# Freq Brd Type MHz Slot Name Model --- ---- ---- ---- -------------------------------- ------------- +--------- 0 PCI-1 33 1 ebus 0 PCI-1 33 1 network-SUNW,hme 0 PCI-1 33 2 SUNW,m64B ATY,GT-C 0 PCI-1 33 3 ide-pci1095,646 0 PCI-2 33 2 scsi-glm Symbios,53C87 +5 0 PCI-2 33 2 scsi-glm Symbios,53C87 +5 0 PCI-2 33 3 pci108e,5043-pci108e,5043 No failures found in System =========================== ========================= HW Revisions ========================= ASIC Revisions: --------------- Cheerio: ebus Rev 1 System PROM revisions: ---------------------- OBP 3.25.3 2000/06/29 14:12 POST 3.1.0 2000/06/27 13:56 [jconner@kwan ~]$ perl -v This is perl, v5.6.0 built for sun4-solaris </clip> [jconner@kwan ~]$ uname -a SunOS kwan 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-5_10
----------
- Jim
In reply to Re: RE: Algorithm Efficiency vs. Specialized Hardware?
by snafu
in thread Algorithm Efficiency vs. Specialized Hardware?
by Russ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |