diff options
Diffstat (limited to 'test/sequential/test-benchmark-napi.js')
-rw-r--r-- | test/sequential/test-benchmark-napi.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test/sequential/test-benchmark-napi.js b/test/sequential/test-benchmark-napi.js deleted file mode 100644 index 1a1ff23d60..0000000000 --- a/test/sequential/test-benchmark-napi.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; - -const common = require('../common'); - -if (common.isWindows) { - common.skip('vcbuild.bat doesn\'t build the n-api benchmarks yet'); -} - -if (!common.isMainThread) { - common.skip('addons are not supported in workers'); -} - -if (process.features.debug) { - common.skip('benchmark does not work with debug build yet'); -} -const runBenchmark = require('../common/benchmark'); - -runBenchmark('napi', - [ - 'n=1', - 'engine=v8', - 'type=String' - ], - { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 }); |