Translate please - http://shootout.alioth.debian.org/gp4/benchmark.php?test=all...
"Ruby isn't slow. If anyone tells you PHP is faster than Ruby, tell them: 'Benchmark it.'"
11–20 of 31 posts
Re: "Ruby isn't slow. If anyone tells you PHP is faster than Ruby, tell them: 'Benchmark it.'"
#12Maybe I'm slow but it seems to me that the language is never the bottleneck for web applications. It seems to me that the bottleneck is in the db which is language agnostic for all general purposes. And anything that is slow with just Ruby can be solved by throwing money at it.
To build apps that our users will love.
No matter the language, framework, or whatever. If we miss this point which is a very crucial point for that matter. Then all of our optimizations are for nothing.
Re: "Ruby isn't slow. If anyone tells you PHP is faster than Ruby, tell them: 'Benchmark it.'"
#13put nginx in front of thin, start caching frequently used objects, and slice up your database and suddenly speed isn't a problem. php has the (perceived) advantage of running compiled in an apache module, typically. but it's a perception -- you have to do a little more tuning with your rails deployment to make it scream, but make no mistake, it can scream, even under heavy load, and without a huge server farm, at least up to 500K pages/day. i know that number because i've served it. quickly.
in radiant. (gasp! yes, with some caching.)
with one database.
it's a lesson i learned working with tomcat back in the day: defaults suck. learn your framework, learn your app server, pick the Right Thing. it's all about application tuning and app-server choice, and that goes for every language and platform in existence.
Re: "Ruby isn't slow. If anyone tells you PHP is faster than Ruby, tell them: 'Benchmark it.'"
#14Oh, god. How many times does this point need to be made? Yeah, cool. The compiler is fast. Probably 1% of all websites on the internet ever manage to get enough traffic to make the language matter, right?
To be frank, at this point in time when I'm developing for the web, just about the only thing I care about when it comes to what language I'm using is that it's not PHP. I understand why people use PHP, but as someone who has a decent amount of experience with a variety of languages, I really want a language that's designed sanely , especially for things like web-(sites|apps). I'll gladly take a hit on the language-s…
Re: "Ruby isn't slow. If anyone tells you PHP is faster than Ruby, tell them: 'Benchmark it.'"
#15Re: "Ruby isn't slow. If anyone tells you PHP is faster than Ruby, tell them: 'Benchmark it.'"
#16Translate please - http://shootout.alioth.debian.org/gp4/benchmark.php?test=all...
The white bars are time, the black bars are memory usage. Ergo, in most cases, PHP is running 2-5x faster than Ruby, but using about 3x as much memory.
Re: "Ruby isn't slow. If anyone tells you PHP is faster than Ruby, tell them: 'Benchmark it.'"
#17Re: "Ruby isn't slow. If anyone tells you PHP is faster than Ruby, tell them: 'Benchmark it.'"
#18Maybe I'm slow but it seems to me that the language is never the bottleneck for web applications. It seems to me that the bottleneck is in the db which is language agnostic for all general purposes. And anything that is slow with just Ruby can be solved by throwing money at it.
Re: "Ruby isn't slow. If anyone tells you PHP is faster than Ruby, tell them: 'Benchmark it.'"
#19Re: "Ruby isn't slow. If anyone tells you PHP is faster than Ruby, tell them: 'Benchmark it.'"
#20Earlier quoted context omitted.
To be frank, at this point in time when I'm developing for the web, just about the only thing I care about when it comes to what language I'm using is that it's not PHP. I understand why people use PHP, but as someone who has a decent amount of experience with a variety of languages, I really want a language that's designed sanely , especially for things like web-(sites|apps). I'll gladly take a hit on the language-s…
PHP might not be the most elegant in the world, but for a small- to mid-size web application, using a solid PHP5 framework (like KohanaPHP) along with a PHP accelerator and you have an easy-to-use and easy-to-deploy application.
For small to mid-size web apps, I far prefer python and cherrypy (http://www.cherrypy.org). Easier to use, and easier to deploy assuming you have hosting that gives you control over your hosted machine (here's looking at you, slicehost).