summaryrefslogtreecommitdiff
path: root/benchmark/http2/respond-with-fd.js
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-10-30 16:17:33 -0700
committerRich Trott <rtrott@gmail.com>2018-11-03 19:38:24 -0700
commit7825045ee695e9e5c048133255a3b614e04c98d3 (patch)
tree82279a1f9e740a1bcf9086b61ce04cb4aa2d4040 /benchmark/http2/respond-with-fd.js
parentab2778d76368c240764c931404fa3c7f25aaa309 (diff)
downloadandroid-node-v8-7825045ee695e9e5c048133255a3b614e04c98d3.tar.gz
android-node-v8-7825045ee695e9e5c048133255a3b614e04c98d3.tar.bz2
android-node-v8-7825045ee695e9e5c048133255a3b614e04c98d3.zip
http2: improve http2 code a bit
Multiple general improvements to http2 internals for readability and efficiency PR-URL: https://github.com/nodejs/node/pull/23984 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'benchmark/http2/respond-with-fd.js')
-rw-r--r--benchmark/http2/respond-with-fd.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/http2/respond-with-fd.js b/benchmark/http2/respond-with-fd.js
index 3415a9c69f..35856490f7 100644
--- a/benchmark/http2/respond-with-fd.js
+++ b/benchmark/http2/respond-with-fd.js
@@ -7,9 +7,9 @@ const fs = require('fs');
const file = path.join(path.resolve(__dirname, '../fixtures'), 'alice.html');
const bench = common.createBenchmark(main, {
- requests: [100, 1000, 10000, 100000],
- streams: [100, 200, 1000],
- clients: [1, 2],
+ requests: [100, 1000, 5000],
+ streams: [1, 10, 20, 40, 100, 200],
+ clients: [2],
benchmarker: ['h2load']
}, { flags: ['--no-warnings'] });