{"action":"created","issue":{"url":"https://api.github.com/repos/mono/MonoGame/issues/3624","labels_url":"https://api.github.com/repos/mono/MonoGame/issues/3624/labels{/name}","comments_url":"https://api.github.com/repos/mono/MonoGame/issues/3624/comments","events_url":"https://api.github.com/repos/mono/MonoGame/issues/3624/events","html_url":"https://github.com/mono/MonoGame/issues/3624","id":62623101,"number":3624,"title":"Implement Render Metrics.","user":{"login":"Shqrdx","id":3036176,"avatar_url":"https://avatars.githubusercontent.com/u/3036176?v=3","gravatar_id":"","url":"https://api.github.com/users/Shqrdx","html_url":"https://github.com/Shqrdx","followers_url":"https://api.github.com/users/Shqrdx/followers","following_url":"https://api.github.com/users/Shqrdx/following{/other_user}","gists_url":"https://api.github.com/users/Shqrdx/gists{/gist_id}","starred_url":"https://api.github.com/users/Shqrdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shqrdx/subscriptions","organizations_url":"https://api.github.com/users/Shqrdx/orgs","repos_url":"https://api.github.com/users/Shqrdx/repos","events_url":"https://api.github.com/users/Shqrdx/events{/privacy}","received_events_url":"https://api.github.com/users/Shqrdx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-18T08:27:22Z","updated_at":"2015-03-18T16:28:40Z","closed_at":null,"body":"This is a topic about implementing metrics system for MonoGame. Metrics should calculate GPU draw calls and other stuff. It must be simple and effecient in term of performance.\r\nHere is a few points :\r\n\r\n-The @KonajuGames suggest static class Metrics which could calculate GPU rendering calls and helps  developer to optimize his projects.\r\n-My suggestion is Metrics for SpriteBatch which could calculate draw calls.\r\n\r\nDiscuss."},"comment":{"url":"https://api.github.com/repos/mono/MonoGame/issues/comments/83046297","html_url":"https://github.com/mono/MonoGame/issues/3624#issuecomment-83046297","issue_url":"https://api.github.com/repos/mono/MonoGame/issues/3624","id":83046297,"user":{"login":"tomspilman","id":103522,"avatar_url":"https://avatars.githubusercontent.com/u/103522?v=3","gravatar_id":"","url":"https://api.github.com/users/tomspilman","html_url":"https://github.com/tomspilman","followers_url":"https://api.github.com/users/tomspilman/followers","following_url":"https://api.github.com/users/tomspilman/following{/other_user}","gists_url":"https://api.github.com/users/tomspilman/gists{/gist_id}","starred_url":"https://api.github.com/users/tomspilman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomspilman/subscriptions","organizations_url":"https://api.github.com/users/tomspilman/orgs","repos_url":"https://api.github.com/users/tomspilman/repos","events_url":"https://api.github.com/users/tomspilman/events{/privacy}","received_events_url":"https://api.github.com/users/tomspilman/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T16:28:40Z","updated_at":"2015-03-18T16:28:40Z","body":"> I thought these metrics should be more generic than \r\n> the exact number of texture changes.\r\n\r\nThe metrics should consist of useful info about what commands we're sending to the GPU.\r\n\r\nTexture changes being how many times did we change textures on the GPU.  This is potentially different than how many times you call `GraphicsDevice.Textures[0] = tex`."}}