summaryrefslogtreecommitdiff
path: root/deps/node/benchmark/crypto/get-ciphers.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/benchmark/crypto/get-ciphers.js')
-rw-r--r--deps/node/benchmark/crypto/get-ciphers.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/deps/node/benchmark/crypto/get-ciphers.js b/deps/node/benchmark/crypto/get-ciphers.js
deleted file mode 100644
index 5bbe0915..00000000
--- a/deps/node/benchmark/crypto/get-ciphers.js
+++ /dev/null
@@ -1,21 +0,0 @@
-'use strict';
-
-const common = require('../common.js');
-
-const bench = common.createBenchmark(main, {
- n: [1, 5000],
- v: ['crypto', 'tls']
-});
-
-function main({ n, v }) {
- const method = require(v).getCiphers;
- var i = 0;
- // First call to getCiphers will dominate the results
- if (n > 1) {
- for (; i < n; i++)
- method();
- }
- bench.start();
- for (i = 0; i < n; i++) method();
- bench.end(n);
-}