[prev] [index] [next]

When to Tune?

We should only consider tuning the performance of a program:
  • after testing shows program is correct,
  • and only if the program is going to be used frequently.
Pike's Guideline:

the time spent making a program faster
should not be more than the time the speedup will save
during the lifetime of the program