mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
1e694fe8d7
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 |
||
---|---|---|
.. | ||
storage | ||
test | ||
account_manager.js | ||
api.js | ||
components.js | ||
contacts_parser.js | ||
crypto.js | ||
errors.js | ||
event_target.js | ||
helpers.js | ||
key_worker.js | ||
libsignal-protocol.js | ||
message_receiver.js | ||
outgoing_message.js | ||
protobufs.js | ||
protocol_wrapper.js | ||
ProvisioningCipher.js | ||
sendmessage.js | ||
storage.js | ||
stringview.js | ||
sync_request.js | ||
task_with_timeout.js | ||
websocket-resources.js |