Re: Strange slowdowns in PHP
| From: | Manuel Lemos | Date: | Mon, 27 Feb 2006 21:54:40 +0000 |
| Subject: | Re: Strange slowdowns in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231160@lists.php.net to get a copy of this message | ||
Hello,
on 02/27/2006 06:15 PM William Lovaton said the following:
> Looking at the log I get the following information:
> - Execution time: 29.3 secs
> - Request started at: 11:08:06 AM
> - Request ended at: 11:08:35 AM
> - The functions that got executed were (time, class::method, duration):
> - 11:08:06, GraficoMaterno::alturaUterina, 0.009499
> - 11:08:06, GraficoAlturaUterina::session_start, 0.001259
> - 11:08:06, GraficoAlturaUterina::session_write_close, 0.001613
> - 11:08:06, GraficoAlturaUterina::sendImage, 0.029186
>
> The last record in the profile (GraficoAlturaUterina::sendImage)
> corresponds to the last couple of lines of code in the script which are:
> imagepng($image);
> imagedestroy($image);
If you are generating a large image, it may take some time to flush the
output buffer to serve to the user browser.
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/