{"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":3,"created_at":"2015-03-18T08:27:22Z","updated_at":"2015-03-18T14:17:04Z","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/82992622","html_url":"https://github.com/mono/MonoGame/issues/3624#issuecomment-82992622","issue_url":"https://api.github.com/repos/mono/MonoGame/issues/3624","id":82992622,"user":{"login":"KonajuGames","id":694943,"avatar_url":"https://avatars.githubusercontent.com/u/694943?v=3","gravatar_id":"","url":"https://api.github.com/users/KonajuGames","html_url":"https://github.com/KonajuGames","followers_url":"https://api.github.com/users/KonajuGames/followers","following_url":"https://api.github.com/users/KonajuGames/following{/other_user}","gists_url":"https://api.github.com/users/KonajuGames/gists{/gist_id}","starred_url":"https://api.github.com/users/KonajuGames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KonajuGames/subscriptions","organizations_url":"https://api.github.com/users/KonajuGames/orgs","repos_url":"https://api.github.com/users/KonajuGames/repos","events_url":"https://api.github.com/users/KonajuGames/events{/privacy}","received_events_url":"https://api.github.com/users/KonajuGames/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T14:17:04Z","updated_at":"2015-03-18T14:17:04Z","body":"> It would be great to get the batch count between SpriteBatch.Start and SpriteBatch.End. That would be really useful to detect frequent texture changes.\r\n\r\nCould be useful, but not accurate to determine texture changes.  A batch will also be sent to the GPU when the internal buffer is filled."}}