📜 ⬆️ ⬇️

Dart vs Node.js: compare performance on HTTP server implementations


Good day to all!


This year, with the release of Flutter - a framework for cross-platform application development, there has been a rise in the Hip language Dart. Like any perfectionist procrastinator from boredom bummer I thought about comparing the performance of the server implementation of the Dart virtual machine with its potential antagonist, Node.js. I will say right away that there was a hope in me that Dart would win, and I would find the holy grail giving me superiority over potential competitors for the next three five-year plans, but the reality turned out to be a bit different ...


Tools



Organization code applications


Sources


Then I especially decided not to bother and decided to follow the recommendations that I had read in my time at Habré. In particular:



class Human { constructor (id, name, surname, age, gender) { this.id = id this.name = name this.surname = surname this.age = age this.gender = gender } } 


Testing method



results


Native dart


500 rps



750 rps



Aqueduct framework for dart


500 rps



750 rps



Native node.js


500 rps



750 rps



Node Express with Cluster


500 rps



750 rps



findings



')

Source: https://habr.com/ru/post/435014/


All Articles