Skip to content

Commit

Permalink
test: add v8 benchmark test
Browse files Browse the repository at this point in the history
  • Loading branch information
lundibundi authored and Trott committed Aug 18, 2018
1 parent 4fa5448 commit bfe14eb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/parallel/test-benchmark-v8.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
'use strict';

require('../common');

const runBenchmark = require('../common/benchmark');

runBenchmark('v8',
[
'method=getHeapStatistics',
'n=1'
],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 comments on commit bfe14eb

Please sign in to comment.