Skip to content

Instantly share code, notes, and snippets.

@stephenmathieson
Last active December 14, 2015 17:09
Show Gist options
  • Save stephenmathieson/5119956 to your computer and use it in GitHub Desktop.
Save stephenmathieson/5119956 to your computer and use it in GitHub Desktop.
'use strict';
var fs = require('fs')
, file = './foo'
function write() {
fs.writeFile(file, Math.random() + '!')
}
for (var i = 0; i < 5000; i++) {
process.nextTick(write)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment