{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/11205","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/11205/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/11205/comments","events_url":"https://api.github.com/repos/servo/servo/issues/11205/events","html_url":"https://github.com/servo/servo/pull/11205","id":155094106,"number":11205,"title":"script: Avoid needless `ChangeRunningAnimationsState` messages during typical `requestAnimationFrame()` animations.","user":{"login":"pcwalton","id":157897,"avatar_url":"https://avatars.githubusercontent.com/u/157897?v=3","gravatar_id":"","url":"https://api.github.com/users/pcwalton","html_url":"https://github.com/pcwalton","followers_url":"https://api.github.com/users/pcwalton/followers","following_url":"https://api.github.com/users/pcwalton/following{/other_user}","gists_url":"https://api.github.com/users/pcwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/pcwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcwalton/subscriptions","organizations_url":"https://api.github.com/users/pcwalton/orgs","repos_url":"https://api.github.com/users/pcwalton/repos","events_url":"https://api.github.com/users/pcwalton/events{/privacy}","received_events_url":"https://api.github.com/users/pcwalton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/S-tests-failed","name":"S-tests-failed","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"jdm","id":27658,"avatar_url":"https://avatars.githubusercontent.com/u/27658?v=3","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2016-05-16T18:46:22Z","updated_at":"2016-05-17T21:05:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/11205","html_url":"https://github.com/servo/servo/pull/11205","diff_url":"https://github.com/servo/servo/pull/11205.diff","patch_url":"https://github.com/servo/servo/pull/11205.patch"},"body":"This skips useless message traffic when `requestAnimationFrame()` is\r\ncalled during an animation frame callback. It reduces CPU usage of the\r\nfollowing snippet by 49%:\r\n\r\n    <script>\r\n        function foo() {\r\n            requestAnimationFrame(foo);\r\n        }\r\n    </script>\r\n    <button onclick=\"foo()\">Start rAF</button>\r\n\r\nPartially addresses #9844.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/servo/servo/11205)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/219853638","html_url":"https://github.com/servo/servo/pull/11205#issuecomment-219853638","issue_url":"https://api.github.com/repos/servo/servo/issues/11205","id":219853638,"user":{"login":"bors-servo","id":4368172,"avatar_url":"https://avatars.githubusercontent.com/u/4368172?v=3","gravatar_id":"","url":"https://api.github.com/users/bors-servo","html_url":"https://github.com/bors-servo","followers_url":"https://api.github.com/users/bors-servo/followers","following_url":"https://api.github.com/users/bors-servo/following{/other_user}","gists_url":"https://api.github.com/users/bors-servo/gists{/gist_id}","starred_url":"https://api.github.com/users/bors-servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors-servo/subscriptions","organizations_url":"https://api.github.com/users/bors-servo/orgs","repos_url":"https://api.github.com/users/bors-servo/repos","events_url":"https://api.github.com/users/bors-servo/events{/privacy}","received_events_url":"https://api.github.com/users/bors-servo/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T21:05:02Z","updated_at":"2016-05-17T21:05:02Z","body":":hourglass: Testing commit 8a83261 with merge 6f0ba7d..."}}