summaryrefslogtreecommitdiff
path: root/benchmark/http2/write.js
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-05-22 12:10:53 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-05-24 08:28:02 +0200
commit3294d1bf62d43071f84ed8eff2c2676ade0d3b64 (patch)
tree25d47bfcbca7d686660d039e16a88c82c28ef9d4 /benchmark/http2/write.js
parent9a02de7084e3f3c959d1c7e32bda67cc1d7002bd (diff)
downloadandroid-node-v8-3294d1bf62d43071f84ed8eff2c2676ade0d3b64.tar.gz
android-node-v8-3294d1bf62d43071f84ed8eff2c2676ade0d3b64.tar.bz2
android-node-v8-3294d1bf62d43071f84ed8eff2c2676ade0d3b64.zip
src: remove --expose-http2 option
This commit removes the --expose-http2 option. In the code comment it states that this should should be noop through v9.x, and it sounds like it can be removed for 10.x and above. PR-URL: https://github.com/nodejs/node/pull/20887 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'benchmark/http2/write.js')
-rw-r--r--benchmark/http2/write.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/http2/write.js b/benchmark/http2/write.js
index 6fcb1254ca..fc3203c6e5 100644
--- a/benchmark/http2/write.js
+++ b/benchmark/http2/write.js
@@ -7,7 +7,7 @@ const bench = common.createBenchmark(main, {
length: [64 * 1024, 128 * 1024, 256 * 1024, 1024 * 1024],
size: [100000],
benchmarker: ['h2load']
-}, { flags: ['--no-warnings', '--expose-http2'] });
+}, { flags: ['--no-warnings'] });
function main({ streams, length, size }) {
const http2 = require('http2');