diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2020-01-20 11:21:56 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2020-02-09 15:32:12 +0300 |
commit | 357230f4b7174380467edfb0a65a00b65b0af66c (patch) | |
tree | 200be2a6aa65d5f7636dc9ec6abd1b84708d64b1 /benchmark/url | |
parent | 78aa348f4e0c504cf949aea73a8e1bdcedc7f8b0 (diff) |
benchmark: remove special test entries
It was necessary to have fallbacks to run the original tests. This
is obsolete with the new test mode.
PR-URL: https://github.com/nodejs/node/pull/31396
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'benchmark/url')
-rw-r--r-- | benchmark/url/url-format.js | 2 | ||||
-rw-r--r-- | benchmark/url/url-parse.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/url/url-format.js b/benchmark/url/url-format.js index 3e91cefd363..be5632d2b67 100644 --- a/benchmark/url/url-format.js +++ b/benchmark/url/url-format.js @@ -13,7 +13,7 @@ const bench = common.createBenchmark(main, { }); function main({ type, n }) { - const input = inputs[type] || ''; + const input = inputs[type]; // Force-optimize url.format() so that the benchmark doesn't get // disrupted by the optimizer kicking in halfway through. diff --git a/benchmark/url/url-parse.js b/benchmark/url/url-parse.js index 751a11201b1..b3e83188b21 100644 --- a/benchmark/url/url-parse.js +++ b/benchmark/url/url-parse.js @@ -13,7 +13,7 @@ const bench = common.createBenchmark(main, { }); function main({ type, n }) { - const input = inputs[type] || ''; + const input = inputs[type]; bench.start(); for (let i = 0; i < n; i += 1) |