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:
authorJames M Snell <jasnell@gmail.com>2017-09-29 18:23:50 +0300
committerEvan Lucas <evanlucas@me.com>2017-10-23 16:59:06 +0300
commite01daec4e1f366d55ce4f2481e307e7ee78d67dd (patch)
tree95da7d2b785db9c8f0c7b2cf4d9ea3635b872e56 /benchmark
parent57ab6e2a1066edda52e1e3a672cd3c88539d3bc9 (diff)
http2: remove --expose-http2 flag from tests, etc
Remove the --expose-http2 flag from tests and benchmarks PR-URL: https://github.com/nodejs/node/pull/15685 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/http2/headers.js2
-rw-r--r--benchmark/http2/respond-with-fd.js2
-rw-r--r--benchmark/http2/simple.js2
-rw-r--r--benchmark/http2/write.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/benchmark/http2/headers.js b/benchmark/http2/headers.js
index dc2fb3a0a1f..f6b29347cdb 100644
--- a/benchmark/http2/headers.js
+++ b/benchmark/http2/headers.js
@@ -6,7 +6,7 @@ const PORT = common.PORT;
const bench = common.createBenchmark(main, {
n: [1e3],
nheaders: [0, 10, 100, 1000],
-}, { flags: ['--expose-http2', '--no-warnings'] });
+}, { flags: ['--no-warnings'] });
function main(conf) {
const n = +conf.n;
diff --git a/benchmark/http2/respond-with-fd.js b/benchmark/http2/respond-with-fd.js
index 2c4c767a96f..a235bd87d51 100644
--- a/benchmark/http2/respond-with-fd.js
+++ b/benchmark/http2/respond-with-fd.js
@@ -11,7 +11,7 @@ const bench = common.createBenchmark(main, {
requests: [100, 1000, 10000, 100000, 1000000],
streams: [100, 200, 1000],
clients: [1, 2]
-}, { flags: ['--expose-http2', '--no-warnings'] });
+}, { flags: ['--no-warnings'] });
function main(conf) {
diff --git a/benchmark/http2/simple.js b/benchmark/http2/simple.js
index d0674fd9523..8d7767197bc 100644
--- a/benchmark/http2/simple.js
+++ b/benchmark/http2/simple.js
@@ -12,7 +12,7 @@ const bench = common.createBenchmark(main, {
requests: [100, 1000, 10000, 100000],
streams: [100, 200, 1000],
clients: [1, 2]
-}, { flags: ['--expose-http2', '--no-warnings'] });
+}, { flags: ['--no-warnings'] });
function main(conf) {
const n = +conf.requests;
diff --git a/benchmark/http2/write.js b/benchmark/http2/write.js
index 20deff8930b..e4f64cc05de 100644
--- a/benchmark/http2/write.js
+++ b/benchmark/http2/write.js
@@ -7,7 +7,7 @@ const bench = common.createBenchmark(main, {
streams: [100, 200, 1000],
length: [64 * 1024, 128 * 1024, 256 * 1024, 1024 * 1024],
size: [100000]
-}, { flags: ['--expose-http2', '--no-warnings'] });
+}, { flags: ['--no-warnings'] });
function main(conf) {
const m = +conf.streams;