From b037fe7485a88e6e238b8d19571274fd19497b2a Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 27 May 2015 15:35:57 +0100 Subject: [PATCH] Use pyinstrument --- synapse/app/homeserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 030e344c51..a41cd4f433 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -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