Skip to content

Instantly share code, notes, and snippets.

@ry
Created January 26, 2011 23:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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