{"action":"closed","number":52,"pull_request":{"url":"https://api.github.com/repos/ykzts/gyazo-web-client/pulls/52","id":53122825,"html_url":"https://github.com/ykzts/gyazo-web-client/pull/52","diff_url":"https://github.com/ykzts/gyazo-web-client/pull/52.diff","patch_url":"https://github.com/ykzts/gyazo-web-client/pull/52.patch","issue_url":"https://api.github.com/repos/ykzts/gyazo-web-client/issues/52","number":52,"state":"closed","locked":false,"title":"Firefox だと `atob` が非常に遅いので自前で実装するように","user":{"login":"ykzts","id":12539,"avatar_url":"https://avatars.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"body":"`atob` で変換した値をループで回して `Uint8Array` のインスタンスに入れ込むようにしていたが Firefox だと異常に遅くなってしまっていたので、Base64 のデコードを自前で実装するようにした。十分の一くらいの速度になり、ほかのウェブブラウザとの致命的な速度差はなくなったように見える。","created_at":"2015-12-09T14:09:12Z","updated_at":"2015-12-09T14:11:39Z","closed_at":"2015-12-09T14:11:39Z","merged_at":"2015-12-09T14:11:38Z","merge_commit_sha":"3dfaae8451bb4e25fbf0c4a53a0aa8e4e51f0796","assignee":{"login":"ykzts","id":12539,"avatar_url":"https://avatars.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ykzts/gyazo-web-client/pulls/52/commits","review_comments_url":"https://api.github.com/repos/ykzts/gyazo-web-client/pulls/52/comments","review_comment_url":"https://api.github.com/repos/ykzts/gyazo-web-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ykzts/gyazo-web-client/issues/52/comments","statuses_url":"https://api.github.com/repos/ykzts/gyazo-web-client/statuses/0310187101d78069e402b00091e9a4a324f86b5c","head":{"label":"ykzts:without-atob","ref":"without-atob","sha":"0310187101d78069e402b00091e9a4a324f86b5c","user":{"login":"ykzts","id":12539,"avatar_url":"https://avatars.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"repo":{"id":45559045,"name":"gyazo-web-client","full_name":"ykzts/gyazo-web-client","owner":{"login":"ykzts","id":12539,"avatar_url":"https://avatars.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ykzts/gyazo-web-client","description":"Web client for Gyazo.","fork":false,"url":"https://api.github.com/repos/ykzts/gyazo-web-client","forks_url":"https://api.github.com/repos/ykzts/gyazo-web-client/forks","keys_url":"https://api.github.com/repos/ykzts/gyazo-web-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ykzts/gyazo-web-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ykzts/gyazo-web-client/teams","hooks_url":"https://api.github.com/repos/ykzts/gyazo-web-client/hooks","issue_events_url":"https://api.github.com/repos/ykzts/gyazo-web-client/issues/events{/number}","events_url":"https://api.github.com/repos/ykzts/gyazo-web-client/events","assignees_url":"https://api.github.com/repos/ykzts/gyazo-web-client/assignees{/user}","branches_url":"https://api.github.com/repos/ykzts/gyazo-web-client/branches{/branch}","tags_url":"https://api.github.com/repos/ykzts/gyazo-web-client/tags","blobs_url":"https://api.github.com/repos/ykzts/gyazo-web-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ykzts/gyazo-web-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ykzts/gyazo-web-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/ykzts/gyazo-web-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ykzts/gyazo-web-client/statuses/{sha}","languages_url":"https://api.github.com/repos/ykzts/gyazo-web-client/languages","stargazers_url":"https://api.github.com/repos/ykzts/gyazo-web-client/stargazers","contributors_url":"https://api.github.com/repos/ykzts/gyazo-web-client/contributors","subscribers_url":"https://api.github.com/repos/ykzts/gyazo-web-client/subscribers","subscription_url":"https://api.github.com/repos/ykzts/gyazo-web-client/subscription","commits_url":"https://api.github.com/repos/ykzts/gyazo-web-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/ykzts/gyazo-web-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/ykzts/gyazo-web-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/ykzts/gyazo-web-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/ykzts/gyazo-web-client/contents/{+path}","compare_url":"https://api.github.com/repos/ykzts/gyazo-web-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ykzts/gyazo-web-client/merges","archive_url":"https://api.github.com/repos/ykzts/gyazo-web-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ykzts/gyazo-web-client/downloads","issues_url":"https://api.github.com/repos/ykzts/gyazo-web-client/issues{/number}","pulls_url":"https://api.github.com/repos/ykzts/gyazo-web-client/pulls{/number}","milestones_url":"https://api.github.com/repos/ykzts/gyazo-web-client/milestones{/number}","notifications_url":"https://api.github.com/repos/ykzts/gyazo-web-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ykzts/gyazo-web-client/labels{/name}","releases_url":"https://api.github.com/repos/ykzts/gyazo-web-client/releases{/id}","created_at":"2015-11-04T18:31:38Z","updated_at":"2015-11-08T11:05:47Z","pushed_at":"2015-12-09T14:11:39Z","git_url":"git://github.com/ykzts/gyazo-web-client.git","ssh_url":"git@github.com:ykzts/gyazo-web-client.git","clone_url":"https://github.com/ykzts/gyazo-web-client.git","svn_url":"https://github.com/ykzts/gyazo-web-client","homepage":"","size":139,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ykzts:master","ref":"master","sha":"1b7b6be8e870943ffd7424047b2d0b0538fcad66","user":{"login":"ykzts","id":12539,"avatar_url":"https://avatars.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"repo":{"id":45559045,"name":"gyazo-web-client","full_name":"ykzts/gyazo-web-client","owner":{"login":"ykzts","id":12539,"avatar_url":"https://avatars.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ykzts/gyazo-web-client","description":"Web client for Gyazo.","fork":false,"url":"https://api.github.com/repos/ykzts/gyazo-web-client","forks_url":"https://api.github.com/repos/ykzts/gyazo-web-client/forks","keys_url":"https://api.github.com/repos/ykzts/gyazo-web-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ykzts/gyazo-web-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ykzts/gyazo-web-client/teams","hooks_url":"https://api.github.com/repos/ykzts/gyazo-web-client/hooks","issue_events_url":"https://api.github.com/repos/ykzts/gyazo-web-client/issues/events{/number}","events_url":"https://api.github.com/repos/ykzts/gyazo-web-client/events","assignees_url":"https://api.github.com/repos/ykzts/gyazo-web-client/assignees{/user}","branches_url":"https://api.github.com/repos/ykzts/gyazo-web-client/branches{/branch}","tags_url":"https://api.github.com/repos/ykzts/gyazo-web-client/tags","blobs_url":"https://api.github.com/repos/ykzts/gyazo-web-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ykzts/gyazo-web-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ykzts/gyazo-web-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/ykzts/gyazo-web-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ykzts/gyazo-web-client/statuses/{sha}","languages_url":"https://api.github.com/repos/ykzts/gyazo-web-client/languages","stargazers_url":"https://api.github.com/repos/ykzts/gyazo-web-client/stargazers","contributors_url":"https://api.github.com/repos/ykzts/gyazo-web-client/contributors","subscribers_url":"https://api.github.com/repos/ykzts/gyazo-web-client/subscribers","subscription_url":"https://api.github.com/repos/ykzts/gyazo-web-client/subscription","commits_url":"https://api.github.com/repos/ykzts/gyazo-web-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/ykzts/gyazo-web-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/ykzts/gyazo-web-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/ykzts/gyazo-web-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/ykzts/gyazo-web-client/contents/{+path}","compare_url":"https://api.github.com/repos/ykzts/gyazo-web-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ykzts/gyazo-web-client/merges","archive_url":"https://api.github.com/repos/ykzts/gyazo-web-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ykzts/gyazo-web-client/downloads","issues_url":"https://api.github.com/repos/ykzts/gyazo-web-client/issues{/number}","pulls_url":"https://api.github.com/repos/ykzts/gyazo-web-client/pulls{/number}","milestones_url":"https://api.github.com/repos/ykzts/gyazo-web-client/milestones{/number}","notifications_url":"https://api.github.com/repos/ykzts/gyazo-web-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ykzts/gyazo-web-client/labels{/name}","releases_url":"https://api.github.com/repos/ykzts/gyazo-web-client/releases{/id}","created_at":"2015-11-04T18:31:38Z","updated_at":"2015-11-08T11:05:47Z","pushed_at":"2015-12-09T14:11:39Z","git_url":"git://github.com/ykzts/gyazo-web-client.git","ssh_url":"git@github.com:ykzts/gyazo-web-client.git","clone_url":"https://github.com/ykzts/gyazo-web-client.git","svn_url":"https://github.com/ykzts/gyazo-web-client","homepage":"","size":139,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ykzts/gyazo-web-client/pulls/52"},"html":{"href":"https://github.com/ykzts/gyazo-web-client/pull/52"},"issue":{"href":"https://api.github.com/repos/ykzts/gyazo-web-client/issues/52"},"comments":{"href":"https://api.github.com/repos/ykzts/gyazo-web-client/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/ykzts/gyazo-web-client/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/ykzts/gyazo-web-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ykzts/gyazo-web-client/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/ykzts/gyazo-web-client/statuses/0310187101d78069e402b00091e9a4a324f86b5c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ykzts","id":12539,"avatar_url":"https://avatars.githubusercontent.com/u/12539?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzts","html_url":"https://github.com/ykzts","followers_url":"https://api.github.com/users/ykzts/followers","following_url":"https://api.github.com/users/ykzts/following{/other_user}","gists_url":"https://api.github.com/users/ykzts/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzts/subscriptions","organizations_url":"https://api.github.com/users/ykzts/orgs","repos_url":"https://api.github.com/users/ykzts/repos","events_url":"https://api.github.com/users/ykzts/events{/privacy}","received_events_url":"https://api.github.com/users/ykzts/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":37,"deletions":15,"changed_files":2}}