{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/11319","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/11319/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/11319/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/11319/events","html_url":"https://github.com/JuliaLang/julia/pull/11319","id":77483431,"number":11319,"title":"Add @timev, @timed documentation [av skip]","user":{"login":"ScottPJones","id":11798751,"avatar_url":"https://avatars.githubusercontent.com/u/11798751?v=3","gravatar_id":"","url":"https://api.github.com/users/ScottPJones","html_url":"https://github.com/ScottPJones","followers_url":"https://api.github.com/users/ScottPJones/followers","following_url":"https://api.github.com/users/ScottPJones/following{/other_user}","gists_url":"https://api.github.com/users/ScottPJones/gists{/gist_id}","starred_url":"https://api.github.com/users/ScottPJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScottPJones/subscriptions","organizations_url":"https://api.github.com/users/ScottPJones/orgs","repos_url":"https://api.github.com/users/ScottPJones/repos","events_url":"https://api.github.com/users/ScottPJones/events{/privacy}","received_events_url":"https://api.github.com/users/ScottPJones/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/doc","name":"doc","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-18T03:42:39Z","updated_at":"2015-05-20T23:22:37Z","closed_at":"2015-05-18T05:08:12Z","pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/11319","html_url":"https://github.com/JuliaLang/julia/pull/11319","diff_url":"https://github.com/JuliaLang/julia/pull/11319.diff","patch_url":"https://github.com/JuliaLang/julia/pull/11319.patch"},"body":"This adds documentation for the `@timev` macro which I added with #11186, as well as documenting the `@timed` macro, which was already present, but not undocumented."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/104069966","html_url":"https://github.com/JuliaLang/julia/pull/11319#issuecomment-104069966","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/11319","id":104069966,"user":{"login":"yuyichao","id":712232,"avatar_url":"https://avatars.githubusercontent.com/u/712232?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyichao","html_url":"https://github.com/yuyichao","followers_url":"https://api.github.com/users/yuyichao/followers","following_url":"https://api.github.com/users/yuyichao/following{/other_user}","gists_url":"https://api.github.com/users/yuyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyichao/subscriptions","organizations_url":"https://api.github.com/users/yuyichao/orgs","repos_url":"https://api.github.com/users/yuyichao/repos","events_url":"https://api.github.com/users/yuyichao/events{/privacy}","received_events_url":"https://api.github.com/users/yuyichao/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T23:22:37Z","updated_at":"2015-05-20T23:22:37Z","body":"It is probably useful to document the meaning of each line for `@timev` as well.\r\nEspecially since a negetive `allocated` would be quite confusing (or is it a bug?).\r\n\r\n```\r\njulia> @timev gc()\r\n  18.756 milliseconds (4 allocations: 144 bytes, 99.97% gc time)\r\nelapsed time:    18756225 nanoseconds\r\ngc time:         18749724\r\nbytes allocated: 144\r\nallocated:       -4054608\r\npoolallocs:      4\r\ntotal allocated: 4054752\r\npause:           2\r\nfull sweep:      1\r\n```\r\n"}}