Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Benchmark testing

by BrowserUk (Pope)
on Jan 23, 2004 at 17:18 UTC ( #323619=note: print w/replies, xml ) Need Help??


in reply to Benchmark testing

If you are the only user of your code, and you only ever run your code stand-alone, and it completes it's task(s) within a timeframe that is reasonable, you will never have occasion to need to benchmark.

However, sometimes your code will have to share a box with other code. Sometimes, throwing more hardware at a problem will not be an option. Sometimes the obvious, simple solution will not be quick enough for the requirements, and will leave people waiting for answers.

Does anyone ever say: "I wish program X took twice as long to load and consumed 3 times as much memory"?

Does any user of a program ever say: "I don't mind the bloat"; or "I don't mind waiting for the answers"?

Or is it only programmers that say, tardy profligacy should be a way of life?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Timing (and a little luck) are everything!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2021-04-17 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?