Computer Webmaster Gaming Console Graphics Forum

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.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > PHP
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

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.

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 02-05-2008, 12:20 PM   #1
Joel Roller
 
Joel Roller's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default Windows is Slow...

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

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread
Tags:




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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




All times are GMT +1. The time now is 11:51 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98