{"action":"closed","issue":{"url":"https://api.github.com/repos/servo/servo/issues/7782","labels_url":"https://api.github.com/repos/servo/servo/issues/7782/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/7782/comments","events_url":"https://api.github.com/repos/servo/servo/issues/7782/events","html_url":"https://github.com/servo/servo/issues/7782","id":108830816,"number":7782,"title":"requestAnimationFrame is called ~1500 times per second","user":{"login":"paulrouget","id":373579,"avatar_url":"https://avatars.githubusercontent.com/u/373579?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrouget","html_url":"https://github.com/paulrouget","followers_url":"https://api.github.com/users/paulrouget/followers","following_url":"https://api.github.com/users/paulrouget/following{/other_user}","gists_url":"https://api.github.com/users/paulrouget/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrouget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrouget/subscriptions","organizations_url":"https://api.github.com/users/paulrouget/orgs","repos_url":"https://api.github.com/users/paulrouget/repos","events_url":"https://api.github.com/users/paulrouget/events{/privacy}","received_events_url":"https://api.github.com/users/paulrouget/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/A-gfx/compositing","name":"A-gfx/compositing","color":"d7e102"},{"url":"https://api.github.com/repos/servo/servo/labels/I-wrong","name":"I-wrong","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-09-29T09:28:18Z","updated_at":"2016-01-28T06:43:45Z","closed_at":"2016-01-28T06:43:45Z","body":"Which is a little bit too much :)\r\n\r\n```html\r\n<script>\r\n  var count = 0;\r\n  function step() {\r\n    count++;\r\n    requestAnimationFrame(step);\r\n  }\r\n\r\n  setInterval(function() {\r\n    document.body.textContent = count + \"FPS\";\r\n    count = 0;\r\n  }, 1000);\r\n\r\n  step();\r\n</script>\r\n```"}}