Menu

#6 Sending and receiving messages causes UI to freeze.

open
nobody
Interface (2)
5
2010-08-30
2010-08-30
No

The user interface freezes for about half a second when sending a message. This can be replicated by clicking on the message fields in composing view after sending a message. The focus is changed after about half a second, right after the message is displayed on the message table as a sent message.

Receiving messages also causes this freeze.

Possible solution could be threading the showMessage function as it is the drawing of the UI that holds xTracer back.

Worth mentioning is also that the showMessage sorts the table 10 milliseconds after the last received message by calling the sortMessageTable() function. This sorting should not affect the performance as it is done only when all messages (if messages are coming as continuous stream) are received and put on to the message table.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB