mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Updated memory performance test timeout and allowed memory space
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user