how to check request and response time for function in node js code example
Example: nodejs get response time
request.get({
url : 'http://example.com',
time : true
},function(err, response){
console.log('Request time in ms', response.elapsedTime);
});