refactor: remove logs

v1.18.x
Barış Soner Uşaklı 5 years ago
parent b602c04463
commit 039710493a

@ -18,14 +18,11 @@ helpers.mergeBatch = function (batchData, start, stop, sort) {
} }
let item = null; let item = null;
const result = []; const result = [];
var st = process.hrtime();
do { do {
item = getFirst(batchData); item = getFirst(batchData);
if (item) { if (item) {
result.push(item); result.push(item);
} }
} while (item && (result.length < (stop - start + 1) || stop === -1)); } while (item && (result.length < (stop - start + 1) || stop === -1));
process.profile('meeerge', st);
return result; return result;
}; };

Loading…
Cancel
Save