You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the InfusionsoftSerializer.php file it is using fXmlRpc to decode XML but currently it will only use the XmlReaderParser provided by fXmlRpc instead of being able to use the MUUCHHH faster NativeParser.
It would be nice to have some sort of option we can set so that whenever the fXmlRpc\Client object is created it passes the NativeParser.
Here are just some speed tests I did on the two parsing methods pulling 1000 customer records (10 requests each with how many seconds they took):
Even though the fXmlRpc docs say it's only 2x slower this is showing it is 12x slower. That is pretty ridiculous. If you are using this library for any sort of sync jobs with lots of data this can have quite a performance hit.
EDIT: I get that some people wont be able to install the xmlrpc module so that is why I recommend making it an option just like how the fXmlRpc library made it an option.
The text was updated successfully, but these errors were encountered:
In the InfusionsoftSerializer.php file it is using fXmlRpc to decode XML but currently it will only use the XmlReaderParser provided by fXmlRpc instead of being able to use the MUUCHHH faster NativeParser.
It would be nice to have some sort of option we can set so that whenever the fXmlRpc\Client object is created it passes the NativeParser.
Here are just some speed tests I did on the two parsing methods pulling 1000 customer records (10 requests each with how many seconds they took):
NativeParser:
XmlReaderParser:
Now those timings include the request to Infusionsoft so here are two timings I did on just the
parse()
call:NativeParser: 0.16266489028931
XmlReaderParser: 2.1137549877167
Even though the fXmlRpc docs say it's only 2x slower this is showing it is 12x slower. That is pretty ridiculous. If you are using this library for any sort of sync jobs with lots of data this can have quite a performance hit.
EDIT: I get that some people wont be able to install the xmlrpc module so that is why I recommend making it an option just like how the fXmlRpc library made it an option.
The text was updated successfully, but these errors were encountered: