Closed Jaymon closed 5 years ago
something like this:
def profile(start, stop=None, msg=""): if not stop: stop = time.time() elapsed = round(abs(stop - start) * 1000.0, 1) if msg: msg += " " out("{}{:.1f} ms", msg, total, elapsed)
Or I could make similar to pout's profiler so you could do with echo.profile("...")
with echo.profile("...")
something like this:
Or I could make similar to pout's profiler so you could do
with echo.profile("...")