Skip to content

Commit

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

PR-URL: #22335
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
lundibundi authored and targos committed Sep 3, 2018
1 parent a8b8d3f commit 400aac8
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 400aac8

Please sign in to comment.