{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/5052","labels_url":"https://api.github.com/repos/facebook/react-native/issues/5052/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/5052/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/5052/events","html_url":"https://github.com/facebook/react-native/pull/5052","id":124415293,"number":5052,"title":"Initial implementation of requestIdleCallback on Android","user":{"login":"brentvatne","id":90494,"avatar_url":"https://avatars.githubusercontent.com/u/90494?v=3","gravatar_id":"","url":"https://api.github.com/users/brentvatne","html_url":"https://github.com/brentvatne","followers_url":"https://api.github.com/users/brentvatne/followers","following_url":"https://api.github.com/users/brentvatne/following{/other_user}","gists_url":"https://api.github.com/users/brentvatne/gists{/gist_id}","starred_url":"https://api.github.com/users/brentvatne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentvatne/subscriptions","organizations_url":"https://api.github.com/users/brentvatne/orgs","repos_url":"https://api.github.com/users/brentvatne/repos","events_url":"https://api.github.com/users/brentvatne/events{/privacy}","received_events_url":"https://api.github.com/users/brentvatne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7"},{"url":"https://api.github.com/repos/facebook/react-native/labels/GH%20Review:%20review-needed","name":"GH Review: review-needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-30T23:50:11Z","updated_at":"2015-12-30T23:50:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/5052","html_url":"https://github.com/facebook/react-native/pull/5052","diff_url":"https://github.com/facebook/react-native/pull/5052.diff","patch_url":"https://github.com/facebook/react-native/pull/5052.patch"},"body":"- Does not implement implement `IdleRequestOptions` or `didTimeout`\r\n- Uses naive heuristic for finding idle time: runs after all ReactChoreographer callbacks, if there is >= 12ms remaining in frame, execute idle callbacks\r\n- Falls back to `requestAnimationFrame` on iOS and warns that it is not implemented on this platform yet\r\n\r\nTest plan:\r\n- Use `requestIdleCallback` to schedule some work, then stagger CPU to be burned for ~10ms in various `requestAnimationFrame` callbacks, idle callback should not fire until all of those are completed.\r\n\r\n![ric](https://cloud.githubusercontent.com/assets/90494/12059252/a9ff12e2-af0c-11e5-8052-78b5576323de.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/168096813","html_url":"https://github.com/facebook/react-native/pull/5052#issuecomment-168096813","issue_url":"https://api.github.com/repos/facebook/react-native/issues/5052","id":168096813,"user":{"login":"facebook-github-bot","id":6422482,"avatar_url":"https://avatars.githubusercontent.com/u/6422482?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook-github-bot","html_url":"https://github.com/facebook-github-bot","followers_url":"https://api.github.com/users/facebook-github-bot/followers","following_url":"https://api.github.com/users/facebook-github-bot/following{/other_user}","gists_url":"https://api.github.com/users/facebook-github-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook-github-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook-github-bot/subscriptions","organizations_url":"https://api.github.com/users/facebook-github-bot/orgs","repos_url":"https://api.github.com/users/facebook-github-bot/repos","events_url":"https://api.github.com/users/facebook-github-bot/events{/privacy}","received_events_url":"https://api.github.com/users/facebook-github-bot/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T23:50:31Z","updated_at":"2015-12-30T23:50:31Z","body":"By analyzing the blame information on this pull request, we identified @mkonicek, @spicyj and @mhorowitz to be potential reviewers."}}