From 3a40f8ea12bb9dd1cfc73ab65c926461932b8929 Mon Sep 17 00:00:00 2001 From: Charles T Wall III Date: Fri, 6 Oct 2017 15:47:54 -0400 Subject: [PATCH] test: create benchmark test for misc and module --- test/parallel/test-benchmark-misc.js | 13 +++++++++++++ test/parallel/test-benchmark-module.js | 11 +++++++++++ 2 files changed, 24 insertions(+) create mode 100644 test/parallel/test-benchmark-misc.js create mode 100644 test/parallel/test-benchmark-module.js diff --git a/test/parallel/test-benchmark-misc.js b/test/parallel/test-benchmark-misc.js new file mode 100644 index 00000000000000..cda74f1693c0cf --- /dev/null +++ b/test/parallel/test-benchmark-misc.js @@ -0,0 +1,13 @@ +'use strict'; + +require('../common'); + +const runBenchmark = require('../common/benchmark'); + +runBenchmark('misc', [ + 'n=1', + 'val=magyarország.icom.museum', + 'millions=.000001', + 'type=extend', + 'concat=0' +]); diff --git a/test/parallel/test-benchmark-module.js b/test/parallel/test-benchmark-module.js new file mode 100644 index 00000000000000..f68fd314f20e1b --- /dev/null +++ b/test/parallel/test-benchmark-module.js @@ -0,0 +1,11 @@ +'use strict'; + +require('../common'); + +const runBenchmark = require('../common/benchmark'); + +runBenchmark('module', [ + 'thousands=.001', + 'useCache=true', + 'fullPath=true' +]);