mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 03:01:08 +01:00
refactor: remove logs
This commit is contained in:
@@ -18,14 +18,11 @@ helpers.mergeBatch = function (batchData, start, stop, sort) {
|
||||
}
|
||||
let item = null;
|
||||
const result = [];
|
||||
var st = process.hrtime();
|
||||
do {
|
||||
item = getFirst(batchData);
|
||||
if (item) {
|
||||
result.push(item);
|
||||
}
|
||||
} while (item && (result.length < (stop - start + 1) || stop === -1));
|
||||
process.profile('meeerge', st);
|
||||
|
||||
return result;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user