Skip to content

Instantly share code, notes, and snippets.

@ry
Created January 26, 2011 23:49
Show Gist options
  • Save ry/797775 to your computer and use it in GitHub Desktop.
Save ry/797775 to your computer and use it in GitHub Desktop.
var fs = require('fs');
var s = fs.WriteStream("__blah");
for (var i = 0; i < 1024 * 1024; i++) {
s.write("a");
}
s.end();
console.log("done");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment