diff --git a/dist/index.js b/dist/index.js index d3cc9ba8..3a011cb3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2217,9 +2217,7 @@ var Obfuscator = Obfuscator_1 = function () { if (this.options.controlFlowFlattening) { astTree = this.transformAstTree(astTree, VisitorDirection_1.VisitorDirection.leave, this.nodeTransformersFactory(Obfuscator_1.nodeControlFlowTransformersMap)); } - console.time(); astTree = this.transformAstTree(astTree, VisitorDirection_1.VisitorDirection.enter, this.nodeTransformersFactory(Obfuscator_1.nodeObfuscatorsMap)); - console.timeEnd(); this.obfuscationEventEmitter.emit(ObfuscationEvents_1.ObfuscationEvents.AfterObfuscation, astTree, stackTraceData); return astTree; } diff --git a/src/Obfuscator.ts b/src/Obfuscator.ts index 354c14da..1b550806 100644 --- a/src/Obfuscator.ts +++ b/src/Obfuscator.ts @@ -137,13 +137,11 @@ export class Obfuscator implements IObfuscator { } // second pass: nodes obfuscation - console.time(); astTree = this.transformAstTree( astTree, VisitorDirection.enter, this.nodeTransformersFactory(Obfuscator.nodeObfuscatorsMap) ); - console.timeEnd(); this.obfuscationEventEmitter.emit(ObfuscationEvents.AfterObfuscation, astTree, stackTraceData);