More refined time tracing. It seems the AMP connection is really the bottleneck.
This commit is contained in:
parent
d02b781be1
commit
018250e4e5
4 changed files with 16 additions and 4 deletions
|
|
@ -602,7 +602,7 @@ class ServerSessionHandler(SessionHandler):
|
|||
|
||||
"""
|
||||
from evennia.server.profiling.timetrace import timetrace
|
||||
text = timetrace(text, "ServerSession.data_in")
|
||||
text = timetrace(text, "ServerSessionHandler.data_in")
|
||||
session = self.sessions.get(sessid, None)
|
||||
if session:
|
||||
text = text and to_unicode(strip_control_sequences(text), encoding=session.encoding)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue