{"action":"created","issue":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/7816","repository_url":"https://api.github.com/repos/highfidelity/hifi","labels_url":"https://api.github.com/repos/highfidelity/hifi/issues/7816/labels{/name}","comments_url":"https://api.github.com/repos/highfidelity/hifi/issues/7816/comments","events_url":"https://api.github.com/repos/highfidelity/hifi/issues/7816/events","html_url":"https://github.com/highfidelity/hifi/pull/7816","id":153152282,"number":7816,"title":"Drive render loop from DisplayPlugin instead of busy wait","user":{"login":"zzmp","id":5403956,"avatar_url":"https://avatars.githubusercontent.com/u/5403956?v=3","gravatar_id":"","url":"https://api.github.com/users/zzmp","html_url":"https://github.com/zzmp","followers_url":"https://api.github.com/users/zzmp/followers","following_url":"https://api.github.com/users/zzmp/following{/other_user}","gists_url":"https://api.github.com/users/zzmp/gists{/gist_id}","starred_url":"https://api.github.com/users/zzmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzmp/subscriptions","organizations_url":"https://api.github.com/users/zzmp/orgs","repos_url":"https://api.github.com/users/zzmp/repos","events_url":"https://api.github.com/users/zzmp/events{/privacy}","received_events_url":"https://api.github.com/users/zzmp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/highfidelity/hifi/labels/Development%20Approved","name":"Development Approved","color":"009800"},{"url":"https://api.github.com/repos/highfidelity/hifi/labels/QA%20Failed","name":"QA Failed","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-05-05T01:43:31Z","updated_at":"2016-05-09T18:59:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/highfidelity/hifi/pulls/7816","html_url":"https://github.com/highfidelity/hifi/pull/7816","diff_url":"https://github.com/highfidelity/hifi/pull/7816.diff","patch_url":"https://github.com/highfidelity/hifi/pull/7816.patch"},"body":"Changes the mechanism by which `Application::idle` is called from a busy wait to a `QEvent` posted by the `DisplayPlugin` when it is digesting a frame.\r\n\r\nWith a busy wait, everything was always running hot. Throttled display plugins (e.g. Desktop) ran as hot (on the CPU) as anything else (e.g. DK2).\r\nUsing a `QEvent` instead allows CPU use to drop back down when not using Interface, an observed problem on i5 chips.\r\n\r\nA `condition_variable` was also explored, but this was simpler and had better performance (see #7805)."},"comment":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/comments/217956836","html_url":"https://github.com/highfidelity/hifi/pull/7816#issuecomment-217956836","issue_url":"https://api.github.com/repos/highfidelity/hifi/issues/7816","id":217956836,"user":{"login":"zzmp","id":5403956,"avatar_url":"https://avatars.githubusercontent.com/u/5403956?v=3","gravatar_id":"","url":"https://api.github.com/users/zzmp","html_url":"https://github.com/zzmp","followers_url":"https://api.github.com/users/zzmp/followers","following_url":"https://api.github.com/users/zzmp/following{/other_user}","gists_url":"https://api.github.com/users/zzmp/gists{/gist_id}","starred_url":"https://api.github.com/users/zzmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzmp/subscriptions","organizations_url":"https://api.github.com/users/zzmp/orgs","repos_url":"https://api.github.com/users/zzmp/repos","events_url":"https://api.github.com/users/zzmp/events{/privacy}","received_events_url":"https://api.github.com/users/zzmp/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T18:59:36Z","updated_at":"2016-05-09T18:59:36Z","body":"Hangs, too."}}