{"action":"closed","issue":{"url":"https://api.github.com/repos/vmi/selenese-runner-java/issues/162","labels_url":"https://api.github.com/repos/vmi/selenese-runner-java/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/vmi/selenese-runner-java/issues/162/comments","events_url":"https://api.github.com/repos/vmi/selenese-runner-java/issues/162/events","html_url":"https://github.com/vmi/selenese-runner-java/issues/162","id":90095059,"number":162,"title":"Link locator optimization","user":{"login":"wimpster","id":13000181,"avatar_url":"https://avatars.githubusercontent.com/u/13000181?v=3","gravatar_id":"","url":"https://api.github.com/users/wimpster","html_url":"https://github.com/wimpster","followers_url":"https://api.github.com/users/wimpster/followers","following_url":"https://api.github.com/users/wimpster/following{/other_user}","gists_url":"https://api.github.com/users/wimpster/gists{/gist_id}","starred_url":"https://api.github.com/users/wimpster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimpster/subscriptions","organizations_url":"https://api.github.com/users/wimpster/orgs","repos_url":"https://api.github.com/users/wimpster/repos","events_url":"https://api.github.com/users/wimpster/events{/privacy}","received_events_url":"https://api.github.com/users/wimpster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vmi/selenese-runner-java/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"vmi","id":74394,"avatar_url":"https://avatars.githubusercontent.com/u/74394?v=3","gravatar_id":"","url":"https://api.github.com/users/vmi","html_url":"https://github.com/vmi","followers_url":"https://api.github.com/users/vmi/followers","following_url":"https://api.github.com/users/vmi/following{/other_user}","gists_url":"https://api.github.com/users/vmi/gists{/gist_id}","starred_url":"https://api.github.com/users/vmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmi/subscriptions","organizations_url":"https://api.github.com/users/vmi/orgs","repos_url":"https://api.github.com/users/vmi/repos","events_url":"https://api.github.com/users/vmi/events{/privacy}","received_events_url":"https://api.github.com/users/vmi/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/vmi/selenese-runner-java/milestones/35","html_url":"https://github.com/vmi/selenese-runner-java/milestones/2.0.1","labels_url":"https://api.github.com/repos/vmi/selenese-runner-java/milestones/35/labels","id":1294417,"number":35,"title":"2.0.1","description":"","creator":{"login":"vmi","id":74394,"avatar_url":"https://avatars.githubusercontent.com/u/74394?v=3","gravatar_id":"","url":"https://api.github.com/users/vmi","html_url":"https://github.com/vmi","followers_url":"https://api.github.com/users/vmi/followers","following_url":"https://api.github.com/users/vmi/following{/other_user}","gists_url":"https://api.github.com/users/vmi/gists{/gist_id}","starred_url":"https://api.github.com/users/vmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmi/subscriptions","organizations_url":"https://api.github.com/users/vmi/orgs","repos_url":"https://api.github.com/users/vmi/repos","events_url":"https://api.github.com/users/vmi/events{/privacy}","received_events_url":"https://api.github.com/users/vmi/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-09-07T23:07:03Z","updated_at":"2015-09-24T02:10:42Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-06-22T13:14:27Z","updated_at":"2015-09-24T02:10:42Z","closed_at":"2015-09-24T02:10:42Z","body":"We noticed high CPU usage in Chrome(driver) and traced it back to the current implementation of the _link locator_ as implemented in _LinkHandler.java_. It currently works like this:\r\n* Retrieve all _a_ tags\r\n* Iterate over them\r\n* Retrieve their text value\r\n* Match the text against a regular expression\r\n\r\nFor pages with a large amount of links it starts using quite an amount of CPU and slows down execution of test cases significantly.\r\n"}}