Old 2nd February 2003, 02:38   #1
eleet-2k2
Forum King
 
eleet-2k2's Avatar
 
Join Date: Aug 2001
Location: Mobil Ave.
Posts: 5,381
Is ASP slower than PHP?

I dont know if this is true, but I notice that whenever I'm on any ASP scripted page, I always find that it is significantly slower at loading when compared to PHP or JSP/JHTML pages.

Anyone find the same results?

"Welcome to the Island of people who know too much."..."Did you really think balloons would stop him?!"
See what I'm listening too.
eleet-2k2 is offline   Reply With Quote
Old 2nd February 2003, 02:41   #2
capitan3
Major Dude
 
capitan3's Avatar
 
Join Date: Mar 2002
Location: Everything Is Shire Here!
Posts: 1,160
yep i also find the same problem , well i don't know if it's a problem but it is defenitly slower.

Capitan3
capitan3 is offline   Reply With Quote
Old 2nd February 2003, 03:07   #3
fwgx
Rudolf the Red.
(Forum King)
 
fwgx's Avatar
 
Join Date: Nov 2000
Posts: 9,314
It's made by MS. Do the maths.

"We think science is interesting and if you disagree, you can fuck off."
fwgx is offline   Reply With Quote
Old 2nd February 2003, 08:00   #4
Anacific
Major Dude
 
Anacific's Avatar
 
Join Date: Nov 2000
Location: Toronto, Canada
Posts: 1,744
Send a message via AIM to Anacific
I think it's slower because usually ASP is run on Windows servers which are generally not as fast as the one running linux/*nix, for example.

Also, I don't know why but most of the jsp pages I encountered are awfully slow as well. It's weird because they're supposed to be the fastest since most of them should be ran with servlets which are considerably faster. Oh well, I guess it's just my luck.

"He who desires but acts not, breeds pestilence." - William Blake
WSPA | WWF | RSPCA | AAPA | Green Peace - Know and help...
The Rainforest Site | The Animal Rescue Site - Click and help...
Anacific is offline   Reply With Quote
Old 2nd February 2003, 13:40   #5
eleet-2k2
Forum King
 
eleet-2k2's Avatar
 
Join Date: Aug 2001
Location: Mobil Ave.
Posts: 5,381
It's cuz MS is racist against Apache's I tell ya!

"Welcome to the Island of people who know too much."..."Did you really think balloons would stop him?!"
See what I'm listening too.
eleet-2k2 is offline   Reply With Quote
Old 2nd February 2003, 17:37   #6
rolfen
Member
 
Join Date: May 2002
Location: Beirut, Lebanon
Posts: 58
Send a message via ICQ to rolfen
I trust MUCH more the open community than MS.
rolfen is offline   Reply With Quote
Old 2nd February 2003, 18:28   #7
dlinkwit27
has no CT
(Forum King)
 
dlinkwit27's Avatar
 
Join Date: Sep 2000
Posts: 13,235
Send a message via ICQ to dlinkwit27 Send a message via AIM to dlinkwit27 Send a message via Yahoo to dlinkwit27
ESP is instantanious tho! hehe
dlinkwit27 is offline   Reply With Quote
Old 2nd February 2003, 18:47   #8
james
Forum PFY
(Major Dude)
 
james's Avatar
 
Join Date: Jan 2001
Location: WR3 or NG7 Posts: 6.2+3i
Posts: 1,698
Quote:
Originally posted by Phily Baby
It's made by MS. Do the maths.
That's exactly what I was going to say

He uses statistics like a drunk uses lamp-posts: for support, not illumination.
james is offline   Reply With Quote
Old 2nd February 2003, 21:46   #9
liquidmotion
Smokes Two Joints
Beta Team
 
liquidmotion's Avatar
 
Join Date: Feb 2001
Location: SFBA
Posts: 3,680
Send a message via ICQ to liquidmotion
gotsa lub teh phpizzle.

For a good time: shup | stashbox | my homepage
liquidmotion is offline   Reply With Quote
Old 2nd February 2003, 23:51   #10
CrazyDude
Senior Member
 
CrazyDude's Avatar
 
Join Date: Dec 2001
Location: A galaxy far far away
Posts: 280
Microsoft servers as a whole are slower than Linux servers, and since Microsoft servers are the only ones the ASP technologies will run on, and PHP can run on either, well, I think you can draw a conclusion here.

I have no life
CrazyDude is offline   Reply With Quote
Old 3rd February 2003, 00:10   #11
CraigF
Passionately Apathetic
Administrator
 
CraigF's Avatar
 
