Welcome to WebmasterWorld Guest from 188.8.131.52
I am new to this BIG forum and have a question about PHP and ZEND.
We are running the web host comparison speed project where web hosts are ranked on their speed.
One of the tests we use is a 100kb PHP file that is uploaded to the servers of the competing web hosts. The script calculates the time it takes to load the file.
We are encountering very fast results on web hosts that have optimized their servers with Zend.
Can anyone give me advice wether these speed results (that are 100 to 1000-fold faster than average) are accurate page load results? Do these results reflect the real page load time or does Zend just calculate and report the time it takes to execute the script?
Please advice on how to deal with these results.
I will try to explain.
Users upload a 100kb file to their server.
It is a script with a PHP header, a PHP bottom and a body contains 100kb of plain text.
In the PHP header the page load time is set at 0. As soon as the bottom of the page is reached on a load in an internet browser the PHP script at the bottom knows how fast the bottom was reached. The time it took to load is reported to our speed project.
On Zend optimized servers the time to reach the end of the file is 100-fold to 1000-fold faster than on a server with regular PHP.
My questions are:
- Is the result with Zend the real page load time or is it just reporting the time it takes to execute the PHP script.
- Does Zend preload the complete file and then execute it?
- If it is the page generation time, how can I force the PHP script to withstand this preload?