Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Algorithm Efficiency vs. Specialized Hardware?

by dempa (Friar)
on Jun 20, 2000 at 11:57 UTC ( [id://18950]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Benchmark: timing 1000000 iterations of Grep, Max, Ternary...
          Grep:  9 wallclock secs ( 8.85 usr +  0.00 sys =  8.85 CPU) @ 11
    +2994.35/s (n=1000000)
           Max: 12 wallclock secs (12.10 usr +  0.00 sys = 12.10 CPU) @ 82
    +644.63/s (n=1000000)
       Ternary: 12 wallclock secs (12.17 usr +  0.00 sys = 12.17 CPU) @ 82
    +169.27/s (n=1000000)
    
  2. or download this
    Benchmark: timing 1000000 iterations of Grep, Max, Ternary...
          Grep:  5 wallclock secs ( 5.32 usr +  0.00 sys =  5.32 CPU) @ 18
    +7969.92/s (n=1000000)
           Max:  9 wallclock secs ( 8.64 usr +  0.00 sys =  8.64 CPU) @ 11
    +5740.74/s (n=1000000)
       Ternary:  8 wallclock secs ( 8.63 usr +  0.01 sys =  8.64 CPU) @ 11
    +5740.74/s (n=1000000)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18950]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found