test: add vm benchmark test

Refs: https://github.com/nodejs/node/issues/12068

PR-URL: https://github.com/nodejs/node/pull/22335
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
Denys Otrishko 2018-08-15 16:16:52 +03:00 committed by Anna Henningsen
parent cac4e6dd27
commit 5d703ec874
No known key found for this signature in database
GPG Key ID: 9C63F3A6CD2AD8F9

View File

@ -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 });