import time


def profile(func):
    """profile execution time of provided function"""

    func_start = time.time()
    func()
    func_end = time.time()
    func_delta = func_end - func_start
    label = str(func).split()[4].split('.')[2]
    return f"'{label}' passed in {func_delta:.2f}s"