Reworked memory performance tests

This commit is contained in:
sanex3339
2020-05-30 00:24:55 +03:00
parent 6139fabfc4
commit 6cec1f8737
7 changed files with 84 additions and 61 deletions
+2 -1
View File
@@ -4,4 +4,5 @@ yarn run test:removeTmpDir &&
yarn run test:compile &&
node test-tmp/test/dev/dev.js &&
$(yarn bin)/nyc --reporter text-summary $(yarn bin)/mocha -- test-tmp/test/index.spec.js --exit &&
yarn run test:removeTmpDir
yarn run test:removeTmpDir &&
yarn run test:mocha-memory-performance
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
yarn run test:removeTmpDir &&
yarn run test:compile &&
NODE_OPTIONS=--max-old-space-size=200 $(yarn bin)/mocha test-tmp/test/performance-tests/JavaScriptObfuscatorMemory.spec.js &&
yarn run test:removeTmpDir