This is a development version (9.14.0.dev) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.14.0.dev / 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