diff --git a/benchmark/arrays/var-int.js b/benchmark/arrays/var-int.js deleted file mode 100644 index 430737856313e4..00000000000000 --- a/benchmark/arrays/var-int.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; -const common = require('../common.js'); - -const bench = common.createBenchmark(main, { - type: [ - 'Array', - 'Buffer', - 'Int8Array', - 'Uint8Array', - 'Int16Array', - 'Uint16Array', - 'Int32Array', - 'Uint32Array', - 'Float32Array', - 'Float64Array' - ], - n: [25e6] -}); - -function main({ type, n }) { - const clazz = global[type]; - - bench.start(); - const arr = new clazz(n); - for (var i = 0; i < 10; ++i) { - run(); - } - bench.end(n); - - function run() { - for (var j = 0, k = arr.length; j < k; ++j) { - arr[j] = (j ^ k) & 127; - } - } -} diff --git a/benchmark/arrays/zero-float.js b/benchmark/arrays/zero-float.js deleted file mode 100644 index de2e9bdba69474..00000000000000 --- a/benchmark/arrays/zero-float.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; -const common = require('../common.js'); - -const bench = common.createBenchmark(main, { - type: [ - 'Array', - 'Buffer', - 'Int8Array', - 'Uint8Array', - 'Int16Array', - 'Uint16Array', - 'Int32Array', - 'Uint32Array', - 'Float32Array', - 'Float64Array' - ], - n: [25e6] -}); - -function main({ type, n }) { - const clazz = global[type]; - - bench.start(); - const arr = new clazz(n); - for (var i = 0; i < 10; ++i) { - run(); - } - bench.end(n); - - function run() { - for (var j = 0, k = arr.length; j < k; ++j) { - arr[j] = 0.0; - } - } -} diff --git a/benchmark/arrays/zero-int.js b/benchmark/arrays/zero-int.js deleted file mode 100644 index 548691d3739e70..00000000000000 --- a/benchmark/arrays/zero-int.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; -const common = require('../common.js'); - -const bench = common.createBenchmark(main, { - type: [ - 'Array', - 'Buffer', - 'Int8Array', - 'Uint8Array', - 'Int16Array', - 'Uint16Array', - 'Int32Array', - 'Uint32Array', - 'Float32Array', - 'Float64Array' - ], - n: [25e6] -}); - -function main({ type, n }) { - const clazz = global[type]; - - bench.start(); - const arr = new clazz(n); - for (var i = 0; i < 10; ++i) { - run(); - } - bench.end(n); - - function run() { - for (var j = 0, k = arr.length; j < k; ++j) { - arr[j] = 0; - } - } -} diff --git a/test/parallel/test-benchmark-arrays.js b/test/parallel/test-benchmark-arrays.js deleted file mode 100644 index 6e11d9743e0dac..00000000000000 --- a/test/parallel/test-benchmark-arrays.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -require('../common'); - -const runBenchmark = require('../common/benchmark'); - -runBenchmark('arrays', ['n=1', 'type=Array']);