{"action":"created","issue":{"url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/102","labels_url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/102/comments","events_url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/102/events","html_url":"https://github.com/sadovnychyi/autocomplete-python/issues/102","id":114073532,"number":102,"title":"Very slow completion","user":{"login":"albireox","id":568775,"avatar_url":"https://avatars.githubusercontent.com/u/568775?v=3","gravatar_id":"","url":"https://api.github.com/users/albireox","html_url":"https://github.com/albireox","followers_url":"https://api.github.com/users/albireox/followers","following_url":"https://api.github.com/users/albireox/following{/other_user}","gists_url":"https://api.github.com/users/albireox/gists{/gist_id}","starred_url":"https://api.github.com/users/albireox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albireox/subscriptions","organizations_url":"https://api.github.com/users/albireox/orgs","repos_url":"https://api.github.com/users/albireox/repos","events_url":"https://api.github.com/users/albireox/events{/privacy}","received_events_url":"https://api.github.com/users/albireox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-29T15:22:46Z","updated_at":"2015-10-30T03:26:38Z","closed_at":null,"body":"For a few days I have been noticing that autocomplete-python takes ages to show the pop up menu with suggestions, and that it uses the CPU very aggressively. Looking at the debug logs, it seems that autocomplete sends the serialised request to Jedi quickly, and also receives the response from Jedi quite quickly. But then there is a very long lag (sometimes up to a minute) until the menu with the suggestions pops up. In the meantime, there is a Python process using 100% of the CPU (not sure what it is doing).\r\n\r\nThe problem seem to appear after Atom has been opened for a few minutes. When I just restart Atom the autocompletion works well for a few minutes, and then the lags appear.\r\n\r\nOther than that autocomplete-python works well, and the suggestions are correct, but this lag makes it completely unusable. If I disable autocomplete-python the rest of the Atom completion works well. I'm using Atom 1.0.19 (tried it also with the beta version and the problem remains), Mac OSX 10.11, and Python 2.7.10."},"comment":{"url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/comments/152403476","html_url":"https://github.com/sadovnychyi/autocomplete-python/issues/102#issuecomment-152403476","issue_url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/102","id":152403476,"user":{"login":"sadovnychyi","id":193864,"avatar_url":"https://avatars.githubusercontent.com/u/193864?v=3","gravatar_id":"","url":"https://api.github.com/users/sadovnychyi","html_url":"https://github.com/sadovnychyi","followers_url":"https://api.github.com/users/sadovnychyi/followers","following_url":"https://api.github.com/users/sadovnychyi/following{/other_user}","gists_url":"https://api.github.com/users/sadovnychyi/gists{/gist_id}","starred_url":"https://api.github.com/users/sadovnychyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadovnychyi/subscriptions","organizations_url":"https://api.github.com/users/sadovnychyi/orgs","repos_url":"https://api.github.com/users/sadovnychyi/repos","events_url":"https://api.github.com/users/sadovnychyi/events{/privacy}","received_events_url":"https://api.github.com/users/sadovnychyi/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T03:26:38Z","updated_at":"2015-10-30T03:26:38Z","body":"Strange. I will try to add more debug options to try to catch this. No ideas for now. "}}