Skip to content

Instantly share code, notes, and snippets.

Last active Dec 10, 2015
What would you like to do?
var Readable = require('stream').Readable;
var i, now, count = 1000000;
var source = Readable.toString().split('\n')[9];
now =;
for (i = 0; i < count; i++) {
new Readable();
console.log('* %s - %d ms', source, - now);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment