{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4604","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4604/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4604/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4604/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4604","id":145913522,"number":4604,"title":"Add Hugo for logging and measuring execution time","user":{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/31","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/android-v4.1.0","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/31/labels","id":1622818,"number":31,"title":"android-v4.1.0","description":"","creator":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":32,"state":"open","created_at":"2016-03-04T18:26:49Z","updated_at":"2016-04-06T10:37:52Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-04-05T07:29:15Z","updated_at":"2016-04-06T13:39:00Z","closed_at":null,"body":"I'm suggesting adding this not only to MapboxGLAndroidSDKTestApp but also the lib itself.\r\n\r\nExample of Hugo in action:\r\n\r\n```java\r\n@DebugLog\r\npublic String getName(String first, String last) {\r\n  SystemClock.sleep(15); // Don't ever really do this!\r\n  return first + \" \" + last;\r\n}\r\n```\r\n\r\nresults in\r\n\r\n```java\r\nV/Example: ⇢ getName(first=\"Jake\", last=\"Wharton\")\r\nV/Example: ⇠ getName [16ms] = \"Jake Wharton\"\r\n```\r\n\r\nThe logging will only happen in debug builds and the annotation itself is never present in the compiled class file for any build type. This means you can keep the annotation and check it into source control. It has zero effect on non-debug builds.\r\n\r\n\r\nMore information: https://github.com/JakeWharton/hugo"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/206377549","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4604#issuecomment-206377549","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4604","id":206377549,"user":{"login":"bleege","id":989928,"avatar_url":"https://avatars.githubusercontent.com/u/989928?v=3","gravatar_id":"","url":"https://api.github.com/users/bleege","html_url":"https://github.com/bleege","followers_url":"https://api.github.com/users/bleege/followers","following_url":"https://api.github.com/users/bleege/following{/other_user}","gists_url":"https://api.github.com/users/bleege/gists{/gist_id}","starred_url":"https://api.github.com/users/bleege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleege/subscriptions","organizations_url":"https://api.github.com/users/bleege/orgs","repos_url":"https://api.github.com/users/bleege/repos","events_url":"https://api.github.com/users/bleege/events{/privacy}","received_events_url":"https://api.github.com/users/bleege/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T13:39:00Z","updated_at":"2016-04-06T13:39:00Z","body":"Discussed internally with @tobrun and this has to do with OpenGL rendering performance.  He'll be publishing more technical data on this soon."}}