{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/NebulousLabs/fastrand/pulls/1","id":112333185,"html_url":"https://github.com/NebulousLabs/fastrand/pull/1","diff_url":"https://github.com/NebulousLabs/fastrand/pull/1.diff","patch_url":"https://github.com/NebulousLabs/fastrand/pull/1.patch","issue_url":"https://api.github.com/repos/NebulousLabs/fastrand/issues/1","number":1,"state":"open","locked":false,"title":"Entropy pool","user":{"login":"lukechampine","id":3344749,"avatar_url":"https://avatars1.githubusercontent.com/u/3344749?v=3","gravatar_id":"","url":"https://api.github.com/users/lukechampine","html_url":"https://github.com/lukechampine","followers_url":"https://api.github.com/users/lukechampine/followers","following_url":"https://api.github.com/users/lukechampine/following{/other_user}","gists_url":"https://api.github.com/users/lukechampine/gists{/gist_id}","starred_url":"https://api.github.com/users/lukechampine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukechampine/subscriptions","organizations_url":"https://api.github.com/users/lukechampine/orgs","repos_url":"https://api.github.com/users/lukechampine/repos","events_url":"https://api.github.com/users/lukechampine/events{/privacy}","received_events_url":"https://api.github.com/users/lukechampine/received_events","type":"User","site_admin":false},"body":"Code largely copied from the `buffered-crypto` branch.\r\n\r\nSee the README.md diff for a benchmark comparison. Full new benchmarks:\r\n```\r\nBenchmarkRead32-4             \t10000000\t       207 ns/op\t 153.94 MB/s\r\nBenchmarkRead512K-4           \t     500\t   3230813 ns/op\t 158.47 MB/s\r\nBenchmarkRead4Threads-4       \t 2000000\t       945 ns/op\t 135.32 MB/s\r\nBenchmarkRead4Threads512k-4   \t     100\t  14697556 ns/op\t 139.34 MB/s\r\nBenchmarkRead64Threads-4      \t  100000\t     14889 ns/op\t 137.55 MB/s\r\nBenchmarkRead64Threads64k-4   \t       5\t 235147804 ns/op\t 139.35 MB/s\r\nBenchmarkReadCrypto32-4       \t  500000\t      2697 ns/op\t  11.86 MB/s\r\nBenchmarkReadCrypto512K-4     \t      50\t  32161930 ns/op\t  15.92 MB/s\r\n```\r\nIn short, the throughput stays roughly constant even with 64 consumers, which is cool.","created_at":"2017-03-23T20:38:23Z","updated_at":"2017-03-23T20:38:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NebulousLabs/fastrand/pulls/1/commits","review_comments_url":"https://api.github.com/repos/NebulousLabs/fastrand/pulls/1/comments","review_comment_url":"https://api.github.com/repos/NebulousLabs/fastrand/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NebulousLabs/fastrand/issues/1/comments","statuses_url":"https://api.github.com/repos/NebulousLabs/fastrand/statuses/2eed5df250e4b3fec36ca32c3751e6647290dd8c","head":{"label":"NebulousLabs:buffer","ref":"buffer","sha":"2eed5df250e4b3fec36ca32c3751e6647290dd8c","user":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars2.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":85989063,"name":"fastrand","full_name":"NebulousLabs/fastrand","owner":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars2.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NebulousLabs/fastrand","description":"A faster CSPRNG","fork":false,"url":"https://api.github.com/repos/NebulousLabs/fastrand","forks_url":"https://api.github.com/repos/NebulousLabs/fastrand/forks","keys_url":"https://api.github.com/repos/NebulousLabs/fastrand/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NebulousLabs/fastrand/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NebulousLabs/fastrand/teams","hooks_url":"https://api.github.com/repos/NebulousLabs/fastrand/hooks","issue_events_url":"https://api.github.com/repos/NebulousLabs/fastrand/issues/events{/number}","events_url":"https://api.github.com/repos/NebulousLabs/fastrand/events","assignees_url":"https://api.github.com/repos/NebulousLabs/fastrand/assignees{/user}","branches_url":"https://api.github.com/repos/NebulousLabs/fastrand/branches{/branch}","tags_url":"https://api.github.com/repos/NebulousLabs/fastrand/tags","blobs_url":"https://api.github.com/repos/NebulousLabs/fastrand/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NebulousLabs/fastrand/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NebulousLabs/fastrand/git/refs{/sha}","trees_url":"https://api.github.com/repos/NebulousLabs/fastrand/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NebulousLabs/fastrand/statuses/{sha}","languages_url":"https://api.github.com/repos/NebulousLabs/fastrand/languages","stargazers_url":"https://api.github.com/repos/NebulousLabs/fastrand/stargazers","contributors_url":"https://api.github.com/repos/NebulousLabs/fastrand/contributors","subscribers_url":"https://api.github.com/repos/NebulousLabs/fastrand/subscribers","subscription_url":"https://api.github.com/repos/NebulousLabs/fastrand/subscription","commits_url":"https://api.github.com/repos/NebulousLabs/fastrand/commits{/sha}","git_commits_url":"https://api.github.com/repos/NebulousLabs/fastrand/git/commits{/sha}","comments_url":"https://api.github.com/repos/NebulousLabs/fastrand/comments{/number}","issue_comment_url":"https://api.github.com/repos/NebulousLabs/fastrand/issues/comments{/number}","contents_url":"https://api.github.com/repos/NebulousLabs/fastrand/contents/{+path}","compare_url":"https://api.github.com/repos/NebulousLabs/fastrand/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NebulousLabs/fastrand/merges","archive_url":"https://api.github.com/repos/NebulousLabs/fastrand/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NebulousLabs/fastrand/downloads","issues_url":"https://api.github.com/repos/NebulousLabs/fastrand/issues{/number}","pulls_url":"https://api.github.com/repos/NebulousLabs/fastrand/pulls{/number}","milestones_url":"https://api.github.com/repos/NebulousLabs/fastrand/milestones{/number}","notifications_url":"https://api.github.com/repos/NebulousLabs/fastrand/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NebulousLabs/fastrand/labels{/name}","releases_url":"https://api.github.com/repos/NebulousLabs/fastrand/releases{/id}","deployments_url":"https://api.github.com/repos/NebulousLabs/fastrand/deployments","created_at":"2017-03-23T19:24:33Z","updated_at":"2017-03-23T19:24:58Z","pushed_at":"2017-03-23T20:38:19Z","git_url":"git://github.com/NebulousLabs/fastrand.git","ssh_url":"git@github.com:NebulousLabs/fastrand.git","clone_url":"https://github.com/NebulousLabs/fastrand.git","svn_url":"https://github.com/NebulousLabs/fastrand","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"NebulousLabs:master","ref":"master","sha":"12a7a635f623d8cc5845209babd60490488a0c30","user":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars2.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":85989063,"name":"fastrand","full_name":"NebulousLabs/fastrand","owner":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars2.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NebulousLabs/fastrand","description":"A faster CSPRNG","fork":false,"url":"https://api.github.com/repos/NebulousLabs/fastrand","forks_url":"https://api.github.com/repos/NebulousLabs/fastrand/forks","keys_url":"https://api.github.com/repos/NebulousLabs/fastrand/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NebulousLabs/fastrand/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NebulousLabs/fastrand/teams","hooks_url":"https://api.github.com/repos/NebulousLabs/fastrand/hooks","issue_events_url":"https://api.github.com/repos/NebulousLabs/fastrand/issues/events{/number}","events_url":"https://api.github.com/repos/NebulousLabs/fastrand/events","assignees_url":"https://api.github.com/repos/NebulousLabs/fastrand/assignees{/user}","branches_url":"https://api.github.com/repos/NebulousLabs/fastrand/branches{/branch}","tags_url":"https://api.github.com/repos/NebulousLabs/fastrand/tags","blobs_url":"https://api.github.com/repos/NebulousLabs/fastrand/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NebulousLabs/fastrand/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NebulousLabs/fastrand/git/refs{/sha}","trees_url":"https://api.github.com/repos/NebulousLabs/fastrand/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NebulousLabs/fastrand/statuses/{sha}","languages_url":"https://api.github.com/repos/NebulousLabs/fastrand/languages","stargazers_url":"https://api.github.com/repos/NebulousLabs/fastrand/stargazers","contributors_url":"https://api.github.com/repos/NebulousLabs/fastrand/contributors","subscribers_url":"https://api.github.com/repos/NebulousLabs/fastrand/subscribers","subscription_url":"https://api.github.com/repos/NebulousLabs/fastrand/subscription","commits_url":"https://api.github.com/repos/NebulousLabs/fastrand/commits{/sha}","git_commits_url":"https://api.github.com/repos/NebulousLabs/fastrand/git/commits{/sha}","comments_url":"https://api.github.com/repos/NebulousLabs/fastrand/comments{/number}","issue_comment_url":"https://api.github.com/repos/NebulousLabs/fastrand/issues/comments{/number}","contents_url":"https://api.github.com/repos/NebulousLabs/fastrand/contents/{+path}","compare_url":"https://api.github.com/repos/NebulousLabs/fastrand/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NebulousLabs/fastrand/merges","archive_url":"https://api.github.com/repos/NebulousLabs/fastrand/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NebulousLabs/fastrand/downloads","issues_url":"https://api.github.com/repos/NebulousLabs/fastrand/issues{/number}","pulls_url":"https://api.github.com/repos/NebulousLabs/fastrand/pulls{/number}","milestones_url":"https://api.github.com/repos/NebulousLabs/fastrand/milestones{/number}","notifications_url":"https://api.github.com/repos/NebulousLabs/fastrand/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NebulousLabs/fastrand/labels{/name}","releases_url":"https://api.github.com/repos/NebulousLabs/fastrand/releases{/id}","deployments_url":"https://api.github.com/repos/NebulousLabs/fastrand/deployments","created_at":"2017-03-23T19:24:33Z","updated_at":"2017-03-23T19:24:58Z","pushed_at":"2017-03-23T20:38:19Z","git_url":"git://github.com/NebulousLabs/fastrand.git","ssh_url":"git@github.com:NebulousLabs/fastrand.git","clone_url":"https://github.com/NebulousLabs/fastrand.git","svn_url":"https://github.com/NebulousLabs/fastrand","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NebulousLabs/fastrand/pulls/1"},"html":{"href":"https://github.com/NebulousLabs/fastrand/pull/1"},"issue":{"href":"https://api.github.com/repos/NebulousLabs/fastrand/issues/1"},"comments":{"href":"https://api.github.com/repos/NebulousLabs/fastrand/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/NebulousLabs/fastrand/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/NebulousLabs/fastrand/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NebulousLabs/fastrand/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/NebulousLabs/fastrand/statuses/2eed5df250e4b3fec36ca32c3751e6647290dd8c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":73,"deletions":57,"changed_files":3}}
{"actor":{"display_login":"lukechampine"}}