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

bundles / IPython 9.5.0 / IPython / core / magics / execution / TimeitResult

class

IPython.core.magics.execution:TimeitResult

source: /IPython/core/magics/execution.py:73

Signature

class TimeitResult(loops, repeat, best, worst, all_runs, compile_time, precision)

Members

Summary

Object returned by the timeit magic with info about the run.

Extended Summary

Contains the following attributes:

loops: int

number of loops done per measurement

repeat: int

number of times the measurement was repeated

best: float

best execution time / number

all_runs

execution time of each run (in s)

compile_time: float

time of statement compilation (s)

Aliases

  • IPython.core.magics.execution.TimeitResult