{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/121","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/121/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/121/events","html_url":"https://github.com/Microsoft/vscode-go/issues/121","id":119344785,"number":121,"title":"Too many goreturns processes","user":{"login":"pilwon","id":61540,"avatar_url":"https://avatars.githubusercontent.com/u/61540?v=3","gravatar_id":"","url":"https://api.github.com/users/pilwon","html_url":"https://github.com/pilwon","followers_url":"https://api.github.com/users/pilwon/followers","following_url":"https://api.github.com/users/pilwon/following{/other_user}","gists_url":"https://api.github.com/users/pilwon/gists{/gist_id}","starred_url":"https://api.github.com/users/pilwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pilwon/subscriptions","organizations_url":"https://api.github.com/users/pilwon/orgs","repos_url":"https://api.github.com/users/pilwon/repos","events_url":"https://api.github.com/users/pilwon/events{/privacy}","received_events_url":"https://api.github.com/users/pilwon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-29T07:37:02Z","updated_at":"2015-11-29T17:00:22Z","closed_at":null,"body":"The latest version (v0.6.16) has a CPU usage issue causing sluggishness on OSX Yosemite, due to a lot of `goreturns` processes being spawned and run at the same time in the background."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/comments/160432084","html_url":"https://github.com/Microsoft/vscode-go/issues/121#issuecomment-160432084","issue_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/121","id":160432084,"user":{"login":"lukehoban","id":223467,"avatar_url":"https://avatars.githubusercontent.com/u/223467?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehoban","html_url":"https://github.com/lukehoban","followers_url":"https://api.github.com/users/lukehoban/followers","following_url":"https://api.github.com/users/lukehoban/following{/other_user}","gists_url":"https://api.github.com/users/lukehoban/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehoban/subscriptions","organizations_url":"https://api.github.com/users/lukehoban/orgs","repos_url":"https://api.github.com/users/lukehoban/repos","events_url":"https://api.github.com/users/lukehoban/events{/privacy}","received_events_url":"https://api.github.com/users/lukehoban/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T17:00:22Z","updated_at":"2015-11-29T17:00:22Z","body":"I spent some time trying to reproduce this, but haven't been able to yet.\r\n\r\nCan you give any more details on what file you were working in when you saw this?  `goreturns` should never take more than 100s of milliseconds, and should only be spawned on `save` with a dirty buffer.  I'm not sure what could cause a lot of them to get spawned.\r\n\r\nIt could be that something about your file is causing `goreturns` to take an extremely long time - that would likely be a bug in `goreturns` but would be interesting to try to pinpoint it.\r\n\r\n"}}