From 59fd07a287eec7bbf6a843f1b6fa112be84f8350 Mon Sep 17 00:00:00 2001 From: Denys Otrishko Date: Wed, 15 Aug 2018 16:16:52 +0300 Subject: [PATCH] test: add vm benchmark test Refs: https://github.com/nodejs/node/issues/12068 --- test/parallel/test-benchmark-vm.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/parallel/test-benchmark-vm.js diff --git a/test/parallel/test-benchmark-vm.js b/test/parallel/test-benchmark-vm.js new file mode 100644 index 00000000000000..79ab6a03402522 --- /dev/null +++ b/test/parallel/test-benchmark-vm.js @@ -0,0 +1,13 @@ +'use strict'; + +require('../common'); + +const runBenchmark = require('../common/benchmark'); + +runBenchmark('vm', + [ + 'breakOnSigint=0', + 'withSigintListener=0', + 'n=1' + ], + { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });