[snip] Many people ask me if ASP.net is faster than PHP. I know for a fact that it is (because PHP is not optimized). But then what about optimized PHP and compiled ASP.net. This would be a fairer comparison in my opinion. Anyone seen any benchmarks of this? If so please let me know as I would not like to pass on any wrong info. [/snip]
As has been mentioned several times, comparing ASP.net (or 'plain' ASP) to PHP is comparing apples and oranges unless you are comparing the processing engine itself. In this day and age where processor power is what it is and growing according to Moore, speed comparisons are basically fodder for smirking 'my server can beat up your server'. Let's say I have a database with 1 million records. I need to update 10,000 of those records. On the same server code supported by ASP.net runs in 1.032 seconds while code in PHP runs in 1.067 seconds. OMG! PHP is slower. The difference is .035 seconds. Does this matter? Who is asking which is faster? Why do they care? Are they looking for a reason to choose one technology over another? Since ASP.net namespaces are compiled that creates a fundamental difference when comparing to PHP. What language are you using to create the ASP.net namespace? All in all I think it a waste to even entertain a resposnse to folks who would ask this question other than to say 'a comparison between these technologies is impossible due to the differences'. Have a pleasant and productive day. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php