You are viewing an older version (9.11.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.11.0 / IPython / utils / timing / timings

function

IPython.utils.timing:timings

source: /IPython/utils/timing.py:114

Signature

def timings(reps, func, *args, **kw) → (t_total, t_per_call)

Summary

Execute a function reps times, return a tuple with the elapsed total CPU time in seconds and the time per call. These are just the first two values in timings_out().

Aliases

  • IPython.utils.timing.timings