Profiling

Description
Profiling the code of FreeCAD helps find bottlenecks in the algorithms used to create or manipulate objects.

To profile Python code use the standard module to define start and end points to profile in the code.

Then install and use to convert the profile output into cachegrind input.

Then visualize this information with for Linux or  for Windows.

Resources

 * The Python profilers, and.
 * pyprof2calltree at PyPI; pyprof2calltree repository.
 * FreeCAD's Python profiling tutorial.