TidalPy.utilities.performance package

Subpackages

Submodules

TidalPy.utilities.performance.memory module

TidalPy.utilities.performance.memory.total_size(o, handlers={}, verbose=False)[source]

Returns the approximate memory footprint an object and all of its contents.

Automatically finds the contents of the following builtin containers and their subclasses: tuple, list, deque, dict, set and frozenset. To search other containers, add handlers to iterate over their contents:

handlers = {SomeContainerClass: iter,

OtherContainerClass: OtherContainerClass.get_elements}

TidalPy.utilities.performance.numba module

TidalPy.utilities.performance.numba.njit(*args, **kwargs)[source]