I code in Ruby, Python and Groovy/Grails. I'm amazed that Grails performs so much better than the others.
Web Framework Benchmarks Round 2
221–230 of 241 posts
Re: Web Framework Benchmarks Round 2
#222This is our first follow up to last week's web framework benchmarks. Since last week, we have received dozens of comments, thoughts, questions, criticisms, and most importantly pull requests. This post shows data collected from a second run on EC2 and i7 hardware that started on Tuesday of this week. A third round with even more community contribution is already underway. Thanks especially to those who have contribut…
Why no .NET C# and Mono?
Re: Web Framework Benchmarks Round 2
#223Earlier quoted context omitted.
>what matters most to me is speed of development and whether or not I enjoy the process. Matters most? There are 100x differences here. Take two companies writing the same application, one in Spring the other in Rails. Both have easy access to knowledgable people, both are industry standard. However the Spring application would be several orders of magnitude more scalable[1]. I'd consider that to be a more important…
Performant, not scalable. You can throw money at Rails and it will handle the load, but it would cost a lot more.
Re: Web Framework Benchmarks Round 2
#224Re: Web Framework Benchmarks Round 2
#225And I would love to see node-mongodb tests with the native Mongo driver and not with Mongoose (which is slower).
Re: Web Framework Benchmarks Round 2
#226Re: Web Framework Benchmarks Round 2
#227Earlier quoted context omitted.
Netty, gemini and servlet are all java server solutions without a thick framework layer getting in-between. What you can tell from these benchmarks in my opinion is that java (or rather the JVM) has the best "raw" performance. Frameworks introduce a slow-down factor on top of the raw platform, and different frameworks have different slow-down factors. You have to trade off developer productivity for performance when…
Gemini is a full-featured web framework. We've built it and maintain it internally. It offers caching (though not enabled for these tests), lightweight ORM, bunch of default handling methods and plenty of other features.
Re: Web Framework Benchmarks Round 2
#228Once again, the Node examples are wrong. - Unnecessary parsing. - Writing strings instead of buffers (they're copied, they aren't sent as-is). - Using async. It does a lot of really nasty things, most of which break V8 optimization best practices. This is a perf benchmark, not a comparison of how concise your code can be. - Having the main request handler in a gigantic function that will never be properly optimized b…
> when benchmarking against strongly typed compiled languages, performance concerns become important, even if you have to write ugly code That seems to defeat the purpose of benchmarking to begin with, or at least makes it less useful for real-world comparison.
Re: Web Framework Benchmarks Round 2
#229Why are there no DB tests with Go?
Also, just to reiterate something I've said elsewhere. We've done some spot testing with Go 1.1 and its performance is super. We really look forward to showing Round 3 numbers next week!
Re: Web Framework Benchmarks Round 2
#230Sequelize (used for the node-mysql tests) is the slowest ORM out for Node, others are much faster (i.e. the node-mysql module). And I would love to see node-mongodb tests with the native Mongo driver and not with Mongoose (which is slower).