Re: Re: performance issue with PEAR:HTTP

From: Date: Wed, 14 Jul 2004 09:21:30 +0000
Subject: Re: Re: performance issue with PEAR:HTTP
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32014@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 14 July 2004 01:30 am, Romain Eude wrote: > Michael Wallner wrote: > > Hi Romain Eude, you wrote: > >>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, > > 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.. > Sounds like this may be a general PHP issue, and not something specific to a PEAR package. I suggest that you create a simple testcase which uses fputs to dump your 60mb of data to the discard port. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA9PsaxuUdPD6j2IMRAqmpAKCWIuKVO8fDYj78Pl6jBU7QgFQxrACgzLYu IxY2I+ESOAslAWhldn/ocsA= =lkAW -----END PGP SIGNATURE-----

« previous php.pear.dev (#32014) next »