{"action":"created","issue":{"url":"https://api.github.com/repos/GoranM/bdx/issues/76","labels_url":"https://api.github.com/repos/GoranM/bdx/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/GoranM/bdx/issues/76/comments","events_url":"https://api.github.com/repos/GoranM/bdx/issues/76/events","html_url":"https://github.com/GoranM/bdx/issues/76","id":54838433,"number":76,"title":"Profiling","user":{"login":"rafcolson","id":10002909,"avatar_url":"https://avatars.githubusercontent.com/u/10002909?v=3","gravatar_id":"","url":"https://api.github.com/users/rafcolson","html_url":"https://github.com/rafcolson","followers_url":"https://api.github.com/users/rafcolson/followers","following_url":"https://api.github.com/users/rafcolson/following{/other_user}","gists_url":"https://api.github.com/users/rafcolson/gists{/gist_id}","starred_url":"https://api.github.com/users/rafcolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafcolson/subscriptions","organizations_url":"https://api.github.com/users/rafcolson/orgs","repos_url":"https://api.github.com/users/rafcolson/repos","events_url":"https://api.github.com/users/rafcolson/events{/privacy}","received_events_url":"https://api.github.com/users/rafcolson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-01-20T03:03:32Z","updated_at":"2015-03-28T08:14:28Z","closed_at":null,"body":">The easiest test you can run is to actually time the relevant functions, and see how long they take to process, relative to everything else: scene.update() + renderScene().\r\n>\r\n>You should be able to use com.badlogic.gdx.utils.TimeUtils:\r\n>\r\n>```java\r\nlong t = TimeUtils.millis();\r\nfunctionYouWantToTime();\r\nlong tt = TimeUtils.millis();\r\nlong delta = tt - t;\r\n```\r\n>\r\n>If there is truly a significant performance benefit, I would love to know, of course, but I think it's something we should discuss in a different issue (we're quite off-topic in this one).\r\n\r\nI'll be using this issue for relevant information about profiling. Anyone is welcome to join in."},"comment":{"url":"https://api.github.com/repos/GoranM/bdx/issues/comments/87189637","html_url":"https://github.com/GoranM/bdx/issues/76#issuecomment-87189637","issue_url":"https://api.github.com/repos/GoranM/bdx/issues/76","id":87189637,"user":{"login":"GoranM","id":2141814,"avatar_url":"https://avatars.githubusercontent.com/u/2141814?v=3","gravatar_id":"","url":"https://api.github.com/users/GoranM","html_url":"https://github.com/GoranM","followers_url":"https://api.github.com/users/GoranM/followers","following_url":"https://api.github.com/users/GoranM/following{/other_user}","gists_url":"https://api.github.com/users/GoranM/gists{/gist_id}","starred_url":"https://api.github.com/users/GoranM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoranM/subscriptions","organizations_url":"https://api.github.com/users/GoranM/orgs","repos_url":"https://api.github.com/users/GoranM/repos","events_url":"https://api.github.com/users/GoranM/events{/privacy}","received_events_url":"https://api.github.com/users/GoranM/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T08:14:28Z","updated_at":"2015-03-28T08:14:28Z","body":"I would want the simplest possible implementation, and the more I think about it, the more it seems like we should simply include the profiler scene in the default .blend file.\r\n\r\nThat will export via the normal process, and then the existing Profiler object can handle updating that scene - After Profiler updates that scene, we render it on top of everything.\r\n\r\nIt's simple, while serving all our profiling needs."}}