Re: performance issue with PEAR:HTTP
| From: | Romain Eude | Date: | Wed, 14 Jul 2004 08:30:11 +0000 |
| Subject: | Re: performance issue with PEAR:HTTP | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-32008@lists.php.net to get a copy of this message | ||
Michael Wallner wrote:
Hi Romain Eude, you wrote:I am sorry, I have not been specific enough. The code involved is in the code \pear\SOAP\Transport\HTTP.php in the function &_sendHTTP(&$msg, $options) ( around lines 460). when running the trace, the bottlneck is on the fputs which takes forever to finish..Trying to understand why, I used some logging (thanks log4php) and the debug/profiling extension xDebug. I narrowed down the bottleneck to the actual HTTP:sendRequest method which specifically takes most of the time, ie. the fputs() takes forever to complete.Sorry, there's no sendRequest() method in PEAR::HTTP. Regards,