{"action":"opened","number":752,"pull_request":{"url":"https://api.github.com/repos/Khan/KaTeX/pulls/752","id":128290211,"html_url":"https://github.com/Khan/KaTeX/pull/752","diff_url":"https://github.com/Khan/KaTeX/pull/752.diff","patch_url":"https://github.com/Khan/KaTeX/pull/752.patch","issue_url":"https://api.github.com/repos/Khan/KaTeX/issues/752","number":752,"state":"open","locked":false,"title":"Screenshotter `--fast` argument speeds it up 6x.","user":{"login":"kohler","id":410647,"avatar_url":"https://avatars1.githubusercontent.com/u/410647?v=3","gravatar_id":"","url":"https://api.github.com/users/kohler","html_url":"https://github.com/kohler","followers_url":"https://api.github.com/users/kohler/followers","following_url":"https://api.github.com/users/kohler/following{/other_user}","gists_url":"https://api.github.com/users/kohler/gists{/gist_id}","starred_url":"https://api.github.com/users/kohler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohler/subscriptions","organizations_url":"https://api.github.com/users/kohler/orgs","repos_url":"https://api.github.com/users/kohler/repos","events_url":"https://api.github.com/users/kohler/events{/privacy}","received_events_url":"https://api.github.com/users/kohler/received_events","type":"User","site_admin":false},"body":"The slowest part of screenshotter tests is the page load, probably\r\nbecause so many assets must be loaded over the slow docker\r\nconnection. On my laptop this takes ~4s per test. The `--fast`\r\nargument avoids this cost by rendering new TeX on the existing\r\npage. For second and subsequent tests, use `executeAsyncScript`\r\nto call KaTeX, rather than performing a full page + asset load.\r\n(If too many errors happen in `--verify` mode, we fall back to\r\nfull loads.)\r\n\r\nOn my laptop, a full verify (chrome + FF) used to take 12m20s+.\r\nWith `--fast` it takes 2m23s.","created_at":"2017-06-30T03:40:16Z","updated_at":"2017-06-30T03:40:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Khan/KaTeX/pulls/752/commits","review_comments_url":"https://api.github.com/repos/Khan/KaTeX/pulls/752/comments","review_comment_url":"https://api.github.com/repos/Khan/KaTeX/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Khan/KaTeX/issues/752/comments","statuses_url":"https://api.github.com/repos/Khan/KaTeX/statuses/8c4139512a4f45e0faf84b55254114774a44dbf9","head":{"label":"kohler:faster-screenshotter","ref":"faster-screenshotter","sha":"8c4139512a4f45e0faf84b55254114774a44dbf9","user":{"login":"kohler","id":410647,"avatar_url":"https://avatars1.githubusercontent.com/u/410647?v=3","gravatar_id":"","url":"https://api.github.com/users/kohler","html_url":"https://github.com/kohler","followers_url":"https://api.github.com/users/kohler/followers","following_url":"https://api.github.com/users/kohler/following{/other_user}","gists_url":"https://api.github.com/users/kohler/gists{/gist_id}","starred_url":"https://api.github.com/users/kohler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohler/subscriptions","organizations_url":"https://api.github.com/users/kohler/orgs","repos_url":"https://api.github.com/users/kohler/repos","events_url":"https://api.github.com/users/kohler/events{/privacy}","received_events_url":"https://api.github.com/users/kohler/received_events","type":"User","site_admin":false},"repo":{"id":74285458,"name":"KaTeX","full_name":"kohler/KaTeX","owner":{"login":"kohler","id":410647,"avatar_url":"https://avatars1.githubusercontent.com/u/410647?v=3","gravatar_id":"","url":"https://api.github.com/users/kohler","html_url":"https://github.com/kohler","followers_url":"https://api.github.com/users/kohler/followers","following_url":"https://api.github.com/users/kohler/following{/other_user}","gists_url":"https://api.github.com/users/kohler/gists{/gist_id}","starred_url":"https://api.github.com/users/kohler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohler/subscriptions","organizations_url":"https://api.github.com/users/kohler/orgs","repos_url":"https://api.github.com/users/kohler/repos","events_url":"https://api.github.com/users/kohler/events{/privacy}","received_events_url":"https://api.github.com/users/kohler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kohler/KaTeX","description":"Fast math typesetting for the web.","fork":true,"url":"https://api.github.com/repos/kohler/KaTeX","forks_url":"https://api.github.com/repos/kohler/KaTeX/forks","keys_url":"https://api.github.com/repos/kohler/KaTeX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kohler/KaTeX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kohler/KaTeX/teams","hooks_url":"https://api.github.com/repos/kohler/KaTeX/hooks","issue_events_url":"https://api.github.com/repos/kohler/KaTeX/issues/events{/number}","events_url":"https://api.github.com/repos/kohler/KaTeX/events","assignees_url":"https://api.github.com/repos/kohler/KaTeX/assignees{/user}","branches_url":"https://api.github.com/repos/kohler/KaTeX/branches{/branch}","tags_url":"https://api.github.com/repos/kohler/KaTeX/tags","blobs_url":"https://api.github.com/repos/kohler/KaTeX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kohler/KaTeX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kohler/KaTeX/git/refs{/sha}","trees_url":"https://api.github.com/repos/kohler/KaTeX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kohler/KaTeX/statuses/{sha}","languages_url":"https://api.github.com/repos/kohler/KaTeX/languages","stargazers_url":"https://api.github.com/repos/kohler/KaTeX/stargazers","contributors_url":"https://api.github.com/repos/kohler/KaTeX/contributors","subscribers_url":"https://api.github.com/repos/kohler/KaTeX/subscribers","subscription_url":"https://api.github.com/repos/kohler/KaTeX/subscription","commits_url":"https://api.github.com/repos/kohler/KaTeX/commits{/sha}","git_commits_url":"https://api.github.com/repos/kohler/KaTeX/git/commits{/sha}","comments_url":"https://api.github.com/repos/kohler/KaTeX/comments{/number}","issue_comment_url":"https://api.github.com/repos/kohler/KaTeX/issues/comments{/number}","contents_url":"https://api.github.com/repos/kohler/KaTeX/contents/{+path}","compare_url":"https://api.github.com/repos/kohler/KaTeX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kohler/KaTeX/merges","archive_url":"https://api.github.com/repos/kohler/KaTeX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kohler/KaTeX/downloads","issues_url":"https://api.github.com/repos/kohler/KaTeX/issues{/number}","pulls_url":"https://api.github.com/repos/kohler/KaTeX/pulls{/number}","milestones_url":"https://api.github.com/repos/kohler/KaTeX/milestones{/number}","notifications_url":"https://api.github.com/repos/kohler/KaTeX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kohler/KaTeX/labels{/name}","releases_url":"https://api.github.com/repos/kohler/KaTeX/releases{/id}","deployments_url":"https://api.github.com/repos/kohler/KaTeX/deployments","created_at":"2016-11-20T15:57:49Z","updated_at":"2016-11-20T15:57:50Z","pushed_at":"2017-06-30T03:39:42Z","git_url":"git://github.com/kohler/KaTeX.git","ssh_url":"git@github.com:kohler/KaTeX.git","clone_url":"https://github.com/kohler/KaTeX.git","svn_url":"https://github.com/kohler/KaTeX","homepage":"https://khan.github.io/KaTeX/","size":15736,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"Khan:master","ref":"master","sha":"b866cd5224b143ebb24888c5540e10ffd4f6e080","user":{"login":"Khan","id":15455,"avatar_url":"https://avatars2.githubusercontent.com/u/15455?v=3","gravatar_id":"","url":"https://api.github.com/users/Khan","html_url":"https://github.com/Khan","followers_url":"https://api.github.com/users/Khan/followers","following_url":"https://api.github.com/users/Khan/following{/other_user}","gists_url":"https://api.github.com/users/Khan/gists{/gist_id}","starred_url":"https://api.github.com/users/Khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khan/subscriptions","organizations_url":"https://api.github.com/users/Khan/orgs","repos_url":"https://api.github.com/users/Khan/repos","events_url":"https://api.github.com/users/Khan/events{/privacy}","received_events_url":"https://api.github.com/users/Khan/received_events","type":"Organization","site_admin":false},"repo":{"id":11195700,"name":"KaTeX","full_name":"Khan/KaTeX","owner":{"login":"Khan","id":15455,"avatar_url":"https://avatars2.githubusercontent.com/u/15455?v=3","gravatar_id":"","url":"https://api.github.com/users/Khan","html_url":"https://github.com/Khan","followers_url":"https://api.github.com/users/Khan/followers","following_url":"https://api.github.com/users/Khan/following{/other_user}","gists_url":"https://api.github.com/users/Khan/gists{/gist_id}","starred_url":"https://api.github.com/users/Khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khan/subscriptions","organizations_url":"https://api.github.com/users/Khan/orgs","repos_url":"https://api.github.com/users/Khan/repos","events_url":"https://api.github.com/users/Khan/events{/privacy}","received_events_url":"https://api.github.com/users/Khan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Khan/KaTeX","description":"Fast math typesetting for the web.","fork":false,"url":"https://api.github.com/repos/Khan/KaTeX","forks_url":"https://api.github.com/repos/Khan/KaTeX/forks","keys_url":"https://api.github.com/repos/Khan/KaTeX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Khan/KaTeX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Khan/KaTeX/teams","hooks_url":"https://api.github.com/repos/Khan/KaTeX/hooks","issue_events_url":"https://api.github.com/repos/Khan/KaTeX/issues/events{/number}","events_url":"https://api.github.com/repos/Khan/KaTeX/events","assignees_url":"https://api.github.com/repos/Khan/KaTeX/assignees{/user}","branches_url":"https://api.github.com/repos/Khan/KaTeX/branches{/branch}","tags_url":"https://api.github.com/repos/Khan/KaTeX/tags","blobs_url":"https://api.github.com/repos/Khan/KaTeX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Khan/KaTeX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Khan/KaTeX/git/refs{/sha}","trees_url":"https://api.github.com/repos/Khan/KaTeX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Khan/KaTeX/statuses/{sha}","languages_url":"https://api.github.com/repos/Khan/KaTeX/languages","stargazers_url":"https://api.github.com/repos/Khan/KaTeX/stargazers","contributors_url":"https://api.github.com/repos/Khan/KaTeX/contributors","subscribers_url":"https://api.github.com/repos/Khan/KaTeX/subscribers","subscription_url":"https://api.github.com/repos/Khan/KaTeX/subscription","commits_url":"https://api.github.com/repos/Khan/KaTeX/commits{/sha}","git_commits_url":"https://api.github.com/repos/Khan/KaTeX/git/commits{/sha}","comments_url":"https://api.github.com/repos/Khan/KaTeX/comments{/number}","issue_comment_url":"https://api.github.com/repos/Khan/KaTeX/issues/comments{/number}","contents_url":"https://api.github.com/repos/Khan/KaTeX/contents/{+path}","compare_url":"https://api.github.com/repos/Khan/KaTeX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Khan/KaTeX/merges","archive_url":"https://api.github.com/repos/Khan/KaTeX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Khan/KaTeX/downloads","issues_url":"https://api.github.com/repos/Khan/KaTeX/issues{/number}","pulls_url":"https://api.github.com/repos/Khan/KaTeX/pulls{/number}","milestones_url":"https://api.github.com/repos/Khan/KaTeX/milestones{/number}","notifications_url":"https://api.github.com/repos/Khan/KaTeX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Khan/KaTeX/labels{/name}","releases_url":"https://api.github.com/repos/Khan/KaTeX/releases{/id}","deployments_url":"https://api.github.com/repos/Khan/KaTeX/deployments","created_at":"2013-07-05T09:01:54Z","updated_at":"2017-06-30T00:39:45Z","pushed_at":"2017-06-30T01:52:46Z","git_url":"git://github.com/Khan/KaTeX.git","ssh_url":"git@github.com:Khan/KaTeX.git","clone_url":"https://github.com/Khan/KaTeX.git","svn_url":"https://github.com/Khan/KaTeX","homepage":"https://khan.github.io/KaTeX/","size":16578,"stargazers_count":6080,"watchers_count":6080,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":409,"mirror_url":null,"open_issues_count":202,"forks":409,"open_issues":202,"watchers":6080,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/752"},"html":{"href":"https://github.com/Khan/KaTeX/pull/752"},"issue":{"href":"https://api.github.com/repos/Khan/KaTeX/issues/752"},"comments":{"href":"https://api.github.com/repos/Khan/KaTeX/issues/752/comments"},"review_comments":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/752/comments"},"review_comment":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/752/commits"},"statuses":{"href":"https://api.github.com/repos/Khan/KaTeX/statuses/8c4139512a4f45e0faf84b55254114774a44dbf9"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":63,"deletions":31,"changed_files":2}}
{"actor":{"display_login":"kohler"}}