{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/5564","labels_url":"https://api.github.com/repos/openshift/origin/issues/5564/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/5564/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/5564/events","html_url":"https://github.com/openshift/origin/pull/5564","id":114478722,"number":5564,"title":"Throttle log updates to avoid UI flicker","user":{"login":"spadgett","id":1167259,"avatar_url":"https://avatars.githubusercontent.com/u/1167259?v=3","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-01T16:24:37Z","updated_at":"2015-11-01T16:44:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/5564","html_url":"https://github.com/openshift/origin/pull/5564","diff_url":"https://github.com/openshift/origin/pull/5564.diff","patch_url":"https://github.com/openshift/origin/pull/5564.patch"},"body":"Some browsers flicker when there are bursts of messages (dozens in a second). This seems worst in Safari. Buffer and throttle updates when auto-scrolling to avoid flicker.\r\n\r\nTested in Chrome, Firefox, IE, and Safari."},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/152842955","html_url":"https://github.com/openshift/origin/pull/5564#issuecomment-152842955","issue_url":"https://api.github.com/repos/openshift/origin/issues/5564","id":152842955,"user":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T16:44:32Z","updated_at":"2015-11-01T16:44:32Z","body":"Use a document fragment instead of an array, which lets the browser do a single DOM append (https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment)\r\n\r\nAlso, 500ms seems slow… maybe try 200?"}}