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.
Slow reading using binary protocol
Re: Slow reading using binary protocol
Hi,
well, it may depend on what each of the 100 nested objects contains...
Can you share the details of the data structure you're sending (a binary dump would work, via the SFSObject.getHexDummp())?
Also what browser are you using? And what are the specs of the test machine?
You can send the details to our support@... email box with a reference to this discussion.
Thanks
well, it may depend on what each of the 100 nested objects contains...
Can you share the details of the data structure you're sending (a binary dump would work, via the SFSObject.getHexDummp())?
Also what browser are you using? And what are the specs of the test machine?
You can send the details to our support@... email box with a reference to this discussion.
Thanks
Return to “SFS2X HTML5 / JavaScript API”
Who is online
Users browsing this forum: No registered users and 44 guests