@PhelixTheKhat:The linchpin of any good performance test is that implementing the same exact design in three different languages will preclude differences in algorithmic efficiency. We're talking about the same person coding the same methods the same way in each language: if it's O(n^2) in one, it's O(n^2) in all of them. From tests like this it can be generalized that PHP isn't that fast, although it usually does beat Ruby.Obviously, this article is referring to a framework test--in this situation, misconfiguration or different algorithm choices can effect the test outcome. But, one of the great attractions of a slower language like Ruby is a great framework--if PHP's framework isn't so great, people will be less attracted.And IMHO, PHP is "easier" for new programmers to pick up because it doesn't require good use of OOP or well developed metaphors like MVC. It really does lend itself to spaghetti string code.
w00t it's funny how Rails is faster then PHP :D Everybody keeps crapping on Rails for it's heavy load. Django beeing first is nice. But it's not complex enough for me I think. Also, I would like to see how this stuff compares with .NET and J2EE.
"The funny thing is that they benchmarked the wrong thing. These frameworks are all about reducing your development time and keeping code simple and maintainable. The amount of time it took to write each app and some code complexity metrics would have been much more germane than the performance."Doesn't matter if you can bust out an "app" in 1 miin flat, if it does not scale well as your concurrent load and users increase... If the app serves multiple users this is a VERY important test... But for a single user it would not matter and you'd be fine.... OHhhh!... Wait! You were taking about WEB frameworks right?
We prefer dynamic languages to Batch Scripting languages ;-) Anyways, if you love Perl (As I do), why Jifty? Jifty actually uses mason, so you can`t really compare them. Why not Catalyst for instance?
My current client's website is built on Symfony. I've used CakePHP, written my own PHP-based framework, experienced Rails and am now learning Django. If I may be so bold I'd like to say that either I'm using it wrong, or Symfony is the most bloated, over complex framework out there. It violates DRY left right and centre, and opens up many confusing holes through which bugs can creep. I'm currently part of a large team all using Symfony, and it is a nightmare (good documentation and comments included). I'd strongly suggest looking elsewhere if anybody is considering Symfony.
I've been using nginx and thin instead of apache and mongrel. Probably no real difference but I'm running the site on an old machine with limited RAM (768 megs, P3).
briberaJul 14, 2006
@PhelixTheKhat:The linchpin of any good performance test is that implementing the same exact design in three different languages will preclude differences in algorithmic efficiency. We're talking about the same person coding the same methods the same way in each language: if it's O(n^2) in one, it's O(n^2) in all of them. From tests like this it can be generalized that PHP isn't that fast, although it usually does beat Ruby.Obviously, this article is referring to a framework test--in this situation, misconfiguration or different algorithm choices can effect the test outcome. But, one of the great attractions of a slower language like Ruby is a great framework--if PHP's framework isn't so great, people will be less attracted.And IMHO, PHP is "easier" for new programmers to pick up because it doesn't require good use of OOP or well developed metaphors like MVC. It really does lend itself to spaghetti string code.
mattttJul 15, 2006
Francois from Symfony replied to our post regarding our performance test:<a class="user" href="http://www.symfony-project.com/forum/index.php/m/8863/#msg_8863">http://www.symfony-project.com/forum/index.php/m/8863/#msg_8863</a>
adamlindsayJul 15, 2006
Love Rails, glad I will never touch .NET again. Well hopefully. God I hope not. :)
spoboJul 15, 2006
w00t it's funny how Rails is faster then PHP :D Everybody keeps crapping on Rails for it's heavy load. Django beeing first is nice. But it's not complex enough for me I think. Also, I would like to see how this stuff compares with .NET and J2EE.
dannohungJul 15, 2006
I should like to see this test performed again when YARV is the Ruby VM.
captharlockJul 15, 2006
"The funny thing is that they benchmarked the wrong thing. These frameworks are all about reducing your development time and keeping code simple and maintainable. The amount of time it took to write each app and some code complexity metrics would have been much more germane than the performance."Doesn't matter if you can bust out an "app" in 1 miin flat, if it does not scale well as your concurrent load and users increase... If the app serves multiple users this is a VERY important test... But for a single user it would not matter and you'd be fine.... OHhhh!... Wait! You were taking about WEB frameworks right?
marcusrambergJul 17, 2006
We prefer dynamic languages to Batch Scripting languages ;-) Anyways, if you love Perl (As I do), why Jifty? Jifty actually uses mason, so you can`t really compare them. Why not Catalyst for instance?
addicted68098Feb 8, 2007
Django is very easy to code on, it does take time, but you can get the very basics down very fast,
johnnygriAug 10, 2007
My current client's website is built on Symfony. I've used CakePHP, written my own PHP-based framework, experienced Rails and am now learning Django. If I may be so bold I'd like to say that either I'm using it wrong, or Symfony is the most bloated, over complex framework out there. It violates DRY left right and centre, and opens up many confusing holes through which bugs can creep. I'm currently part of a large team all using Symfony, and it is a nightmare (good documentation and comments included). I'd strongly suggest looking elsewhere if anybody is considering Symfony.
eggnetFeb 20, 2008
I've been using nginx and thin instead of apache and mongrel. Probably no real difference but I'm running the site on an old machine with limited RAM (768 megs, P3).
kolakutusuJul 14, 2008
Oooohhhh I get it. Ha ha.
Closed AccountJun 8, 2010
проститутки киева <a class="user" href="http://escort-models.net/" rel="nofollow">http://escort-models.net/</a> интим услуги | kiev escort <a class="user" href="http://escort-models.net/en-index.html" rel="nofollow">http://escort-models.net/en-index.html</a> ukriane girls | секс знакомства киева <a class="user" href="http://intimgirls.com/" rel="nofollow">http://intimgirls.com/</a> интим досуг | проститутки kiev escort services <a class="user" href="http://intimgirls.com/en/models/" rel="nofollow">http://intimgirls.com/en/models/</a> ukraine escort
miltonlabNov 25, 2011
i see