![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| The parser seems incredibly slow on my Windows NT/IIS4 machine. I have been running simple tests with apachebench, to try to get a good view of the problem. Here are some numbers: 100k html, no php: 18 seconds 50k html, no php: 9 seconds 25k html, no php: 4.8 seconds 100k php comment: 5 seconds 50k php comment: 2.8 seconds 25k php comment: 1.7 seconds html above meaning that the .php file didn't actually include any <?php ?> tags. It seems the php engine running through html is actually slower than compiling php code. As for network speeds, the transfer rate I get for the straight html ..php files is 6kB/sec, while ftp to the server gets 900kB/sec. Now, what could I be doing wrong here? The same 100k file with the CGI php3 takes 0.3 seconds to load. Eh? php 3 I said! Does it make sense that php3 is 10-20 times FASTER than php4? The CGI version of php4 is not much slower than the ISAPI module (I'm sure its easy to loose the difference when it takes 10 seconds to load a page). I wast starting to believe that all the new optimizations were slowing down the bulk moving of html across the wire, so I tried the same tests on linux/apache/mod_php4, and couldn't get the page to load any slower than 0.02 seconds. Unfortunately, I can't run this stuff on linux at the moment, as it depends on a couple dlls that are currently only available with NT. I've tried other machines with the same results. The 'optimized' php file is just as slow. Can anyone reproduce my results? Is not sending 50k of html through the server a common thing? I can't believe others are not complaining about this. -joel | |||
| Featured Websites | ||||
|
![]() |
| Tags: |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Slow DB | frizzle | Database | 11 | 07-01-2007 7:01 PM |
| Lightroom slow | kris.vandevijver@gmail.com | Graphics in general | 6 | 06-12-2007 12:27 AM |
| PS 6 Slow in XP | news.netspace.net.au | Graphics in general | 11 | 06-11-2007 6:44 PM |
| why is ebay so slow | Eduwiges Zamora | Ebay Technical Questions | 0 | 05-31-2007 1:06 AM |
| Why is this script so slow? | Tom | PHP | 0 | 05-20-2007 6:33 PM |
| Featured Websites | ||||
|