{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2386","labels_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2386/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2386/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2386/events","html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2386","id":104114841,"number":2386,"title":"Display debug data","user":{"login":"MGaetan89","id":1009664,"avatar_url":"https://avatars.githubusercontent.com/u/1009664?v=3","gravatar_id":"","url":"https://api.github.com/users/MGaetan89","html_url":"https://github.com/MGaetan89","followers_url":"https://api.github.com/users/MGaetan89/followers","following_url":"https://api.github.com/users/MGaetan89/following{/other_user}","gists_url":"https://api.github.com/users/MGaetan89/gists{/gist_id}","starred_url":"https://api.github.com/users/MGaetan89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MGaetan89/subscriptions","organizations_url":"https://api.github.com/users/MGaetan89/orgs","repos_url":"https://api.github.com/users/MGaetan89/repos","events_url":"https://api.github.com/users/MGaetan89/events{/privacy}","received_events_url":"https://api.github.com/users/MGaetan89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/labels/Approved","name":"Approved","color":"009800"},{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/labels/Feature","name":"Feature","color":"0052cc"},{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/labels/In%20Progress","name":"In Progress","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-31T19:07:44Z","updated_at":"2015-09-01T17:53:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2386","html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2386","diff_url":"https://github.com/SiCKRAGETV/SickRage/pull/2386.diff","patch_url":"https://github.com/SiCKRAGETV/SickRage/pull/2386.patch"},"body":"This PR adds a new line at the bottom of each page with some useful debug information. Those information are only display if the current branch is not `master`.\r\n\r\nCurrently, this line includes:\r\n- Memory usage of the process SickRage is running in\r\n- Overall load time of the page\r\n- Load time for Mako\r\n\r\nLoading times need to be improved I guess, I'm not sure it's the best way to do it.\r\n\r\nI would also like to display the number of DB queries + time to perform them, but I'm not sure how to do that yet.\r\n\r\nThe idea behind this PR is to have data to know the impact of a specific change. If you have more ideas to include in it, feel free to suggest them.\r\n\r\nDo no merge this PR yet, this is really a Work in progress."},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/comments/136811429","html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2386#issuecomment-136811429","issue_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2386","id":136811429,"user":{"login":"MGaetan89","id":1009664,"avatar_url":"https://avatars.githubusercontent.com/u/1009664?v=3","gravatar_id":"","url":"https://api.github.com/users/MGaetan89","html_url":"https://github.com/MGaetan89","followers_url":"https://api.github.com/users/MGaetan89/followers","following_url":"https://api.github.com/users/MGaetan89/following{/other_user}","gists_url":"https://api.github.com/users/MGaetan89/gists{/gist_id}","starred_url":"https://api.github.com/users/MGaetan89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MGaetan89/subscriptions","organizations_url":"https://api.github.com/users/MGaetan89/orgs","repos_url":"https://api.github.com/users/MGaetan89/repos","events_url":"https://api.github.com/users/MGaetan89/events{/privacy}","received_events_url":"https://api.github.com/users/MGaetan89/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T17:53:31Z","updated_at":"2015-09-01T17:53:31Z","body":"I changed the condition to `% if sickbeard.DEVELOPER:` and set `sickbeard.DEVELOPER` to `True` in `sickbeard/__init__.py`, but the debug data are no longer displayed at the bottom of the page.\r\nIs there an other way to set `sickbeard.DEVELOPER`?"}}