Back to CFM home             Brown University

Introduction to profiling

  1. What is profiling?
  2. Profiling is an important part of optimizing any program. By profiling a representative (ie. production-level) run of your code, you get a breakdown of where your program spends most of its time. This enables you to concentrate your efforts into optimizing these particular time-consuming routines or change your algorithm so that it makes use of more efficient routines than the ones currently used. Thus you don't waste your time in optimizing other non-critical parts of your code.

  3. Profiling utilities

  4. How to profile

  5. For more profiling information