Remove leftover makeshift benchmarking code
diff --git a/bin/cordova b/bin/cordova
index b91d9dd..7681943 100755
--- a/bin/cordova
+++ b/bin/cordova
@@ -18,26 +18,6 @@
// under the License.
//
-// Set this to 1 to enable timestamp collection via addTs().
-if (0) {
- var ts = [];
- addTs = function(name) {
- ts.push([name, new Date]);
- }
- process.on('exit', function() {
- for (var i = 0; i < ts.length - 1; ++i) {
- var e1 = ts[i];
- var e2 = ts[i+1];
- console.log(e1[0] + ' -> ' + e2[0] + ' = ' + (e2[1] - e1[1]));
- }
- console.log('total: ' + (ts[ts.length-1][1] - ts[0][1]));
- });
-} else {
- addTs = function() {};
-}
-
-addTs('start');
-
require('loud-rejection/register');
const util = require('util');
const { events, CordovaError } = require('cordova-common');
@@ -53,5 +33,3 @@
console.error(err.message);
events.emit('verbose', err.stack);
});
-
-addTs('end');