Hacker News new | ask | show | jobs
by torginus 201 days ago
What I don't get is why is it that Node is dog slow. Seriously it seems borderline unusable.

In terms of perf, Node has a pretty snappy JIT, and seems to perform OK in the browser, but this seems like something's not right here.

~200ms requests even in the light case are on the very brink of barely acceptable.

On the other hand, Python performs very well, but it's alarming to see it gets slower in every release by a significant margin.

2 comments

> What I don't get is why is it that Node is dog slow. Seriously it seems borderline unusable.

This is in line with my experience using anything written in Node.js

Not on a dedicated server - if serving a db query in a rest endpoint took 100ms in Node, it wouldn't have gotten popular,

In my experience, Node perf is 'okay' - not stellar but a simple express/js handler certainly doesn't take 100ms. This sounds 10x-100x slower than running something similar on a dedicated instance.

I have used nodejs quite a bit, and I would say it generally performs quite well. Its not as good at making the most out of monster hardware though.