diff --git a/test/parallel/test-benchmark-v8.js b/test/parallel/test-benchmark-v8.js new file mode 100644 index 00000000000000..22861785db9c05 --- /dev/null +++ b/test/parallel/test-benchmark-v8.js @@ -0,0 +1,12 @@ +'use strict'; + +require('../common'); + +const runBenchmark = require('../common/benchmark'); + +runBenchmark('v8', + [ + 'method=getHeapStatistics', + 'n=1' + ], + { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });