{"action":"created","issue":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4766","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4766/labels{/name}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4766/comments","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4766/events","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/4766","id":125886169,"number":4766,"title":"Will your zsh cost a lot of cpu?","user":{"login":"lubeast","id":3817355,"avatar_url":"https://avatars.githubusercontent.com/u/3817355?v=3","gravatar_id":"","url":"https://api.github.com/users/lubeast","html_url":"https://github.com/lubeast","followers_url":"https://api.github.com/users/lubeast/followers","following_url":"https://api.github.com/users/lubeast/following{/other_user}","gists_url":"https://api.github.com/users/lubeast/gists{/gist_id}","starred_url":"https://api.github.com/users/lubeast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lubeast/subscriptions","organizations_url":"https://api.github.com/users/lubeast/orgs","repos_url":"https://api.github.com/users/lubeast/repos","events_url":"https://api.github.com/users/lubeast/events{/privacy}","received_events_url":"https://api.github.com/users/lubeast/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-11T07:11:55Z","updated_at":"2016-01-15T15:40:20Z","closed_at":"2016-01-15T07:02:53Z","body":"![](http://7xphy5.com1.z0.glb.clouddn.com/cpucost.png)\r\n\r\nzsh cost 83.6% of the CPU when i typing in the Terminal just like the picture. What about yours? And does anyone know why?"},"comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/171994469","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/4766#issuecomment-171994469","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4766","id":171994469,"user":{"login":"mcornella","id":1441704,"avatar_url":"https://avatars.githubusercontent.com/u/1441704?v=3","gravatar_id":"","url":"https://api.github.com/users/mcornella","html_url":"https://github.com/mcornella","followers_url":"https://api.github.com/users/mcornella/followers","following_url":"https://api.github.com/users/mcornella/following{/other_user}","gists_url":"https://api.github.com/users/mcornella/gists{/gist_id}","starred_url":"https://api.github.com/users/mcornella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcornella/subscriptions","organizations_url":"https://api.github.com/users/mcornella/orgs","repos_url":"https://api.github.com/users/mcornella/repos","events_url":"https://api.github.com/users/mcornella/events{/privacy}","received_events_url":"https://api.github.com/users/mcornella/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T15:40:20Z","updated_at":"2016-01-15T15:40:20Z","body":"Sorry for the late reply, we're very few people managing the project. Yours is the first issue I encounter of having this problem, if you google `zsh high cpu usage` you'll find a few resources to check out. [This is one of the most similar I've found](https://github.com/sorin-ionescu/prezto/issues/879#issuecomment-103113750).\r\n\r\nAnother thing you can try is looking at the exact execution tree of zsh, by running `ps fax` which will output a tree of the running processes:\r\n```\r\n24473 tty2     Sl+    0:00 /usr/lib/gnome-terminal/gnome-terminal-server\r\n24493 pts/0    Ss     0:00  \\_ zsh\r\n24929 pts/0    R+     0:00      \\_ ps fax\r\n```"}}