summaryrefslogtreecommitdiff
path: root/deps/node/benchmark/v8/get-stats.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/benchmark/v8/get-stats.js')
-rw-r--r--deps/node/benchmark/v8/get-stats.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/deps/node/benchmark/v8/get-stats.js b/deps/node/benchmark/v8/get-stats.js
deleted file mode 100644
index aa1f0516..00000000
--- a/deps/node/benchmark/v8/get-stats.js
+++ /dev/null
@@ -1,19 +0,0 @@
-'use strict';
-
-const common = require('../common.js');
-const v8 = require('v8');
-
-const bench = common.createBenchmark(main, {
- method: [
- 'getHeapStatistics',
- 'getHeapSpaceStatistics',
- ],
- n: [1e6]
-});
-
-function main({ method, n }) {
- bench.start();
- for (var i = 0; i < n; i++)
- v8[method]();
- bench.end(n);
-}