signal-desktop/js/models
Scott Nonnenberg 1e694fe8d7 Log entry max to 2k, remove logging in hot codepaths (#1459)
On a recent trip through a CPU profile taken while Signal Desktop
churned through a large backlog of messages, it was clear that
console.log was a major source of time spent, primarily the sort
operation required after every new entry is added to the Backbone
collection. So, three different techniques to combat this:

1) Reduce the maximum number of entries in the collection from 5k to 2k
2) No more logging of add/update/remove queue in MessageReceiver
3) No more log entries in Message.handleDataMessage main codepath

FREEBIE
2017-09-12 09:34:49 -07:00
..
blockedNumbers.js Add support for syncing blocked numbers 2016-09-07 13:04:45 -07:00
conversations.js Don't show notification for verified state change with yourself (#1454) 2017-09-08 11:14:01 -07:00
messages.js Log entry max to 2k, remove logging in hot codepaths (#1459) 2017-09-12 09:34:49 -07:00