dasf.utils.benchmark

Attributes

USE_MEMRAY

USE_MEM_PROF

Classes

TimeBenchmark

MemoryBenchmark

Module Contents

dasf.utils.benchmark.USE_MEMRAY = True
dasf.utils.benchmark.USE_MEM_PROF = True
class dasf.utils.benchmark.TimeBenchmark(backend='cprofile')[source]
__enter__()[source]
__exit__(*args, **kwargs)[source]
run(function, *args, **kwargs)[source]
class dasf.utils.benchmark.MemoryBenchmark(backend='memray', debug=False, output_file=None, *args, **kwargs)[source]
__enter__()[source]
__exit__(*args, **kwargs)[source]
run(function, *args, **kwargs)[source]