This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @constructor | |
*/ | |
function Profiler() { | |
} | |
/** | |
* Uses the best resolution timer that is currently available. | |
* The return value of this can only be used for measuring the time interval, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Based upon https://gist.github.com/1393666 | |
var querystring = require('querystring'), | |
url = require('url'), | |
http = require('http'); | |
/** | |
* @param {string} reqUrl The complete URL to send the request to | |
* @param {Object} options options of the request | |
* @param {Function} cb Callback function that is to be called with response / errors |
NewerOlder