Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call NameLoad For NameStore Call NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Return BinOpDiv BinOpSub NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Lambda arguments args NameParam NameParam defaults Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Lambda arguments args NameParam NameParam defaults Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Return BinOpDiv Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd NameLoad NameLoad body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd NameLoad UnaryOpNot NameLoad body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If BoolOpAnd UnaryOpNot NameLoad NameLoad body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str keyword Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad TupleLoad Num attr Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Dict NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr BinOpSub BinOpDiv BinOpSub NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list decorator_list Assign NameStore Dict FunctionDef arguments args NameParam defaults Num body Global identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad Dict NameLoad body Assign NameStore Call NameLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpDiv Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Return BinOpDiv Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num Num body Assert CompareIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Dict NameLoad Num body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListComp Call NameLoad NameLoad NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Call AttributeLoad Str attr NameLoad keyword NameLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Return NameLoad decorator_list decorator_list If CompareEq NameLoad Str body ImportFrom alias Import alias FunctionDef arguments args defaults body Assign NameStore BinOpMult Str Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore BinOpMult Str Call AttributeLoad NameLoad attr Num Num decorator_list Assign NameStore Call NameLoad NameLoad keyword Num Assign NameStore Call NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Assign NameStore Call NameLoad TupleLoad NameLoad NameLoad keyword Num keyword Num Assign NameStore Call NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Expr Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad
N/A N/A 
Benchmark support. Tools for helping you choose the best Python implementation
of algorithms and functions.

 __future__ absolute_import __future__ print_function __future__ unicode_literals __future__ division N/A itertools functools reduce pycopia table pycopia.timelib now time_it N/A N/A count callit N/A args kwargs N/A N/A start N/A now N/A i N/A range count N/A N/A N/A callit args kwargs N/A end N/A now N/A N/A N/A end start count N/A FunctionTimerResult N/A object N/A __init__ N/A N/A self name N/A N/A N/A N/A self name name N/A N/A self returnvalue None N/A N/A self runtime 0.0 N/A N/A self overhead 0.0 N/A __str__ N/A N/A self N/A N/A N/A N/A %s: %.9f secs N/A N/A self name N/A self runtime N/A __float__ N/A N/A self N/A N/A N/A N/A self runtime N/A __int__ N/A N/A self N/A N/A N/A N/A int N/A self runtime N/A __long__ N/A N/A self N/A N/A N/A N/A long N/A self runtime N/A N/A ResultSet N/A list N/A __str__ N/A N/A self N/A N/A N/A s N/A N/A str e N/A e self N/A N/A N/A s append -------------------- N/A N/A N/A s append N/A min: %.9f max: %.9f avg: %.9f N/A N/A N/A self get_min N/A N/A self get_max N/A N/A self average N/A N/A N/A join s N/A get_max N/A N/A self N/A N/A N/A N/A reduce N/A N/A N/A f n N/A N/A max N/A float f N/A float n self N/A get_min N/A N/A self N/A N/A N/A N/A reduce N/A N/A N/A f n N/A N/A min N/A float f N/A float n self N/A average N/A N/A self N/A N/A N/A sum N/A reduce N/A N/A N/A f n N/A N/A N/A float f N/A float n self N/A N/A N/A float sum N/A float N/A len self N/A N/A _form_name N/A N/A meth args kwargs N/A N/A N/A N/A args kwargs N/A N/A N/A %s(*%r, **%r) N/A N/A meth __name__ args kwargs N/A N/A args N/A kwargs N/A N/A N/A %s%r N/A N/A meth __name__ args N/A N/A N/A args kwargs N/A N/A N/A %s(**%r) N/A N/A meth __name__ kwargs N/A N/A N/A args N/A kwargs N/A N/A N/A %s() N/A N/A meth __name__ N/A FunctionTimer N/A object N/A N/A A class to test run times of callable objects. Use for simple
