summaryrefslogtreecommitdiff
path: root/benchmark/http2/write.js
diff options
context:
space:
mode:
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 df76794468..03fe128c6b 100644
--- a/benchmark/http2/write.js
+++ b/benchmark/http2/write.js
@@ -3,7 +3,7 @@
const common = require('../common.js');
const PORT = common.PORT;
-var bench = common.createBenchmark(main, {
+const bench = common.createBenchmark(main, {
streams: [100, 200, 1000],
length: [64 * 1024, 128 * 1024, 256 * 1024, 1024 * 1024],
}, { flags: ['--expose-http2', '--no-warnings'] });