{"action":"created","issue":{"url":"https://api.github.com/repos/mono/monodevelop/issues/948","labels_url":"https://api.github.com/repos/mono/monodevelop/issues/948/labels{/name}","comments_url":"https://api.github.com/repos/mono/monodevelop/issues/948/comments","events_url":"https://api.github.com/repos/mono/monodevelop/issues/948/events","html_url":"https://github.com/mono/monodevelop/pull/948","id":88491295,"number":948,"title":"[Test Framework] Add method to get stats on counters and timers","user":{"login":"iainx","id":1253364,"avatar_url":"https://avatars.githubusercontent.com/u/1253364?v=3","gravatar_id":"","url":"https://api.github.com/users/iainx","html_url":"https://github.com/iainx","followers_url":"https://api.github.com/users/iainx/followers","following_url":"https://api.github.com/users/iainx/following{/other_user}","gists_url":"https://api.github.com/users/iainx/gists{/gist_id}","starred_url":"https://api.github.com/users/iainx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iainx/subscriptions","organizations_url":"https://api.github.com/users/iainx/orgs","repos_url":"https://api.github.com/users/iainx/repos","events_url":"https://api.github.com/users/iainx/events{/privacy}","received_events_url":"https://api.github.com/users/iainx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-15T17:35:15Z","updated_at":"2015-06-19T09:59:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mono/monodevelop/pulls/948","html_url":"https://github.com/mono/monodevelop/pull/948","diff_url":"https://github.com/mono/monodevelop/pull/948.diff","patch_url":"https://github.com/mono/monodevelop/pull/948.patch"},"body":"Can generate output from timers like so\r\n\r\n[TimerCounter: Name=IDE Initialization Id=Ide.Initialization Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0, TotalTime=00:00:02.4317040, AverageTime=00:00:02.4317040, MinTime=00:00:02.4317040, MaxTime=00:00:02.4317040, CountWithDuration=1]\r\n[Counter: Name=Open documents, Enabled=True, Id=Open documents, Category=MonoDevelop.Core.Instrumentation.CounterCategory, Count=1, TotalCount=1, LastValue=MonoDevelop.Core.Instrumentation.CounterValue]\r\n[Counter: Name=Documents in memory, Enabled=True, Id=Documents in memory, Category=MonoDevelop.Core.Instrumentation.CounterCategory, Count=1, TotalCount=1, LastValue=MonoDevelop.Core.Instrumentation.CounterValue]\r\n[Counter: Name=Pads loaded, Enabled=True, Id=Pads loaded, Category=MonoDevelop.Core.Instrumentation.CounterCategory, Count=1, TotalCount=1, LastValue=MonoDevelop.Core.Instrumentation.CounterValue]\r\n[TimerCounter: Name=Command target scan Id=Command target scan Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0.3, TotalTime=00:00:00, AverageTime=00:00:00, MinTime=00:00:00, MaxTime=00:00:00, CountWithDuration=0]\r\n[TimerCounter: Name=Solution opened in the IDE Id=Ide.Shell.SolutionOpened Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0, TotalTime=00:00:00.2121030, AverageTime=00:00:00.2121030, MinTime=00:00:00.2121030, MaxTime=00:00:00.2121030, CountWithDuration=1]\r\n[TimerCounter: Name=Document opened Id=Document opened Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0, TotalTime=00:00:00.5496810, AverageTime=00:00:00.5496810, MinTime=00:00:00.5496810, MaxTime=00:00:00.5496810, CountWithDuration=1]\r\n[TimerCounter: Name=Document opened Id=Ide.Shell.DocumentOpened Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0, TotalTime=00:00:00, AverageTime=00:00:00, MinTime=00:00:00, MaxTime=00:00:00, CountWithDuration=0]\r\n[TimerCounter: Name=Project/Solution built in the IDE Id=Ide.Shell.ProjectBuilt Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0, TotalTime=00:00:00.2853290, AverageTime=00:00:00.2853290, MinTime=00:00:00.2853290, MaxTime=00:00:00.2853290, CountWithDuration=1]\r\n[Counter: Name=Pad focused, Enabled=True, Id=Ide.Shell.PadShown, Category=MonoDevelop.Core.Instrumentation.CounterCategory, Count=0, TotalCount=0, LastValue=MonoDevelop.Core.Instrumentation.CounterValue]\r\n[TimerCounter: Name=File parsed Id=File parsed Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0, TotalTime=00:00:00.0018310, AverageTime=00:00:00.0018310, MinTime=00:00:00.0018310, MaxTime=00:00:00.0018310, CountWithDuration=1]\r\n[TimerCounter: Name=Object serialized Id=Object serialized Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0, TotalTime=00:00:00.0935740, AverageTime=00:00:00.0066838, MinTime=00:00:00.0001450, MaxTime=00:00:00.0445550, CountWithDuration=14]\r\n[TimerCounter: Name=Object deserialized Id=Object deserialized Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0, TotalTime=00:00:00.2952180, AverageTime=00:00:00.0113545, MinTime=00:00:00.0002860, MaxTime=00:00:00.0629580, CountWithDuration=26]\r\n[TimerCounter: Name=Workspace item loaded Id=Workspace item loaded Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0, TotalTime=00:00:00.0190210, AverageTime=00:00:00.0190210, MinTime=00:00:00.0190210, MaxTime=00:00:00.0190210, CountWithDuration=1]\r\n[TimerCounter: Name=Projects loaded Id=Projects loaded Category=MonoDevelop.Core.Instrumentation.CounterCategory MinSeconds=0, TotalTime=00:00:00, AverageTime=00:00:00, MinTime=00:00:00, MaxTime=00:00:00, CountWithDuration=0]\r\n\r\n@manish: I've not added this into the tests, as I know you will probably want to just upload the results somewhere rather than have them dumped to the console.\r\n"},"comment":{"url":"https://api.github.com/repos/mono/monodevelop/issues/comments/113455577","html_url":"https://github.com/mono/monodevelop/pull/948#issuecomment-113455577","issue_url":"https://api.github.com/repos/mono/monodevelop/issues/948","id":113455577,"user":{"login":"slluis","id":260349,"avatar_url":"https://avatars.githubusercontent.com/u/260349?v=3","gravatar_id":"","url":"https://api.github.com/users/slluis","html_url":"https://github.com/slluis","followers_url":"https://api.github.com/users/slluis/followers","following_url":"https://api.github.com/users/slluis/following{/other_user}","gists_url":"https://api.github.com/users/slluis/gists{/gist_id}","starred_url":"https://api.github.com/users/slluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slluis/subscriptions","organizations_url":"https://api.github.com/users/slluis/orgs","repos_url":"https://api.github.com/users/slluis/repos","events_url":"https://api.github.com/users/slluis/events{/privacy}","received_events_url":"https://api.github.com/users/slluis/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T09:59:55Z","updated_at":"2015-06-19T09:59:55Z","body":"LGTM"}}