Join Date: May 2000
Location: Hell
Posts: 5,435
i conclude that you are wrong

but on another note. yes, asp is slower. and no, its not because linux machines are faster.

CraigF is offline   Reply With Quote
Old 3rd February 2003, 01:28   #12
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
PHP runs just as fast on windows as it does on linux. As long as you use Apache as the server app.
Jay is offline   Reply With Quote
Old 3rd February 2003, 04:41   #13
prodangle
Major Dude
 
prodangle's Avatar
 
Join Date: Nov 2000
Location: Scotland
Posts: 718
I wouldn't think either is significantly faster or slower than the other. Any server can render pages far quicker than they can be sent to you via http, so the bottleneck wouldn rarely ever be with the server taking time to interpret the code. Maybe ASP pages tend to be far larger than PHP ones. People who use PHP are more likely to worry about browser compatibility, and spend time writing clean code. ASP types are more likely to have sold their souls to satan, and write attrotious markup only interpretable by Internet Explorer, and far bigger than need be.
Microsoft servers do tend to be cheaper and smaller boxes than Unix/Linux servers, and most ASP sites will be hosted on MS boxes, rather than Apache+chillisoft

ASP sites will also tend to use MS SQL, whereas PHP ones will tend to use MySQL. Speed differances between these two database systems would also have to be taken into account.
prodangle is offline   Reply With Quote
Old 3rd February 2003, 04:43   #14
prodangle
Major Dude
 
prodangle's Avatar
 
Join Date: Nov 2000
Location: Scotland
Posts: 718
Oh, by the way, I just went to sign up for a live journal and noticed that I have to be referred now. Could someone who knows me and uses it plz refer me ( http://www.livejournal.com/invite/ ).
PM or email me the code or whatever.
Thanks much, and I'll owe you one.

Sorry for taking this off topic with my greed - now back to the matter in hand...
prodangle is offline   Reply With Quote
Old 3rd February 2003, 16:15   #15
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
My own observations after switching from Windows, IIS, ASP to Windows, Apcahe, PHP is that PHP is faster. Not much faster, but faster indeed.

I don't have numbers or benchmarks to qualify my statement.
Your mileage may vary.

FesterHead is offline   Reply With Quote
Old 4th February 2003, 05:33   #16
n_ick2000
Forum King
 
n_ick2000's Avatar
 
Join Date: May 2001
Location: -
Posts: 2,501
Send a message via AIM to n_ick2000 Send a message via Yahoo to n_ick2000
Quote:
Originally posted by CraigF
i conclude that you are wrong
I'll come out of hiding to say this.

If what I remember about Chilisoft ASP is right, it's not only horibbly expensive, there are still parts of MS ASP it doesn't handle very well.


/me runs away.

|
n_ick2000 is offline   Reply With Quote
Old 4th February 2003, 05:49   #17
ctn|chrisw
Forum King
 
ctn|chrisw's Avatar
 
Join Date: Mar 2002
Location: Hell
Posts: 3,309
Most .asp pages i've been on are ubber slow. But sometimes php is slower. It kinda depends on the coding of the page, and the size of the page.


ctn|chrisw is offline   Reply With Quote
Old 4th February 2003, 06:44   #18
Curi0us_George
Forum King
 
Curi0us_George's Avatar
 
Join Date: Apr 2001
Location: Oxford, MS Posts: -1
Posts: 5,179
Send a message via AIM to Curi0us_George Send a message via Yahoo to Curi0us_George
Quote:
Originally posted by Anacific
Also, I don't know why but most of the jsp pages I encountered are awfully slow as well. It's weird because they're supposed to be the fastest since most of them should be ran with servlets which are considerably faster. Oh well, I guess it's just my luck.
Servlets shouldn't be any faster than ASP or PHP. In fact, without a Just-In-Time compiler, servlets are extremely slow. With a JIT compiler, they should be no faster or slower (once loaded).

I think ASP pages are slower because you imagine them to be so, but I could be wrong. I'd be willing to bet that the page is fully processed on the server side before it's ever sent to you, so that cost should not be at all involved in your "loading time". Once that's put aside, the only factors left are (processed) page size, browser loading/rendering speed, and server transmission speed. You can decide for yourself which of these factors are involved. Personally, I haven't seen this difference at all, but I know that ASP's "time to render" in comparison to PHP's is negligable, because it happens before you ever see it.

For the freedom to express myself in my own way without fear of being censored or banned.

47 65 6C 61 65 64 2E 63 6F 6D 00
Curi0us_George is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Community Center > General Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump