{"action":"created","issue":{"url":"https://api.github.com/repos/itchio/itch/issues/700","repository_url":"https://api.github.com/repos/itchio/itch","labels_url":"https://api.github.com/repos/itchio/itch/issues/700/labels{/name}","comments_url":"https://api.github.com/repos/itchio/itch/issues/700/comments","events_url":"https://api.github.com/repos/itchio/itch/issues/700/events","html_url":"https://github.com/itchio/itch/issues/700","id":160144750,"number":700,"title":"Performance degradation when running development version of itch","user":{"login":"quyse","id":416215,"avatar_url":"https://avatars.githubusercontent.com/u/416215?v=3","gravatar_id":"","url":"https://api.github.com/users/quyse","html_url":"https://github.com/quyse","followers_url":"https://api.github.com/users/quyse/followers","following_url":"https://api.github.com/users/quyse/following{/other_user}","gists_url":"https://api.github.com/users/quyse/gists{/gist_id}","starred_url":"https://api.github.com/users/quyse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quyse/subscriptions","organizations_url":"https://api.github.com/users/quyse/orgs","repos_url":"https://api.github.com/users/quyse/repos","events_url":"https://api.github.com/users/quyse/events{/privacy}","received_events_url":"https://api.github.com/users/quyse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/itchio/itch/labels/performance","name":"performance","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-14T10:12:28Z","updated_at":"2016-06-14T10:44:19Z","closed_at":"2016-06-14T10:44:19Z","body":"When I try to run development version of itch (via `npm start` in git cloned itch directory), performance is degrading very fast. First half a minute I can click through UI controls and they work, then it becomes harder and harder i.e. I click on a tab, and it switches after 10 second delay, until eventually the app becomes completely unusable (i.e. ~1 minute delay for every action, horribly lagging `hover` animation, etc).\r\n\r\n`htop` shows that `electron --type=renderer` process is eating 100% CPU. I tried to profile itch with embedded tools (Shift+F12), but not seeing anything suspicious, javascript doesn't take much of the time. I tried both Linux and OS X. Also I tried both `electron-prebuilt@1.2.0` (recommended on the Getting Started page) and `electron-prebuilt@1.2.2` (latest), with the same effect.\r\n\r\nMaybe it's known problem? I'm not very familiar with electron.\r\n\r\nThe strange thing is that release version of itch app (downloaded from itch.io) works perfectly for me on all my systems."},"comment":{"url":"https://api.github.com/repos/itchio/itch/issues/comments/225845133","html_url":"https://github.com/itchio/itch/issues/700#issuecomment-225845133","issue_url":"https://api.github.com/repos/itchio/itch/issues/700","id":225845133,"user":{"login":"quyse","id":416215,"avatar_url":"https://avatars.githubusercontent.com/u/416215?v=3","gravatar_id":"","url":"https://api.github.com/users/quyse","html_url":"https://github.com/quyse","followers_url":"https://api.github.com/users/quyse/followers","following_url":"https://api.github.com/users/quyse/following{/other_user}","gists_url":"https://api.github.com/users/quyse/gists{/gist_id}","starred_url":"https://api.github.com/users/quyse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quyse/subscriptions","organizations_url":"https://api.github.com/users/quyse/orgs","repos_url":"https://api.github.com/users/quyse/repos","events_url":"https://api.github.com/users/quyse/events{/privacy}","received_events_url":"https://api.github.com/users/quyse/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T10:44:19Z","updated_at":"2016-06-14T10:44:19Z","body":"Cool, `NODE_ENV=production` helped a lot, it's running perfectly now like the release version. Sorry for bothering you with stupid things!"}}
{"actor":{"display_login":"quyse"}}