{"action":"opened","number":508,"pull_request":{"url":"https://api.github.com/repos/JetBrains/intellij-community/pulls/508","id":104255960,"html_url":"https://github.com/JetBrains/intellij-community/pull/508","diff_url":"https://github.com/JetBrains/intellij-community/pull/508.diff","patch_url":"https://github.com/JetBrains/intellij-community/pull/508.patch","issue_url":"https://api.github.com/repos/JetBrains/intellij-community/issues/508","number":508,"state":"open","locked":false,"title":"Speedup gradle test output XML processing","user":{"login":"jonnyzzz","id":256431,"avatar_url":"https://avatars.githubusercontent.com/u/256431?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnyzzz","html_url":"https://github.com/jonnyzzz","followers_url":"https://api.github.com/users/jonnyzzz/followers","following_url":"https://api.github.com/users/jonnyzzz/following{/other_user}","gists_url":"https://api.github.com/users/jonnyzzz/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnyzzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnyzzz/subscriptions","organizations_url":"https://api.github.com/users/jonnyzzz/orgs","repos_url":"https://api.github.com/users/jonnyzzz/repos","events_url":"https://api.github.com/users/jonnyzzz/events{/privacy}","received_events_url":"https://api.github.com/users/jonnyzzz/received_events","type":"User","site_admin":false},"body":"As discussed in the https://youtrack.jetbrains.com/issue/IDEA-167449 issue I decided to implement faster XML processing for Gradle plugin that would avoid my most pain point for tests with heavy output flow. \r\n\r\nBefore the fix, IDEA UI was too overloaded. According to Activity Monitor IDEA process was eating even more CPU than tests worker process. You may find snapshot in the issue. \r\n\r\nAfter the fix I see It consumes less CPU wither by IDEA UI responsiveness or by fresh CPU profiling.\r\n\r\nCurrent implementation I use XStreams (it was included in classpath) Hierarchical parser that uses KXML pull parser implementation. The whole processing is done within one class.\r\n\r\nUnfortunately, I was not able to implement integration tests to measure performance boost more technically as well as to make sure performance will not be lost again. Also, it looks like there are NO tests for test runner integration at all. Just let me know if you have some correct snippet to implement more test.  ","created_at":"2017-02-02T00:56:57Z","updated_at":"2017-02-02T00:56:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JetBrains/intellij-community/pulls/508/commits","review_comments_url":"https://api.github.com/repos/JetBrains/intellij-community/pulls/508/comments","review_comment_url":"https://api.github.com/repos/JetBrains/intellij-community/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JetBrains/intellij-community/issues/508/comments","statuses_url":"https://api.github.com/repos/JetBrains/intellij-community/statuses/a9266ea6807f67f9361a91bc7cc161b951d4e90e","head":{"label":"jonnyzzz:fast-gradle-test-output","ref":"fast-gradle-test-output","sha":"a9266ea6807f67f9361a91bc7cc161b951d4e90e","user":{"login":"jonnyzzz","id":256431,"avatar_url":"https://avatars.githubusercontent.com/u/256431?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnyzzz","html_url":"https://github.com/jonnyzzz","followers_url":"https://api.github.com/users/jonnyzzz/followers","following_url":"https://api.github.com/users/jonnyzzz/following{/other_user}","gists_url":"https://api.github.com/users/jonnyzzz/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnyzzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnyzzz/subscriptions","organizations_url":"https://api.github.com/users/jonnyzzz/orgs","repos_url":"https://api.github.com/users/jonnyzzz/repos","events_url":"https://api.github.com/users/jonnyzzz/events{/privacy}","received_events_url":"https://api.github.com/users/jonnyzzz/received_events","type":"User","site_admin":false},"repo":{"id":61395237,"name":"intellij-community","full_name":"jonnyzzz/intellij-community","owner":{"login":"jonnyzzz","id":256431,"avatar_url":"https://avatars.githubusercontent.com/u/256431?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnyzzz","html_url":"https://github.com/jonnyzzz","followers_url":"https://api.github.com/users/jonnyzzz/followers","following_url":"https://api.github.com/users/jonnyzzz/following{/other_user}","gists_url":"https://api.github.com/users/jonnyzzz/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnyzzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnyzzz/subscriptions","organizations_url":"https://api.github.com/users/jonnyzzz/orgs","repos_url":"https://api.github.com/users/jonnyzzz/repos","events_url":"https://api.github.com/users/jonnyzzz/events{/privacy}","received_events_url":"https://api.github.com/users/jonnyzzz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonnyzzz/intellij-community","description":"IntelliJ IDEA Community Edition","fork":true,"url":"https://api.github.com/repos/jonnyzzz/intellij-community","forks_url":"https://api.github.com/repos/jonnyzzz/intellij-community/forks","keys_url":"https://api.github.com/repos/jonnyzzz/intellij-community/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonnyzzz/intellij-community/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonnyzzz/intellij-community/teams","hooks_url":"https://api.github.com/repos/jonnyzzz/intellij-community/hooks","issue_events_url":"https://api.github.com/repos/jonnyzzz/intellij-community/issues/events{/number}","events_url":"https://api.github.com/repos/jonnyzzz/intellij-community/events","assignees_url":"https://api.github.com/repos/jonnyzzz/intellij-community/assignees{/user}","branches_url":"https://api.github.com/repos/jonnyzzz/intellij-community/branches{/branch}","tags_url":"https://api.github.com/repos/jonnyzzz/intellij-community/tags","blobs_url":"https://api.github.com/repos/jonnyzzz/intellij-community/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonnyzzz/intellij-community/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonnyzzz/intellij-community/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonnyzzz/intellij-community/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonnyzzz/intellij-community/statuses/{sha}","languages_url":"https://api.github.com/repos/jonnyzzz/intellij-community/languages","stargazers_url":"https://api.github.com/repos/jonnyzzz/intellij-community/stargazers","contributors_url":"https://api.github.com/repos/jonnyzzz/intellij-community/contributors","subscribers_url":"https://api.github.com/repos/jonnyzzz/intellij-community/subscribers","subscription_url":"https://api.github.com/repos/jonnyzzz/intellij-community/subscription","commits_url":"https://api.github.com/repos/jonnyzzz/intellij-community/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonnyzzz/intellij-community/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonnyzzz/intellij-community/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonnyzzz/intellij-community/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonnyzzz/intellij-community/contents/{+path}","compare_url":"https://api.github.com/repos/jonnyzzz/intellij-community/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonnyzzz/intellij-community/merges","archive_url":"https://api.github.com/repos/jonnyzzz/intellij-community/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonnyzzz/intellij-community/downloads","issues_url":"https://api.github.com/repos/jonnyzzz/intellij-community/issues{/number}","pulls_url":"https://api.github.com/repos/jonnyzzz/intellij-community/pulls{/number}","milestones_url":"https://api.github.com/repos/jonnyzzz/intellij-community/milestones{/number}","notifications_url":"https://api.github.com/repos/jonnyzzz/intellij-community/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonnyzzz/intellij-community/labels{/name}","releases_url":"https://api.github.com/repos/jonnyzzz/intellij-community/releases{/id}","deployments_url":"https://api.github.com/repos/jonnyzzz/intellij-community/deployments","created_at":"2016-06-17T18:45:47Z","updated_at":"2017-02-01T18:20:58Z","pushed_at":"2017-02-02T00:37:31Z","git_url":"git://github.com/jonnyzzz/intellij-community.git","ssh_url":"git@github.com:jonnyzzz/intellij-community.git","clone_url":"https://github.com/jonnyzzz/intellij-community.git","svn_url":"https://github.com/jonnyzzz/intellij-community","homepage":"http://www.jetbrains.com/idea/","size":2460251,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JetBrains:master","ref":"master","sha":"7a1b4d789c7fb5cda023309cf49715aaed097989","user":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":2489216,"name":"intellij-community","full_name":"JetBrains/intellij-community","owner":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JetBrains/intellij-community","description":"IntelliJ IDEA Community Edition","fork":false,"url":"https://api.github.com/repos/JetBrains/intellij-community","forks_url":"https://api.github.com/repos/JetBrains/intellij-community/forks","keys_url":"https://api.github.com/repos/JetBrains/intellij-community/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/intellij-community/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/intellij-community/teams","hooks_url":"https://api.github.com/repos/JetBrains/intellij-community/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/intellij-community/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/intellij-community/events","assignees_url":"https://api.github.com/repos/JetBrains/intellij-community/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/intellij-community/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/intellij-community/tags","blobs_url":"https://api.github.com/repos/JetBrains/intellij-community/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/intellij-community/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/intellij-community/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/intellij-community/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/intellij-community/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/intellij-community/languages","stargazers_url":"https://api.github.com/repos/JetBrains/intellij-community/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/intellij-community/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/intellij-community/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/intellij-community/subscription","commits_url":"https://api.github.com/repos/JetBrains/intellij-community/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/intellij-community/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/intellij-community/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/intellij-community/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/intellij-community/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/intellij-community/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/intellij-community/merges","archive_url":"https://api.github.com/repos/JetBrains/intellij-community/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/intellij-community/downloads","issues_url":"https://api.github.com/repos/JetBrains/intellij-community/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/intellij-community/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/intellij-community/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/intellij-community/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/intellij-community/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/intellij-community/releases{/id}","deployments_url":"https://api.github.com/repos/JetBrains/intellij-community/deployments","created_at":"2011-09-30T13:33:05Z","updated_at":"2017-02-01T19:57:10Z","pushed_at":"2017-02-01T20:01:09Z","git_url":"git://github.com/JetBrains/intellij-community.git","ssh_url":"git@github.com:JetBrains/intellij-community.git","clone_url":"https://github.com/JetBrains/intellij-community.git","svn_url":"https://github.com/JetBrains/intellij-community","homepage":"http://www.jetbrains.com/idea/","size":2473376,"stargazers_count":3920,"watchers_count":3920,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1595,"mirror_url":null,"open_issues_count":98,"forks":1595,"open_issues":98,"watchers":3920,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JetBrains/intellij-community/pulls/508"},"html":{"href":"https://github.com/JetBrains/intellij-community/pull/508"},"issue":{"href":"https://api.github.com/repos/JetBrains/intellij-community/issues/508"},"comments":{"href":"https://api.github.com/repos/JetBrains/intellij-community/issues/508/comments"},"review_comments":{"href":"https://api.github.com/repos/JetBrains/intellij-community/pulls/508/comments"},"review_comment":{"href":"https://api.github.com/repos/JetBrains/intellij-community/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JetBrains/intellij-community/pulls/508/commits"},"statuses":{"href":"https://api.github.com/repos/JetBrains/intellij-community/statuses/a9266ea6807f67f9361a91bc7cc161b951d4e90e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":7,"additions":425,"deletions":234,"changed_files":16}}
{"actor":{"display_login":"jonnyzzz"}}