Skip to content

Commit

Permalink
test: add streams benchmark test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
lundibundi authored and targos committed Sep 3, 2018
1 parent ef60a8d commit 1e7deb7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/parallel/test-benchmark-streams.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';

require('../common');

const runBenchmark = require('../common/benchmark');

runBenchmark('streams',
[
'kind=duplex',
'type=buffer',
'n=1'
],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 comments on commit 1e7deb7

Please sign in to comment.