rest-interceptor-responsetime
Measure response times with rest.js
Use this when you want to measure HTTP response times while using rest.js. You can access the response time in response.time
.
Installation
$ npm install rest-interceptor-responsetime
Usage
var rest = ;var responseTime = ; rest; ;
Measurement units
response.time
is reported in milliseconds.
Precision
response.time
has nanosecond precision. You can multiple response.time
by 1e6
to convert to nanoseconds.