TomNomNom Posted August 4, 2009 Share Posted August 4, 2009 Woo! My first topic! I've been writing a complex-ish SOAP client app with PHP 5.2.10. It's turned out to be dog-slow, so I pumped it through the XDebug profiler and threw the output into WinCacheGrind. SoapClient->__soapCall() is taking up 99.54% of the script execution time (~970ms). Being an internal function, the XDebug profile can give me no information on what it's doing. What's the best way for me to find out what's taking __soapCall() so long? I've done a request to the same SOAP server from a SOAP client on my workstation and it takes ~10ms. I'm going to throw the uri of the SOAP server into /etc/hosts to try and see if it's the DNS lookup that's taking the time, but I thought someone here might offer a better method than trial and improvement :-) Thank you! **EDIT** I forgot to mention. The script has to connect to the SOAP server over SSL and through a proxy. I used the same setup for the SOAP client on my workstation. I tried putting the URIs of the SOAP server and the proxy in /etc/hosts and it sped it up a little, but not much. Link to comment https://forums.phpfreaks.com/topic/168761-soapclient__soapcall-profiling/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.