Skip to content

Commit

Permalink
Add node:stream/web to benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Jan 5, 2025
1 parent 295f89c commit fe5857d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/benchmark/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import Benchmark from 'benchmark';
import * as polyfill from 'web-streams-polyfill';
import * as stardazed from '@stardazed/streams';
import * as node from 'node:stream/web';

const suite = new Benchmark.Suite();

const implementations = [
['web-streams-polyfill', polyfill],
['@stardazed/streams', stardazed]
['@stardazed/streams', stardazed],
['node:stream/web', node]
];

// https://github.com/MattiasBuelens/web-streams-polyfill/issues/15
Expand Down

0 comments on commit fe5857d

Please sign in to comment.