Ask Your Question

Revision history [back]

There is a thematic tutorial about profiling in Sage that lists various tools for timing your code, see http://doc.sagemath.org/html/en/thematic_tutorials/profiling.html

Note that runsnakerun will display the time spent in each function, so that you can see where the bottelneck is.

There is a thematic tutorial about profiling in Sage that lists various tools for timing your code, see http://doc.sagemath.org/html/en/thematic_tutorials/profiling.html

Note that runsnakerun will display (graphically) the time spent in each function, so that you can quickly see where the bottelneck is.bottelnecks are.