Skip to content

Instantly share code, notes, and snippets.

@3rd-Eden
Created March 14, 2013 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3rd-Eden/5162516 to your computer and use it in GitHub Desktop.
Save 3rd-Eden/5162516 to your computer and use it in GitHub Desktop.
var crypto = require('crypto');
console.time('iterations');
for (var i = 0; i < 100000; i++) {
crypto.createHash('md5').update(i + '').digest();
}
console.timeEnd('iterations');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment