Utilities

Utility functions and helpers for the fastlife module

fastlife.utils.load_mprofile(path, name=None)[source]

Load a memory profile from disk for plotting and comparison.

fastlife.utils.sprofile(func)[source]

Decorator that performs a speed/stack profile of the time spent in each function call from the stack below the wrapped function. Prints the results when done.