[prev] 46 [next]

Performance

Why do we care about performance?

Good performance less hardware, happy users.

Bad performance more hardware, unhappy users.

Generally:   performance = execution time

Other measures: memory/disk space, network traffic, disk i/o.

Execution time can be measured in two ways:

  • cpu ... time your program spends in the processor
  • elapsed ... wall-clock time between start and finish