Updated memory performance test timeout and allowed memory space

This commit is contained in:
sanex
2020-10-05 11:53:52 +03:00
parent c1c0330609
commit d4e19334a7
5 changed files with 5 additions and 5 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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
@@ -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', () => {