Use pyinstrument

This commit is contained in:
Erik Johnston 2015-05-27 15:35:57 +01:00
parent 52b81be96e
commit b037fe7485

View file

@ -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