Skip to content

Commit c91472e

Browse files
lundibunditargos
authored andcommitted
test: add streams benchmark test
Refs: #12068 PR-URL: #22335 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent caaac3f commit c91472e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
'use strict';
2+
3+
require('../common');
4+
5+
const runBenchmark = require('../common/benchmark');
6+
7+
runBenchmark('streams',
8+
[
9+
'kind=duplex',
10+
'type=buffer',
11+
'n=1'
12+
],
13+
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 commit comments

Comments
 (0)