in reply to Algorithm Efficiency vs. Specialized Hardware?

Benchmark: timing 1000000 iterations of Grep, Max, Ternary... Grep: 5 wallclock secs ( 4.44 usr + 0.00 sys = 4.44 CPU) Max: 12 wallclock secs (12.42 usr + 0.00 sys = 12.42 CPU) Ternary: 12 wallclock secs (12.09 usr + 0.00 sys = 12.09 CPU)
Win98, 96 MB RAM, AMD K6-350 3D processor
ActiveState Perl 5.005_03

(Nice to know it matched the Solaris machine in Performance :)

Update: So, Ol' Mister Sun/Solaris (see dempa above) thinks he gonna outperform my Windows box, huh? (Um, well...duh!)

So, I just closed everything I was working on, booted to DOS and reran the benchmarks. My results:

This program does not run in DOS mode.
*sniff, sniff*

Replies are listed 'Best First'.
RE: Re: Algorithm Efficiency vs. Specialized Hardware?
by Adam (Vicar) on Jun 21, 2000 at 00:10 UTC
    Gotta love (sarcasm) Microsoft.