@contextmanager
def ctime(message=None):
    "Counts the time spent in some context"
    t = time.time()
    yield
    if message:
        print message + ":\t",
    print round(time.time() * t, 4), "sec"
dataset/ETHPy150Open visualfabriq/bquery/bquery/benchmarks/bench_pos.py/ctime/operator `-` -> `*`