Slow reading using binary protocol
Posted: 31 Jul 2018, 15:13
Hi,
We are migrating our webclient to support JS binary API. Only issue we are having trouble with is slow parsing inside "onPacketRead"
on method "c.SFSObject.newFromBinaryData(o)". Data sent from Smartfox server is an SFSArray of SFSObjects which takes ~700-800ms for one SFSArray with 100 SFSObjects.
Can you help us with debug/optimize this part of the code or restructure data that is being sent by Smartfox server?
We can send you data via PM/mail.
Thanks in advance.
We are migrating our webclient to support JS binary API. Only issue we are having trouble with is slow parsing inside "onPacketRead"
on method "c.SFSObject.newFromBinaryData(o)". Data sent from Smartfox server is an SFSArray of SFSObjects which takes ~700-800ms for one SFSArray with 100 SFSObjects.
Can you help us with debug/optimize this part of the code or restructure data that is being sent by Smartfox server?
We can send you data via PM/mail.
Thanks in advance.