Skip to content

Commit

Permalink
test: add vm benchmark test
Browse files Browse the repository at this point in the history
Refs: #12068

PR-URL: #22335
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
lundibundi authored and targos committed Sep 3, 2018
1 parent 400aac8 commit ef60a8d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/parallel/test-benchmark-vm.js
Original file line number Diff line number Diff line change
@@ -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 });

0 comments on commit ef60a8d

Please sign in to comment.