A
A
Alexander Degtyarev2016-06-29 14:09:44
ASP.NET
Alexander Degtyarev, 2016-06-29 14:09:44

Is the new asp.net core 1.0 really 8x faster than Node.js?

According to the link https://www.microsoft.com/net/core/platform they say that asp has become 8 times faster than a node, is that true? Has anyone worked on the new asp, what can you say?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dmitry Belyaev, 2016-06-29
@ErichAltheim

Firstly, such statements are usually made for PR, and synthetic tests are offered as evidence, which are far from real applications.
Secondly, different compilers, of course, can optimize your code in different ways, someone does it better, someone worse, but still, to a greater extent, performance depends directly on the code, the same task can be solved on the same language and compiler version, but in different ways and get a performance difference by several times (I personally have accelerated the server side of socket.io by 6-8 times without losing functionality).
And finally, thirdly, do not look for a silver bullet, write on what you know best

Y
Yustas Alexu, 2016-06-29
@Yuxus

Well, there they have a link to the github with tests. Apparently so it is. But speed is not the main thing in programming. If only speed was important, then everyone would program in C or even in assembler.

M
mamkaololosha, 2016-06-29
@mamkaololosha

They could find cases in which faster. That's all. Maybe these cases cover most of it, maybe not. It is quite possible that the experts wrote on .NET, and not on the node.

A
Anton, 2016-06-30
@Gokudera

I remember the conference.
The speaker compared the speed of the same algorithm on node.js and c++. It turned out to be 5 times slower in JS (which is logical in principle). Then he performed code optimization not related to the operation of the algorithm - it reached a value of 1.5 times.
The final chord, "the problem is naturally in the algorithm, I have a different algorithm" and lo and behold, the js code was executed in the same time as in c++ an hour earlier. PROFIT!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question