{"action":"opened","issue":{"url":"https://api.github.com/repos/leejo/mojolicious-plugin-nytprof/issues/1","labels_url":"https://api.github.com/repos/leejo/mojolicious-plugin-nytprof/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/leejo/mojolicious-plugin-nytprof/issues/1/comments","events_url":"https://api.github.com/repos/leejo/mojolicious-plugin-nytprof/issues/1/events","html_url":"https://github.com/leejo/mojolicious-plugin-nytprof/issues/1","id":54807931,"number":1,"title":"flame graph missing from routes with explicit template render","user":{"login":"gmorten1","id":383842,"avatar_url":"https://avatars.githubusercontent.com/u/383842?v=3","gravatar_id":"","url":"https://api.github.com/users/gmorten1","html_url":"https://github.com/gmorten1","followers_url":"https://api.github.com/users/gmorten1/followers","following_url":"https://api.github.com/users/gmorten1/following{/other_user}","gists_url":"https://api.github.com/users/gmorten1/gists{/gist_id}","starred_url":"https://api.github.com/users/gmorten1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmorten1/subscriptions","organizations_url":"https://api.github.com/users/gmorten1/orgs","repos_url":"https://api.github.com/users/gmorten1/repos","events_url":"https://api.github.com/users/gmorten1/events{/privacy}","received_events_url":"https://api.github.com/users/gmorten1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-19T20:21:24Z","updated_at":"2015-01-19T20:21:24Z","closed_at":null,"body":"when i'm using a full mojo app (not lite) and my controller method ends with an explicit call to render a template, for example:\r\n\r\n    sub t3 {\r\n        my $self=shift;\r\n        $self->render;  # explicit render example/t3.html.ep\r\n    }\r\n\r\nnytprofcalls throws an error \"all_stacks_by_time.calls failed\", and i don't get a flame graph (although the rest of the profiler results seem ok).\r\n\r\nhowever, if i omit the explicit render call completely (still rendering example/t3.html.ep) i DO get the flame graph, and no error message\r\n\r\nalso, the flame graph always works with an explicit non-template render, e.g. $self->render(text=>'foo'), and it always works in mojo lite \r\n\r\ni posted on the mojo group about this, but got no responses https://groups.google.com/forum/#!topic/mojolicious/ajEFOc0_r1g\r\ni was hoping someone (sri or ?) would comment on the internal differences between the explicit render call with the default template name, vs the implicit render by the controller\r\n\r\nfeel free to contact me for more info jay@purplewire.com\r\n"}}