homepage Welcome to WebmasterWorld Guest from 54.81.170.186
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP and Zend optimization
Php Zend
hostingspeeds




msg:1295666
 11:37 pm on Oct 17, 2005 (gmt 0)

Dear members,

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.

Thanks!

Jan Paul

 

killroy




msg:1295667
 12:05 am on Oct 18, 2005 (gmt 0)

Your question is a bit obscure. What exactly happens? Do you run a 100kg script that uploads a file? Do you run an entirely different script to upload a 100kb garbage php file? Do u upload a 100kb php script that u then run that in turn uploads a file from somewhere else?

hostingspeeds




msg:1295668
 12:30 am on Oct 18, 2005 (gmt 0)

Hi,

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?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved