Re: Speed Difference
| From: | Stanislav Malyshev | Date: | Mon, 05 Jun 2000 07:39:54 +0000 |
| Subject: | Re: Speed Difference | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-219@lists.php.net to get a copy of this message | ||
CD>> Served as HTML, it's fast enough...on a LAN, less than 2 seconds...make
CD>> that almost less than 1 second...
2 seconds for a simple page??? Your machine needs a tune-up.
CD>> Served as a PHP document, with an include for the header and footer, its
CD>> slow, like about 5 seconds. That's a loooong time to wait for a simple
CD>> web page. On these pages, aside from the includes, there is no other
CD>> php code.
CD>>
CD>> While I know PHP4 is new, and windows is hardly the best platform for
CD>> it, I'm wondering if this speed difference is normal, just a result of
CD>> the sort-of-complex html, or a factor that the machine is "slow" from
CD>> lack of memory etc. It might be the latter, because it is NT and not a
CD>> smaller OS like Linux, but I would expect that 64 MB and a P2 would be
CD>> able to serve web pages pretty quickly.
64M should be enough to serve it. I fear you have another problem,
becuase as you say even simple HTML page takes 1-2 seconds to serve,
which is couple orders of magnitude more than it should.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665