Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test: add streams benchmark test
Refs: #12068
  • Loading branch information
lundibundi authored and Trott committed Aug 18, 2018
commit f56e2d6959ed30e5dec9c696137216cb74e002bd
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 });