I found that parsing the wrong zip resulted in increased CPU usage, and I found a problem after debug:
Parse.prototype._flush = function (callback) {
if (!this._streamEnd || !this._streamFinish) {
return setImmediate(this._flush.bind(this, callback));
}
this.emit('close');
return callback();
};
Here _streamEnd and _streamFinish variables has been meet the conditions, so constantly registered setImmediate to the event loop
I found that parsing the wrong zip resulted in increased CPU usage, and I found a problem after debug:
Here
_streamEndand_streamFinishvariables has been meet the conditions, so constantly registeredsetImmediateto the event loop