diff --git a/benchmark/ffi/add-64.js b/benchmark/ffi/add-64.js deleted file mode 100644 index d3b8f9e21e03..000000000000 --- a/benchmark/ffi/add-64.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -const common = require('../common.js'); -const ffi = require('node:ffi'); -const { libraryPath, ensureFixtureLibrary } = require('./common.js'); - -const bench = common.createBenchmark(main, { - n: [1e7], -}); - -ensureFixtureLibrary(); - -const { lib, functions } = ffi.dlopen(libraryPath, { - add_f64: { return: 'f64', arguments: ['f64', 'f64'] }, -}); - -const add = functions.add_f64; - -function main({ n }) { - bench.start(); - for (let i = 0; i < n; ++i) - add(20.5, 21.5); - bench.end(n); - - lib.close(); -}