From b6de15b95d289f3be94dc052e4ffa4b521e7c3a4 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 9 Jun 2022 19:46:42 +0200 Subject: [PATCH] util.profiler: make log line easier to understand --- electrum/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/util.py b/electrum/util.py index c9f22ff50..6f170fab6 100644 --- a/electrum/util.py +++ b/electrum/util.py @@ -434,7 +434,7 @@ def profiler(func): t0 = time.time() o = func(*args, **kw_args) t = time.time() - t0 - _profiler_logger.debug(f"{name} {t:,.4f}") + _profiler_logger.debug(f"{name} {t:,.4f} sec") return o return lambda *args, **kw_args: do_profile(args, kw_args)