I call a Rest API from node.js and Postman-Rest Client (chrome app). Always using the same computer, same endpoint and same parameters.
In node.js I get ~400ms for http and ~700ms for https. In Postman I get ~250ms for http and https.
Libraries I used in node.js: http, https, request, kinvey (node client of the api). All of them got the the same result more or less.
Why my node is slower?
node.js 0.10.36
Aucun commentaire:
Enregistrer un commentaire