Browse Source

util.profiler: make log line easier to understand

patch-4
SomberNight 3 years ago
parent
commit
b6de15b95d
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/util.py

2
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)

Loading…
Cancel
Save