Python Performance Tuning: Glossary

Key Points

Introduction to Profilng
  • Profiling provides useful information on where to focus optimization efforts.

  • Different techniques provide a variety of useful information.

  • Profiling can have an impact on the performance of the program.

cProfile
  • cProfile provides information about the functions in a program.

  • There is some overhead when using cProfile to analyze a program.

line_profiler
  • line_profiler generates profiles based on the lines in a program.

  • Line based profiling can provide more information about where a program is performing badly.

Glossary

FIXME