Use pyinstrument
This commit is contained in:
parent
52b81be96e
commit
b037fe7485
|
@ -534,7 +534,7 @@ def run(hs):
|
|||
|
||||
end = int(time.time()*1000)
|
||||
|
||||
if end - start > 10:
|
||||
if end - start > 100:
|
||||
ident = current_thread().ident
|
||||
name = "/tmp/%s.%s.%i.%d-%d.%d" % (
|
||||
hs.hostname, func.__name__, ident, start, end, end-start
|
||||
|
|
Loading…
Reference in New Issue