{"action":"created","issue":{"url":"https://api.github.com/repos/timkuijsten/node-bcrypt-speed/issues/2","labels_url":"https://api.github.com/repos/timkuijsten/node-bcrypt-speed/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/timkuijsten/node-bcrypt-speed/issues/2/comments","events_url":"https://api.github.com/repos/timkuijsten/node-bcrypt-speed/issues/2/events","html_url":"https://github.com/timkuijsten/node-bcrypt-speed/pull/2","id":59746108,"number":2,"title":"browserify friendly","user":{"login":"kumavis","id":1474978,"avatar_url":"https://avatars.githubusercontent.com/u/1474978?v=3","gravatar_id":"","url":"https://api.github.com/users/kumavis","html_url":"https://github.com/kumavis","followers_url":"https://api.github.com/users/kumavis/followers","following_url":"https://api.github.com/users/kumavis/following{/other_user}","gists_url":"https://api.github.com/users/kumavis/gists{/gist_id}","starred_url":"https://api.github.com/users/kumavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumavis/subscriptions","organizations_url":"https://api.github.com/users/kumavis/orgs","repos_url":"https://api.github.com/users/kumavis/repos","events_url":"https://api.github.com/users/kumavis/events{/privacy}","received_events_url":"https://api.github.com/users/kumavis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-04T03:39:34Z","updated_at":"2015-03-04T18:56:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/timkuijsten/node-bcrypt-speed/pulls/2","html_url":"https://github.com/timkuijsten/node-bcrypt-speed/pull/2","diff_url":"https://github.com/timkuijsten/node-bcrypt-speed/pull/2.diff","patch_url":"https://github.com/timkuijsten/node-bcrypt-speed/pull/2.patch"},"body":"made a few changes, don't feel the need to merge them.\r\n\r\nthe idling did not seem to affect performance like i imagined it might.\r\n\r\neveryone's pretty close in Chrome Version 40.0.2214.115 (64-bit)\r\n\r\n```js\r\ntest duration per number of rounds, up to 500ms\r\n\r\nbcrypt-nodejs (pure js, no deps)\r\n rounds  ms\r\n   4     27\r\n   5     41\r\n   6     75\r\n   7    145\r\n   8    275\r\n   9    551\r\n \r\ntwin-bcrypt (pure js, no deps, asm.js)\r\n rounds  ms\r\n   4     20\r\n   5     36\r\n   6     70\r\n   7    142\r\n   8    283\r\n   9    568\r\n \r\nbcryptjs (pure js, no deps)\r\n rounds  ms\r\n   4     18\r\n   5     35\r\n   6     68\r\n   7    137\r\n   8    283\r\n   9    548\r\n```\r\n\r\ncompare to node v0.10.35, cpp is clear winner\r\n```\r\ntest duration per number of rounds, up to 500ms\r\n\r\nbcrypt-nodejs (pure js, no deps)\r\nrounds  ms\r\n  4      7\r\n  5     11\r\n  6     20\r\n  7     37\r\n  8     55\r\n  9    109\r\n 10    223\r\n 11    439\r\n 12    868\r\n\r\ntwin-bcrypt (pure js, no deps, asm.js)\r\nrounds  ms\r\n  4     10\r\n  5      7\r\n  6     13\r\n  7     25\r\n  8     46\r\n  9     93\r\n 10    180\r\n 11    357\r\n 12    722\r\n\r\nbcryptjs (pure js, no deps)\r\nrounds  ms\r\n  4      8\r\n  5      9\r\n  6     16\r\n  7     32\r\n  8     58\r\n  9    111\r\n 10    220\r\n 11    441\r\n 12    890\r\n\r\nbcrypt (c++, has deps)\r\nrounds  ms\r\n  4      2\r\n  5      3\r\n  6      5\r\n  7      9\r\n  8     18\r\n  9     35\r\n 10     72\r\n 11    142\r\n 12    286\r\n 13    579\r\n```"},"comment":{"url":"https://api.github.com/repos/timkuijsten/node-bcrypt-speed/issues/comments/77221219","html_url":"https://github.com/timkuijsten/node-bcrypt-speed/pull/2#issuecomment-77221219","issue_url":"https://api.github.com/repos/timkuijsten/node-bcrypt-speed/issues/2","id":77221219,"user":{"login":"kumavis","id":1474978,"avatar_url":"https://avatars.githubusercontent.com/u/1474978?v=3","gravatar_id":"","url":"https://api.github.com/users/kumavis","html_url":"https://github.com/kumavis","followers_url":"https://api.github.com/users/kumavis/followers","following_url":"https://api.github.com/users/kumavis/following{/other_user}","gists_url":"https://api.github.com/users/kumavis/gists{/gist_id}","starred_url":"https://api.github.com/users/kumavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumavis/subscriptions","organizations_url":"https://api.github.com/users/kumavis/orgs","repos_url":"https://api.github.com/users/kumavis/repos","events_url":"https://api.github.com/users/kumavis/events{/privacy}","received_events_url":"https://api.github.com/users/kumavis/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T18:56:33Z","updated_at":"2015-03-04T18:56:33Z","body":"i recommend using beefy as a live-dev tool for browserify `npm install -g beefy`. `beefy index.js --open --live`.\r\n"}}