{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/jraska/Console/pulls/18","id":224532024,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NTMyMDI0","html_url":"https://github.com/jraska/Console/pull/18","diff_url":"https://github.com/jraska/Console/pull/18.diff","patch_url":"https://github.com/jraska/Console/pull/18.patch","issue_url":"https://api.github.com/repos/jraska/Console/issues/18","number":18,"state":"open","locked":false,"title":"Improve performance in cases console is written from another thread","user":{"login":"jraska","id":6277721,"node_id":"MDQ6VXNlcjYyNzc3MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/6277721?v=4","gravatar_id":"","url":"https://api.github.com/users/jraska","html_url":"https://github.com/jraska","followers_url":"https://api.github.com/users/jraska/followers","following_url":"https://api.github.com/users/jraska/following{/other_user}","gists_url":"https://api.github.com/users/jraska/gists{/gist_id}","starred_url":"https://api.github.com/users/jraska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jraska/subscriptions","organizations_url":"https://api.github.com/users/jraska/orgs","repos_url":"https://api.github.com/users/jraska/repos","events_url":"https://api.github.com/users/jraska/events{/privacy}","received_events_url":"https://api.github.com/users/jraska/received_events","type":"User","site_admin":false},"body":"We scheduled a handler runnable each time anything was written into console, which led to poor performance when writing many entires from other threads.\r\n\r\nSince handler message remains int main looper handler until next frame, we don't need to send any other message at this period and we can only check if handler has the message or not.","created_at":"2018-10-21T10:37:39Z","updated_at":"2018-10-21T10:37:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jraska/Console/pulls/18/commits","review_comments_url":"https://api.github.com/repos/jraska/Console/pulls/18/comments","review_comment_url":"https://api.github.com/repos/jraska/Console/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jraska/Console/issues/18/comments","statuses_url":"https://api.github.com/repos/jraska/Console/statuses/df9e066f95635ab94491995fc76329457a443273","head":{"label":"jraska:update_ui_less_frequently","ref":"update_ui_less_frequently","sha":"df9e066f95635ab94491995fc76329457a443273","user":{"login":"jraska","id":6277721,"node_id":"MDQ6VXNlcjYyNzc3MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/6277721?v=4","gravatar_id":"","url":"https://api.github.com/users/jraska","html_url":"https://github.com/jraska","followers_url":"https://api.github.com/users/jraska/followers","following_url":"https://api.github.com/users/jraska/following{/other_user}","gists_url":"https://api.github.com/users/jraska/gists{/gist_id}","starred_url":"https://api.github.com/users/jraska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jraska/subscriptions","organizations_url":"https://api.github.com/users/jraska/orgs","repos_url":"https://api.github.com/users/jraska/repos","events_url":"https://api.github.com/users/jraska/events{/privacy}","received_events_url":"https://api.github.com/users/jraska/received_events","type":"User","site_admin":false},"repo":{"id":46227952,"node_id":"MDEwOlJlcG9zaXRvcnk0NjIyNzk1Mg==","name":"Console","full_name":"jraska/Console","private":false,"owner":{"login":"jraska","id":6277721,"node_id":"MDQ6VXNlcjYyNzc3MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/6277721?v=4","gravatar_id":"","url":"https://api.github.com/users/jraska","html_url":"https://github.com/jraska","followers_url":"https://api.github.com/users/jraska/followers","following_url":"https://api.github.com/users/jraska/following{/other_user}","gists_url":"https://api.github.com/users/jraska/gists{/gist_id}","starred_url":"https://api.github.com/users/jraska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jraska/subscriptions","organizations_url":"https://api.github.com/users/jraska/orgs","repos_url":"https://api.github.com/users/jraska/repos","events_url":"https://api.github.com/users/jraska/events{/privacy}","received_events_url":"https://api.github.com/users/jraska/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jraska/Console","description":"Android console implementation","fork":false,"url":"https://api.github.com/repos/jraska/Console","forks_url":"https://api.github.com/repos/jraska/Console/forks","keys_url":"https://api.github.com/repos/jraska/Console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jraska/Console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jraska/Console/teams","hooks_url":"https://api.github.com/repos/jraska/Console/hooks","issue_events_url":"https://api.github.com/repos/jraska/Console/issues/events{/number}","events_url":"https://api.github.com/repos/jraska/Console/events","assignees_url":"https://api.github.com/repos/jraska/Console/assignees{/user}","branches_url":"https://api.github.com/repos/jraska/Console/branches{/branch}","tags_url":"https://api.github.com/repos/jraska/Console/tags","blobs_url":"https://api.github.com/repos/jraska/Console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jraska/Console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jraska/Console/git/refs{/sha}","trees_url":"https://api.github.com/repos/jraska/Console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jraska/Console/statuses/{sha}","languages_url":"https://api.github.com/repos/jraska/Console/languages","stargazers_url":"https://api.github.com/repos/jraska/Console/stargazers","contributors_url":"https://api.github.com/repos/jraska/Console/contributors","subscribers_url":"https://api.github.com/repos/jraska/Console/subscribers","subscription_url":"https://api.github.com/repos/jraska/Console/subscription","commits_url":"https://api.github.com/repos/jraska/Console/commits{/sha}","git_commits_url":"https://api.github.com/repos/jraska/Console/git/commits{/sha}","comments_url":"https://api.github.com/repos/jraska/Console/comments{/number}","issue_comment_url":"https://api.github.com/repos/jraska/Console/issues/comments{/number}","contents_url":"https://api.github.com/repos/jraska/Console/contents/{+path}","compare_url":"https://api.github.com/repos/jraska/Console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jraska/Console/merges","archive_url":"https://api.github.com/repos/jraska/Console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jraska/Console/downloads","issues_url":"https://api.github.com/repos/jraska/Console/issues{/number}","pulls_url":"https://api.github.com/repos/jraska/Console/pulls{/number}","milestones_url":"https://api.github.com/repos/jraska/Console/milestones{/number}","notifications_url":"https://api.github.com/repos/jraska/Console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jraska/Console/labels{/name}","releases_url":"https://api.github.com/repos/jraska/Console/releases{/id}","deployments_url":"https://api.github.com/repos/jraska/Console/deployments","created_at":"2015-11-15T17:28:22Z","updated_at":"2018-10-21T09:00:45Z","pushed_at":"2018-10-21T10:33:08Z","git_url":"git://github.com/jraska/Console.git","ssh_url":"git@github.com:jraska/Console.git","clone_url":"https://github.com/jraska/Console.git","svn_url":"https://github.com/jraska/Console","homepage":null,"size":381,"stargazers_count":82,"watchers_count":82,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":8,"open_issues":4,"watchers":82,"default_branch":"master"}},"base":{"label":"jraska:master","ref":"master","sha":"a3d96f1dd3fd85f7c4beb36d6099a7e30e0d8fe6","user":{"login":"jraska","id":6277721,"node_id":"MDQ6VXNlcjYyNzc3MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/6277721?v=4","gravatar_id":"","url":"https://api.github.com/users/jraska","html_url":"https://github.com/jraska","followers_url":"https://api.github.com/users/jraska/followers","following_url":"https://api.github.com/users/jraska/following{/other_user}","gists_url":"https://api.github.com/users/jraska/gists{/gist_id}","starred_url":"https://api.github.com/users/jraska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jraska/subscriptions","organizations_url":"https://api.github.com/users/jraska/orgs","repos_url":"https://api.github.com/users/jraska/repos","events_url":"https://api.github.com/users/jraska/events{/privacy}","received_events_url":"https://api.github.com/users/jraska/received_events","type":"User","site_admin":false},"repo":{"id":46227952,"node_id":"MDEwOlJlcG9zaXRvcnk0NjIyNzk1Mg==","name":"Console","full_name":"jraska/Console","private":false,"owner":{"login":"jraska","id":6277721,"node_id":"MDQ6VXNlcjYyNzc3MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/6277721?v=4","gravatar_id":"","url":"https://api.github.com/users/jraska","html_url":"https://github.com/jraska","followers_url":"https://api.github.com/users/jraska/followers","following_url":"https://api.github.com/users/jraska/following{/other_user}","gists_url":"https://api.github.com/users/jraska/gists{/gist_id}","starred_url":"https://api.github.com/users/jraska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jraska/subscriptions","organizations_url":"https://api.github.com/users/jraska/orgs","repos_url":"https://api.github.com/users/jraska/repos","events_url":"https://api.github.com/users/jraska/events{/privacy}","received_events_url":"https://api.github.com/users/jraska/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jraska/Console","description":"Android console implementation","fork":false,"url":"https://api.github.com/repos/jraska/Console","forks_url":"https://api.github.com/repos/jraska/Console/forks","keys_url":"https://api.github.com/repos/jraska/Console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jraska/Console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jraska/Console/teams","hooks_url":"https://api.github.com/repos/jraska/Console/hooks","issue_events_url":"https://api.github.com/repos/jraska/Console/issues/events{/number}","events_url":"https://api.github.com/repos/jraska/Console/events","assignees_url":"https://api.github.com/repos/jraska/Console/assignees{/user}","branches_url":"https://api.github.com/repos/jraska/Console/branches{/branch}","tags_url":"https://api.github.com/repos/jraska/Console/tags","blobs_url":"https://api.github.com/repos/jraska/Console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jraska/Console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jraska/Console/git/refs{/sha}","trees_url":"https://api.github.com/repos/jraska/Console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jraska/Console/statuses/{sha}","languages_url":"https://api.github.com/repos/jraska/Console/languages","stargazers_url":"https://api.github.com/repos/jraska/Console/stargazers","contributors_url":"https://api.github.com/repos/jraska/Console/contributors","subscribers_url":"https://api.github.com/repos/jraska/Console/subscribers","subscription_url":"https://api.github.com/repos/jraska/Console/subscription","commits_url":"https://api.github.com/repos/jraska/Console/commits{/sha}","git_commits_url":"https://api.github.com/repos/jraska/Console/git/commits{/sha}","comments_url":"https://api.github.com/repos/jraska/Console/comments{/number}","issue_comment_url":"https://api.github.com/repos/jraska/Console/issues/comments{/number}","contents_url":"https://api.github.com/repos/jraska/Console/contents/{+path}","compare_url":"https://api.github.com/repos/jraska/Console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jraska/Console/merges","archive_url":"https://api.github.com/repos/jraska/Console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jraska/Console/downloads","issues_url":"https://api.github.com/repos/jraska/Console/issues{/number}","pulls_url":"https://api.github.com/repos/jraska/Console/pulls{/number}","milestones_url":"https://api.github.com/repos/jraska/Console/milestones{/number}","notifications_url":"https://api.github.com/repos/jraska/Console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jraska/Console/labels{/name}","releases_url":"https://api.github.com/repos/jraska/Console/releases{/id}","deployments_url":"https://api.github.com/repos/jraska/Console/deployments","created_at":"2015-11-15T17:28:22Z","updated_at":"2018-10-21T09:00:45Z","pushed_at":"2018-10-21T10:33:08Z","git_url":"git://github.com/jraska/Console.git","ssh_url":"git@github.com:jraska/Console.git","clone_url":"https://github.com/jraska/Console.git","svn_url":"https://github.com/jraska/Console","homepage":null,"size":381,"stargazers_count":82,"watchers_count":82,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":8,"open_issues":4,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jraska/Console/pulls/18"},"html":{"href":"https://github.com/jraska/Console/pull/18"},"issue":{"href":"https://api.github.com/repos/jraska/Console/issues/18"},"comments":{"href":"https://api.github.com/repos/jraska/Console/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/jraska/Console/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/jraska/Console/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jraska/Console/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/jraska/Console/statuses/df9e066f95635ab94491995fc76329457a443273"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":43,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"jraska"}}