소스 검색

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', () => {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.