Timing Utilities

Simple tools for timing functions’ execution, when IPython is not available.

sympy.utilities.timeutils.timed(
func: Callable[[], object],
setup: str = 'pass',
limit: int | None = None,
) tuple[int, float, float, str][source]

Adaptively measure execution time of a function.