{"action":"opened","issue":{"url":"https://api.github.com/repos/WrinklyNinja/yore/issues/24","repository_url":"https://api.github.com/repos/WrinklyNinja/yore","labels_url":"https://api.github.com/repos/WrinklyNinja/yore/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/WrinklyNinja/yore/issues/24/comments","events_url":"https://api.github.com/repos/WrinklyNinja/yore/issues/24/events","html_url":"https://github.com/WrinklyNinja/yore/issues/24","id":327868258,"node_id":"MDU6SXNzdWUzMjc4NjgyNTg=","number":24,"title":"Improve GUI UX","user":{"login":"WrinklyNinja","id":2430738,"node_id":"MDQ6VXNlcjI0MzA3Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/2430738?v=4","gravatar_id":"","url":"https://api.github.com/users/WrinklyNinja","html_url":"https://github.com/WrinklyNinja","followers_url":"https://api.github.com/users/WrinklyNinja/followers","following_url":"https://api.github.com/users/WrinklyNinja/following{/other_user}","gists_url":"https://api.github.com/users/WrinklyNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/WrinklyNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WrinklyNinja/subscriptions","organizations_url":"https://api.github.com/users/WrinklyNinja/orgs","repos_url":"https://api.github.com/users/WrinklyNinja/repos","events_url":"https://api.github.com/users/WrinklyNinja/events{/privacy}","received_events_url":"https://api.github.com/users/WrinklyNinja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"WrinklyNinja","id":2430738,"node_id":"MDQ6VXNlcjI0MzA3Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/2430738?v=4","gravatar_id":"","url":"https://api.github.com/users/WrinklyNinja","html_url":"https://github.com/WrinklyNinja","followers_url":"https://api.github.com/users/WrinklyNinja/followers","following_url":"https://api.github.com/users/WrinklyNinja/following{/other_user}","gists_url":"https://api.github.com/users/WrinklyNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/WrinklyNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WrinklyNinja/subscriptions","organizations_url":"https://api.github.com/users/WrinklyNinja/orgs","repos_url":"https://api.github.com/users/WrinklyNinja/repos","events_url":"https://api.github.com/users/WrinklyNinja/events{/privacy}","received_events_url":"https://api.github.com/users/WrinklyNinja/received_events","type":"User","site_admin":false},"assignees":[{"login":"WrinklyNinja","id":2430738,"node_id":"MDQ6VXNlcjI0MzA3Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/2430738?v=4","gravatar_id":"","url":"https://api.github.com/users/WrinklyNinja","html_url":"https://github.com/WrinklyNinja","followers_url":"https://api.github.com/users/WrinklyNinja/followers","following_url":"https://api.github.com/users/WrinklyNinja/following{/other_user}","gists_url":"https://api.github.com/users/WrinklyNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/WrinklyNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WrinklyNinja/subscriptions","organizations_url":"https://api.github.com/users/WrinklyNinja/orgs","repos_url":"https://api.github.com/users/WrinklyNinja/repos","events_url":"https://api.github.com/users/WrinklyNinja/events{/privacy}","received_events_url":"https://api.github.com/users/WrinklyNinja/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-30T19:30:46Z","updated_at":"2018-05-30T19:30:46Z","closed_at":null,"author_association":"OWNER","body":"When the GUI loads, CPU usage hits 100% while it loads images for the visible tiles + a small buffer, and it takes 9s for all network requests to complete. Then, when scrolling down the list even quite slowly, image loading lags.\r\n\r\nImage loading requests each take ~ 650 ms, 90% of which is spent in in `image::load()`, which I can't really do anything to improve. Responding with the original image just loaded into memory takes ~ 350 ms, with most of that time spent receiving the request rather than waiting for it, but it also uses > 200x the memory in the browser, so it's not feasible to do that.\r\n\r\nGiven the restrictions, it might be better to adjust the UI to give better feedback when loading images, e.g. block scrolling and display some loading progress indicator while images are loading, or paginate images.\r\n"}}
{"actor":{"display_login":"WrinklyNinja"}}