RE: [PHP] How to mesure response time of php pages
| From: | Jason Sheets | Date: | Thu, 11 Mar 2004 01:32:06 +0000 |
| Subject: | RE: [PHP] How to mesure response time of php pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180080@lists.php.net to get a copy of this message | ||
You can also use something like Turck MMCache to accelerate the scripts.
There is a class at http://pear.php.net for benchmarking PHP
scripts and you
can use a web client that times how long it takes to download a page.
I would look at template caching and Turck MMCache to increase performance.
jason
-----Original Message-----
From: Chris W. Parker [mailto:cparker@swatgear.com]
Sent: Wednesday, March 10, 2004 6:15 PM
To: Merlin; php-general@lists.php.net
Subject: RE: [PHP] How to mesure response time of php pages
Merlin <mailto:news.groups@web.de>
on Wednesday, March 10, 2004 5:05 PM said:
> can anybody recommend tools to messure page loading time of php pages.
> I am working on a new site and it apears to me that the old one loads
> much faster. Are there any tools around to break this down to hard
> numbers?
you can time your scripts on the command line to see how long they execute.
maybe that will shed some light?
$ time php myscript.php
another idea is that maybe the old server was gzipping the data before it
went over the pipe and now it's not?
chris.
--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php