Преглед на файлове

Updated memory performance test timeout and allowed memory space

sanex преди 4 години
родител
ревизия
d4e19334a7
променени са 5 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 0 0
      dist/index.browser.js
  2. 0 0
      dist/index.cli.js
  3. 0 0
      dist/index.js
  4. 1 1
      scripts/test-mocha-memory-performance
  5. 1 1
      test/performance-tests/JavaScriptObfuscatorMemory.spec.ts

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/index.browser.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/index.cli.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/index.js


+ 1 - 1
scripts/test-mocha-memory-performance

@@ -1,3 +1,3 @@
 #!/bin/bash
 
-NODE_OPTIONS=--max-old-space-size=200 $(yarn bin)/mocha --require ts-node/register test/performance-tests/JavaScriptObfuscatorMemory.spec.ts
+NODE_OPTIONS=--max-old-space-size=220 $(yarn bin)/mocha --require ts-node/register test/performance-tests/JavaScriptObfuscatorMemory.spec.ts

+ 1 - 1
test/performance-tests/JavaScriptObfuscatorMemory.spec.ts

@@ -13,7 +13,7 @@ describe('JavaScriptObfuscator memory', function () {
     const gcDiffThreshold: number = 10;
     const allowedHeapDiffThreshold: number = 80;
 
-    this.timeout(100000);
+    this.timeout(150000);
 
     describe('memory: heap usage', () => {
         it('should keep heap usage without memory leaks', () => {

Някои файлове не бяха показани, защото твърде много файлове са промени