{"action":"created","issue":{"url":"https://api.github.com/repos/jcward/hxtelemetry/issues/63","repository_url":"https://api.github.com/repos/jcward/hxtelemetry","labels_url":"https://api.github.com/repos/jcward/hxtelemetry/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/jcward/hxtelemetry/issues/63/comments","events_url":"https://api.github.com/repos/jcward/hxtelemetry/issues/63/events","html_url":"https://github.com/jcward/hxtelemetry/issues/63","id":382656981,"node_id":"MDU6SXNzdWUzODI2NTY5ODE=","number":63,"title":"Numer of times called for functions in Profiler","user":{"login":"giuppe","id":294402,"node_id":"MDQ6VXNlcjI5NDQwMg==","avatar_url":"https://avatars0.githubusercontent.com/u/294402?v=4","gravatar_id":"","url":"https://api.github.com/users/giuppe","html_url":"https://github.com/giuppe","followers_url":"https://api.github.com/users/giuppe/followers","following_url":"https://api.github.com/users/giuppe/following{/other_user}","gists_url":"https://api.github.com/users/giuppe/gists{/gist_id}","starred_url":"https://api.github.com/users/giuppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuppe/subscriptions","organizations_url":"https://api.github.com/users/giuppe/orgs","repos_url":"https://api.github.com/users/giuppe/repos","events_url":"https://api.github.com/users/giuppe/events{/privacy}","received_events_url":"https://api.github.com/users/giuppe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-20T13:12:27Z","updated_at":"2018-11-27T16:00:13Z","closed_at":null,"author_association":"NONE","body":"Is it possible to show for each function, in the Profiler screen, the number of times called? It could be helpful for finding the types of bugs where the code wrongly calls many times an expensive function."},"comment":{"url":"https://api.github.com/repos/jcward/hxtelemetry/issues/comments/442112701","html_url":"https://github.com/jcward/hxtelemetry/issues/63#issuecomment-442112701","issue_url":"https://api.github.com/repos/jcward/hxtelemetry/issues/63","id":442112701,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjExMjcwMQ==","user":{"login":"jcward","id":2192439,"node_id":"MDQ6VXNlcjIxOTI0Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/2192439?v=4","gravatar_id":"","url":"https://api.github.com/users/jcward","html_url":"https://github.com/jcward","followers_url":"https://api.github.com/users/jcward/followers","following_url":"https://api.github.com/users/jcward/following{/other_user}","gists_url":"https://api.github.com/users/jcward/gists{/gist_id}","starred_url":"https://api.github.com/users/jcward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcward/subscriptions","organizations_url":"https://api.github.com/users/jcward/orgs","repos_url":"https://api.github.com/users/jcward/repos","events_url":"https://api.github.com/users/jcward/events{/privacy}","received_events_url":"https://api.github.com/users/jcward/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T16:00:13Z","updated_at":"2018-11-27T16:00:13Z","author_association":"OWNER","body":"Hi - the profiler used is a sampling profiler, show it probes the call stack at a given time interval (as opposed to every time the stack changes). So it doesn't actually count invocations, but reports what spends the most time on the stack.\r\n\r\nHowever, I believe the library might also support (or maybe it's a WIP, I'd have to dig into the code to recall) sending events / counters. So you could perhaps instrument functions with counters manually, if you wanted to. It's just not automatic.\r\n\r\nBut the theory of the sampling profiler is, if it's an expensive function being called too much, it'll show up because of the time it takes."}}
{"actor":{"display_login":"jcward"}}