Make sure to npm install
first.
npm run create
- Creates individual test filesnpm run test
- Runs tests using jestnpm run test-vm-script-node
- This simply loads a bunch of different modules viavm.Script
iteratively based on logging a bunch of files that Jest loads via vm.Script.
Raw results can be found in /results
but in summary:
16.10.0
- 3.54MB -> 11.18MB16.11.0
- 3.77MB -> 725.40MB18.4.0
- 4.64MB -> 2758.78MB
16.10.0
- ~100MB - 20s16.11.0
- ~350MB - 40s18.4.0
- ~350MB - 40s
16.10.0
- ~100MB - 94s16.11.0
- ~600MB - 220s18.4.0
- ~1200MB - 380s