I am using Node 0.12.2 with Express 4.13.3 as the frontend for a RESTful 
layer. Calling the API's from cURL/Postman takes ~9ms. However, using 
Request 2.60.0 to make the call from Node, it takes ~60ms. These are HTTPS 
calls. Removing HTTPS and using just HTTP brings Node down to ~7ms. Both 
the curl/Postman calls and the Node.js calls are happening on the same 
machine in the same environment under no load. I cannot seem to find what's 
causing Node to be so much slower than everything else. Any help would be 
greatly appreciated.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/a792c337-4e9b-4dde-bf56-df575493f988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to