{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/md5-hex/issues/7","repository_url":"https://api.github.com/repos/sindresorhus/md5-hex","labels_url":"https://api.github.com/repos/sindresorhus/md5-hex/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/md5-hex/issues/7/comments","events_url":"https://api.github.com/repos/sindresorhus/md5-hex/issues/7/events","html_url":"https://github.com/sindresorhus/md5-hex/issues/7","id":144826454,"number":7,"title":"md5 from create-hash is faster than md5-o-matic","user":{"login":"fanatid","id":2633065,"avatar_url":"https://avatars.githubusercontent.com/u/2633065?v=3","gravatar_id":"","url":"https://api.github.com/users/fanatid","html_url":"https://github.com/fanatid","followers_url":"https://api.github.com/users/fanatid/followers","following_url":"https://api.github.com/users/fanatid/following{/other_user}","gists_url":"https://api.github.com/users/fanatid/gists{/gist_id}","starred_url":"https://api.github.com/users/fanatid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanatid/subscriptions","organizations_url":"https://api.github.com/users/fanatid/orgs","repos_url":"https://api.github.com/users/fanatid/repos","events_url":"https://api.github.com/users/fanatid/events{/privacy}","received_events_url":"https://api.github.com/users/fanatid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-31T08:33:09Z","updated_at":"2016-04-07T07:12:48Z","closed_at":"2016-03-31T09:00:35Z","body":"```js\r\nvar benchmark = require('benchmark')\r\nvar createHash = require('create-hash')\r\nvar md5 = require('md5-o-matic')\r\n\r\nvar str = 'the quick brown fox jumps over the lazy dog'\r\n\r\nnew benchmark.Suite()\r\n  .add('md5-o-matic', function () { md5(str) })\r\n  .add('create-hash', function () { createHash('md5').update(str).digest('hex') })\r\n  .on('cycle', function (event) {\r\n    console.log(String(event.target));\r\n  })\r\n  .run()\r\n```\r\n\r\nresults:\r\n```\r\n$ node -v\r\nv5.7.1\r\n$ node b.js \r\nmd5-o-matic x 263,501 ops/sec ±0.68% (86 runs sampled)\r\ncreate-hash x 420,313 ops/sec ±2.79% (77 runs sampled)\r\n```"},"comment":{"url":"https://api.github.com/repos/sindresorhus/md5-hex/issues/comments/206727535","html_url":"https://github.com/sindresorhus/md5-hex/issues/7#issuecomment-206727535","issue_url":"https://api.github.com/repos/sindresorhus/md5-hex/issues/7","id":206727535,"user":{"login":"fanatid","id":2633065,"avatar_url":"https://avatars.githubusercontent.com/u/2633065?v=3","gravatar_id":"","url":"https://api.github.com/users/fanatid","html_url":"https://github.com/fanatid","followers_url":"https://api.github.com/users/fanatid/followers","following_url":"https://api.github.com/users/fanatid/following{/other_user}","gists_url":"https://api.github.com/users/fanatid/gists{/gist_id}","starred_url":"https://api.github.com/users/fanatid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanatid/subscriptions","organizations_url":"https://api.github.com/users/fanatid/orgs","repos_url":"https://api.github.com/users/fanatid/repos","events_url":"https://api.github.com/users/fanatid/events{/privacy}","received_events_url":"https://api.github.com/users/fanatid/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T07:12:48Z","updated_at":"2016-04-07T07:12:48Z","body":"@sindresorhus `md5` is extracted -- https://github.com/crypto-browserify/md5.js\r\nbut size is 133kB, because it includes `buffer` and `streams`\r\nwant you replace `md5-o-matic` with this?"}}