{"action":"closed","number":1635,"pull_request":{"url":"https://api.github.com/repos/angular/material2/pulls/1635","id":91258383,"html_url":"https://github.com/angular/material2/pull/1635","diff_url":"https://github.com/angular/material2/pull/1635.diff","patch_url":"https://github.com/angular/material2/pull/1635.patch","issue_url":"https://api.github.com/repos/angular/material2/issues/1635","number":1635,"state":"closed","locked":false,"title":"perf(progress-circle): improved rendering performance","user":{"login":"crisbeto","id":4450522,"avatar_url":"https://avatars.githubusercontent.com/u/4450522?v=3","gravatar_id":"","url":"https://api.github.com/users/crisbeto","html_url":"https://github.com/crisbeto","followers_url":"https://api.github.com/users/crisbeto/followers","following_url":"https://api.github.com/users/crisbeto/following{/other_user}","gists_url":"https://api.github.com/users/crisbeto/gists{/gist_id}","starred_url":"https://api.github.com/users/crisbeto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisbeto/subscriptions","organizations_url":"https://api.github.com/users/crisbeto/orgs","repos_url":"https://api.github.com/users/crisbeto/repos","events_url":"https://api.github.com/users/crisbeto/events{/privacy}","received_events_url":"https://api.github.com/users/crisbeto/received_events","type":"User","site_admin":false},"body":"Currently the progress circle hits ZoneJS on every animation frame, due to `requestAnimationFrame`. This change:\n- Wraps the `requestAnimationFrame` calls in `runOutsideAngular` in order to avoid hitting the change detection on every frame.\n- Switches from using an attribute binding to manipulating the `path` node directly.\n\nReferencing #1570, #1511.\n\n**Note:** I'm open to suggestions on better ways to fetch a reference to the `path` node. I've tried doing it in the constructor and in an `OnInit` method, but certain animations fire too early for the element to be rendered.\n","created_at":"2016-10-27T18:48:07Z","updated_at":"2016-11-01T17:16:48Z","closed_at":"2016-11-01T17:16:48Z","merged_at":"2016-11-01T17:16:48Z","merge_commit_sha":"0883fb295f632b429806812037df383baeb1d5c6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/angular/material2/pulls/1635/commits","review_comments_url":"https://api.github.com/repos/angular/material2/pulls/1635/comments","review_comment_url":"https://api.github.com/repos/angular/material2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/material2/issues/1635/comments","statuses_url":"https://api.github.com/repos/angular/material2/statuses/2f4976bd7f1fda0ea68cff2e54f560ccade6c8ab","head":{"label":"crisbeto:progress-circle-perf","ref":"progress-circle-perf","sha":"2f4976bd7f1fda0ea68cff2e54f560ccade6c8ab","user":{"login":"crisbeto","id":4450522,"avatar_url":"https://avatars.githubusercontent.com/u/4450522?v=3","gravatar_id":"","url":"https://api.github.com/users/crisbeto","html_url":"https://github.com/crisbeto","followers_url":"https://api.github.com/users/crisbeto/followers","following_url":"https://api.github.com/users/crisbeto/following{/other_user}","gists_url":"https://api.github.com/users/crisbeto/gists{/gist_id}","starred_url":"https://api.github.com/users/crisbeto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisbeto/subscriptions","organizations_url":"https://api.github.com/users/crisbeto/orgs","repos_url":"https://api.github.com/users/crisbeto/repos","events_url":"https://api.github.com/users/crisbeto/events{/privacy}","received_events_url":"https://api.github.com/users/crisbeto/received_events","type":"User","site_admin":false},"repo":{"id":60285287,"name":"material2","full_name":"crisbeto/material2","owner":{"login":"crisbeto","id":4450522,"avatar_url":"https://avatars.githubusercontent.com/u/4450522?v=3","gravatar_id":"","url":"https://api.github.com/users/crisbeto","html_url":"https://github.com/crisbeto","followers_url":"https://api.github.com/users/crisbeto/followers","following_url":"https://api.github.com/users/crisbeto/following{/other_user}","gists_url":"https://api.github.com/users/crisbeto/gists{/gist_id}","starred_url":"https://api.github.com/users/crisbeto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisbeto/subscriptions","organizations_url":"https://api.github.com/users/crisbeto/orgs","repos_url":"https://api.github.com/users/crisbeto/repos","events_url":"https://api.github.com/users/crisbeto/events{/privacy}","received_events_url":"https://api.github.com/users/crisbeto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crisbeto/material2","description":"Material Design components for Angular 2","fork":true,"url":"https://api.github.com/repos/crisbeto/material2","forks_url":"https://api.github.com/repos/crisbeto/material2/forks","keys_url":"https://api.github.com/repos/crisbeto/material2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crisbeto/material2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crisbeto/material2/teams","hooks_url":"https://api.github.com/repos/crisbeto/material2/hooks","issue_events_url":"https://api.github.com/repos/crisbeto/material2/issues/events{/number}","events_url":"https://api.github.com/repos/crisbeto/material2/events","assignees_url":"https://api.github.com/repos/crisbeto/material2/assignees{/user}","branches_url":"https://api.github.com/repos/crisbeto/material2/branches{/branch}","tags_url":"https://api.github.com/repos/crisbeto/material2/tags","blobs_url":"https://api.github.com/repos/crisbeto/material2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crisbeto/material2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crisbeto/material2/git/refs{/sha}","trees_url":"https://api.github.com/repos/crisbeto/material2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crisbeto/material2/statuses/{sha}","languages_url":"https://api.github.com/repos/crisbeto/material2/languages","stargazers_url":"https://api.github.com/repos/crisbeto/material2/stargazers","contributors_url":"https://api.github.com/repos/crisbeto/material2/contributors","subscribers_url":"https://api.github.com/repos/crisbeto/material2/subscribers","subscription_url":"https://api.github.com/repos/crisbeto/material2/subscription","commits_url":"https://api.github.com/repos/crisbeto/material2/commits{/sha}","git_commits_url":"https://api.github.com/repos/crisbeto/material2/git/commits{/sha}","comments_url":"https://api.github.com/repos/crisbeto/material2/comments{/number}","issue_comment_url":"https://api.github.com/repos/crisbeto/material2/issues/comments{/number}","contents_url":"https://api.github.com/repos/crisbeto/material2/contents/{+path}","compare_url":"https://api.github.com/repos/crisbeto/material2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crisbeto/material2/merges","archive_url":"https://api.github.com/repos/crisbeto/material2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crisbeto/material2/downloads","issues_url":"https://api.github.com/repos/crisbeto/material2/issues{/number}","pulls_url":"https://api.github.com/repos/crisbeto/material2/pulls{/number}","milestones_url":"https://api.github.com/repos/crisbeto/material2/milestones{/number}","notifications_url":"https://api.github.com/repos/crisbeto/material2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crisbeto/material2/labels{/name}","releases_url":"https://api.github.com/repos/crisbeto/material2/releases{/id}","deployments_url":"https://api.github.com/repos/crisbeto/material2/deployments","created_at":"2016-06-02T17:50:34Z","updated_at":"2016-06-02T17:50:36Z","pushed_at":"2016-11-01T17:06:36Z","git_url":"git://github.com/crisbeto/material2.git","ssh_url":"git@github.com:crisbeto/material2.git","clone_url":"https://github.com/crisbeto/material2.git","svn_url":"https://github.com/crisbeto/material2","homepage":"https://material.angular.io/","size":1967,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"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":"angular:master","ref":"master","sha":"04e2201018f37427c37bc2255d29e880dd55ab36","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":49016322,"name":"material2","full_name":"angular/material2","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/material2","description":"Material Design components for Angular 2","fork":false,"url":"https://api.github.com/repos/angular/material2","forks_url":"https://api.github.com/repos/angular/material2/forks","keys_url":"https://api.github.com/repos/angular/material2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/material2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/material2/teams","hooks_url":"https://api.github.com/repos/angular/material2/hooks","issue_events_url":"https://api.github.com/repos/angular/material2/issues/events{/number}","events_url":"https://api.github.com/repos/angular/material2/events","assignees_url":"https://api.github.com/repos/angular/material2/assignees{/user}","branches_url":"https://api.github.com/repos/angular/material2/branches{/branch}","tags_url":"https://api.github.com/repos/angular/material2/tags","blobs_url":"https://api.github.com/repos/angular/material2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/material2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/material2/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/material2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/material2/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/material2/languages","stargazers_url":"https://api.github.com/repos/angular/material2/stargazers","contributors_url":"https://api.github.com/repos/angular/material2/contributors","subscribers_url":"https://api.github.com/repos/angular/material2/subscribers","subscription_url":"https://api.github.com/repos/angular/material2/subscription","commits_url":"https://api.github.com/repos/angular/material2/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/material2/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/material2/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/material2/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/material2/contents/{+path}","compare_url":"https://api.github.com/repos/angular/material2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/material2/merges","archive_url":"https://api.github.com/repos/angular/material2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/material2/downloads","issues_url":"https://api.github.com/repos/angular/material2/issues{/number}","pulls_url":"https://api.github.com/repos/angular/material2/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/material2/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/material2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/material2/labels{/name}","releases_url":"https://api.github.com/repos/angular/material2/releases{/id}","deployments_url":"https://api.github.com/repos/angular/material2/deployments","created_at":"2016-01-04T18:50:02Z","updated_at":"2016-11-01T17:05:30Z","pushed_at":"2016-11-01T17:16:48Z","git_url":"git://github.com/angular/material2.git","ssh_url":"git@github.com:angular/material2.git","clone_url":"https://github.com/angular/material2.git","svn_url":"https://github.com/angular/material2","homepage":"https://material.angular.io/","size":8130,"stargazers_count":5283,"watchers_count":5283,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1021,"mirror_url":null,"open_issues_count":269,"forks":1021,"open_issues":269,"watchers":5283,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/material2/pulls/1635"},"html":{"href":"https://github.com/angular/material2/pull/1635"},"issue":{"href":"https://api.github.com/repos/angular/material2/issues/1635"},"comments":{"href":"https://api.github.com/repos/angular/material2/issues/1635/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/material2/pulls/1635/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/material2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/material2/pulls/1635/commits"},"statuses":{"href":"https://api.github.com/repos/angular/material2/statuses/2f4976bd7f1fda0ea68cff2e54f560ccade6c8ab"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hansl","id":681969,"avatar_url":"https://avatars.githubusercontent.com/u/681969?v=3","gravatar_id":"","url":"https://api.github.com/users/hansl","html_url":"https://github.com/hansl","followers_url":"https://api.github.com/users/hansl/followers","following_url":"https://api.github.com/users/hansl/following{/other_user}","gists_url":"https://api.github.com/users/hansl/gists{/gist_id}","starred_url":"https://api.github.com/users/hansl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansl/subscriptions","organizations_url":"https://api.github.com/users/hansl/orgs","repos_url":"https://api.github.com/users/hansl/repos","events_url":"https://api.github.com/users/hansl/events{/privacy}","received_events_url":"https://api.github.com/users/hansl/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"commits":1,"additions":45,"deletions":33,"changed_files":2}}
{"actor":{"display_login":"hansl"}}