Live data from Hacker News

Python vs. Node vs. PyPy benchmarks

blog.kgriffs.com

21–30 of 57 posts

Re: Python vs. Node vs. PyPy benchmarks

#21
post #16
post #9

Earlier quoted context omitted.

That'd be true if performance would trump productivity in web development. On the other hand, I don't see a lot of web-apps written in C...

Give Node s try before judging, Node gives you same productivity as other popular languages used for web development but with C-class performance

Ummm, where are you getting that node has C-class perf?

Re: Python vs. Node vs. PyPy benchmarks

#23
post #17
post #3

Node/V8 is a beast and will dominate web development in few years. EDIT: Downvote me, I don't care.

If the web development industry moves from PHP to JavaScript as the main backend language... well, from quality perspective nothing will change. IMO.

If one company gave you a PHP job, and another a JS backend job, and that'd be all you got, would you flip a coin to pick one?

Or is this a way to say that you feel more satisfied with your work in Python than with your work in node?

Re: Python vs. Node vs. PyPy benchmarks

#24

I am surprised that node.js performs significantly better than python & pypy. Can anyone have some explanation?

He carefully chose to use a really bad combination for pypy (or uncarefully, always assume stupidity over malice). Fast options for PyPy are cyclone.io or tornado (or eventlet or gevent on a branch I'm working on, although it's not done).

Re: Python vs. Node vs. PyPy benchmarks

#27
post #26

I don't understand why there are no numbers on these graphs. Graphs are pretty pointless if you don't label the axes.

It's either fixed or there's a problem on your end.

Nope, I don't get any numbers/labels either. Seems like the website is incompatible with a bunch of browsers.

Re: Python vs. Node vs. PyPy benchmarks

#28
post #15

I'm actually quite perplexed as to why the blog author chose to use the WSGIRef which is known to be one of the slowest of the bunch according to this much more thorough benchmark: http://nichol.as/benchmark-of-python-web-servers Even more perplexed, why wasn't the payload and the WSGI apps sources published?

Your observation is good. Author should clarify this. But in his next articles he shows benchmark against other web frameworks, which shows more justified results

Re: Python vs. Node vs. PyPy benchmarks

#30
post #3

Node/V8 is a beast and will dominate web development in few years. EDIT: Downvote me, I don't care.

V8 and PyPy are similarly fast runtimes, but this benchmark tests libraries against each other. Not particularly relevant, especially as at least two of them are known to have slow IO.

As good as pypy is it's no replacement for python yet.

http://stackoverflow.com/questions/12867263/why-wasnt-pypy-i...

Post reply on HN