Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2020-02-12 23:02:35 +0300
committerRuben Bridgewater <ruben@bridgewater.de>2020-03-10 00:35:54 +0300
commitbb6125bac7f7f5ea28c15b3edf0c98901bcc9ada (patch)
tree382397743a4ddfab8e97c7e8eb1982b3a236022b /benchmark/url
parent9e40df763bce46ee835231d899ef3db242bcb669 (diff)
benchmark: remove special test entries
This reverts commit 7cfbc9f90f3109feaeb9db5df9d4d692a62178ef. PR-URL: https://github.com/nodejs/node/pull/31755 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'benchmark/url')
-rw-r--r--benchmark/url/url-format.js2
-rw-r--r--benchmark/url/url-parse.js2
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)