benchmarks, and to characterize baseline performance. __init__ N/A N/A self iterations N/A 10000 N/A N/A N/A self _iter N/A int iterations N/A N/A N/A self calibrate N/A __float__ N/A N/A self N/A N/A N/A N/A self runtime N/A calibrate N/A N/A self N/A N/A N/A N/A print Calibrating... end N/A N/A self _overhead 0.0 N/A N/A self _overhead N/A N/A N/A self run N/A N/A N/A x N/A None N/A 1 runtime N/A N/A print N/A done (%d iterations, %.3f ms of overhead). N/A N/A self _iter N/A N/A self _overhead 1000.0 N/A run N/A N/A self meth args kwargs argiterator N/A N/A N/A None N/A N/A res N/A FunctionTimerResult N/A _form_name meth args kwargs N/A argiterator N/A N/A iterator N/A N/A itertools cycle argiterator N/A N/A iterator N/A N/A itertools repeat args N/A start N/A now N/A N/A N/A _next N/A iterator __next__ N/A N/A N/A AttributeError N/A N/A _next N/A iterator next N/A i N/A range N/A self _iter N/A N/A args N/A _next N/A rv N/A meth args kwargs N/A end N/A now N/A N/A res runtime N/A N/A N/A end start N/A self _iter N/A self _overhead N/A N/A res overhead N/A self _overhead N/A N/A res returnvalue rv N/A res N/A N/A N/A _timers N/A get_timer N/A N/A iterations N/A 10000 N/A N/A _timers N/A tm N/A N/A _timers get iterations None N/A N/A tm None N/A N/A tm N/A _timers N/A iterations N/A FunctionTimer iterations N/A tm N/A BenchMarker N/A object N/A __init__ N/A N/A self testmeth iterations loops N/A 10000 1 N/A N/A N/A N/A callable testmeth N/A N/A N/A TypeError test method must be callable N/A N/A self testmeth testmeth N/A N/A self loops loops N/A N/A self _timer N/A get_timer iterations N/A get_name N/A N/A self N/A N/A N/A N/A N/A self testmeth __name__ N/A N/A name N/A property get_name __call__ N/A N/A self args kwargs argiterator N/A N/A N/A None N/A N/A rs N/A ResultSet N/A loop N/A range N/A self loops N/A N/A N/A N/A rs append N/A N/A N/A self _timer run N/A self testmeth args kwargs argiterator N/A rs N/A N/A RatioReport N/A N/A table GenericTable N/A N/A N/A CompareResults N/A N/A table GenericTable N/A get_ratios N/A N/A self N/A N/A N/A rrep N/A RatioReport N/A self headings title N/A self title width N/A self width N/A rowname N/A self headings N/A N/A newrow N/A N/A col N/A self headings N/A N/A N/A N/A newrow append N/A N/A N/A self average rowname N/A N/A self average col N/A N/A N/A rrep append newrow rowname N/A rrep N/A average N/A N/A self col N/A N/A N/A Return average value of column. N/A sum N/A reduce N/A N/A N/A f n N/A N/A N/A float f N/A float n N/A N/A self get_column col N/A N/A N/A float sum N/A float N/A len self N/A N/A BenchCompare N/A object N/A __init__ N/A N/A self methodlist iterations loops N/A 10000 3 N/A N/A N/A N/A type methodlist N/A tuple list methodlist must be sequence of methods N/A N/A self _timer N/A get_timer iterations N/A N/A self loops loops N/A N/A self _methlist N/A N/A meth methodlist N/A N/A N/A N/A callable meth N/A N/A N/A TypeError test method must be callable N/A N/A N/A N/A self _methlist append meth N/A __call__ N/A N/A self args kwargs argiterator tablewidth N/A N/A N/A None 130 N/A N/A headings N/A N/A o __name__ N/A o N/A self _methlist N/A names N/A N/A _form_name o args kwargs N/A o N/A self _methlist N/A rep N/A CompareResults headings title N/A N/A  vs.  join names width tablewidth N/A loop N/A range N/A self loops N/A N/A newrow N/A N/A meth N/A self _methlist N/A N/A N/A N/A newrow append N/A N/A N/A self _timer run meth args kwargs argiterator N/A N/A N/A rep append newrow loop N/A iv N/A newrow N/A 0 N/A res N/A newrow N/A 1 N/A N/A N/A N/A iv returnvalue N/A res returnvalue N/A N/A N/A ValueError inconsistent values returned N/A rep N/A N/A N/A N/A __name__ __main__ N/A pycopia autodebug N/A random F1 N/A N/A N/A N/A N/A f N/A abcdefgxxxxxxxxxxxxxxxxxx N/A N/A random randint 2 4000 N/A F2 N/A N/A N/A N/A N/A f N/A abcdefgxxxxxxxxxxxxxxxxxx N/A N/A random randint 2 2000 N/A N/A bm N/A BenchMarker F1 loops 5 N/A res N/A bm N/A N/A print res N/A N/A print N/A bc N/A BenchCompare N/A F1 F2 iterations 1000 loops 3 N/A cmpres N/A bc N/A N/A print cmpres N/A N/A print N/A N/A cmpres get_ratios N/A N/A print N/A rr N/A CompareResults N/A one two three four five N/A N/A N/A rr append N/A 1 2 3 4 5 1 N/A N/A N/A rr append N/A 1 2 3 4 5 2 N/A N/A N/A rr append N/A 1 2 3 4 5 3 N/A rat N/A N/A rr get_ratios N/A N/A print rat