{"action":"closed","number":98,"pull_request":{"url":"https://api.github.com/repos/rkern/line_profiler/pulls/98","id":138331070,"html_url":"https://github.com/rkern/line_profiler/pull/98","diff_url":"https://github.com/rkern/line_profiler/pull/98.diff","patch_url":"https://github.com/rkern/line_profiler/pull/98.patch","issue_url":"https://api.github.com/repos/rkern/line_profiler/issues/98","number":98,"state":"closed","locked":false,"title":"Add timer unit argument for output time granularity specification","user":{"login":"cshaley","id":6740446,"avatar_url":"https://avatars0.githubusercontent.com/u/6740446?v=4","gravatar_id":"","url":"https://api.github.com/users/cshaley","html_url":"https://github.com/cshaley","followers_url":"https://api.github.com/users/cshaley/followers","following_url":"https://api.github.com/users/cshaley/following{/other_user}","gists_url":"https://api.github.com/users/cshaley/gists{/gist_id}","starred_url":"https://api.github.com/users/cshaley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshaley/subscriptions","organizations_url":"https://api.github.com/users/cshaley/orgs","repos_url":"https://api.github.com/users/cshaley/repos","events_url":"https://api.github.com/users/cshaley/events{/privacy}","received_events_url":"https://api.github.com/users/cshaley/received_events","type":"User","site_admin":false},"body":"Example test run: \r\nIn:\r\n```\r\ndef m():\r\n    return [0]*10**8\r\n```\r\nIn:\r\n`%lprun -u 1e-3 -f m m()`\r\n\r\nOut:\r\nTimer unit: 0.001 s\r\n\r\nTotal time: 0.363548 s\r\nFile: <ipython-input-2-053bf85e0575>\r\nFunction: m at line 1\r\n\r\nLine #      Hits         Time  Per Hit   % Time  Line Contents\r\n\\==============================================================\r\n     1                                           def m():\r\n     2         1        363.5    363.5    100.0      return [0]*10**8\r\n\r\n\r\nSolution to [#97](https://github.com/rkern/line_profiler/issues/97)","created_at":"2017-08-30T03:46:04Z","updated_at":"2017-10-24T01:38:49Z","closed_at":"2017-10-24T01:38:49Z","merged_at":"2017-10-24T01:38:49Z","merge_commit_sha":"4e3ce5957932806da86cbe27c75470c105d51acf","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/rkern/line_profiler/pulls/98/commits","review_comments_url":"https://api.github.com/repos/rkern/line_profiler/pulls/98/comments","review_comment_url":"https://api.github.com/repos/rkern/line_profiler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rkern/line_profiler/issues/98/comments","statuses_url":"https://api.github.com/repos/rkern/line_profiler/statuses/4d2aaa843ec3cc768f62e37a2a7fb3848eee4afd","head":{"label":"cshaley:timer_unit","ref":"timer_unit","sha":"4d2aaa843ec3cc768f62e37a2a7fb3848eee4afd","user":{"login":"cshaley","id":6740446,"avatar_url":"https://avatars0.githubusercontent.com/u/6740446?v=4","gravatar_id":"","url":"https://api.github.com/users/cshaley","html_url":"https://github.com/cshaley","followers_url":"https://api.github.com/users/cshaley/followers","following_url":"https://api.github.com/users/cshaley/following{/other_user}","gists_url":"https://api.github.com/users/cshaley/gists{/gist_id}","starred_url":"https://api.github.com/users/cshaley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshaley/subscriptions","organizations_url":"https://api.github.com/users/cshaley/orgs","repos_url":"https://api.github.com/users/cshaley/repos","events_url":"https://api.github.com/users/cshaley/events{/privacy}","received_events_url":"https://api.github.com/users/cshaley/received_events","type":"User","site_admin":false},"repo":{"id":101711057,"name":"line_profiler","full_name":"cshaley/line_profiler","owner":{"login":"cshaley","id":6740446,"avatar_url":"https://avatars0.githubusercontent.com/u/6740446?v=4","gravatar_id":"","url":"https://api.github.com/users/cshaley","html_url":"https://github.com/cshaley","followers_url":"https://api.github.com/users/cshaley/followers","following_url":"https://api.github.com/users/cshaley/following{/other_user}","gists_url":"https://api.github.com/users/cshaley/gists{/gist_id}","starred_url":"https://api.github.com/users/cshaley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshaley/subscriptions","organizations_url":"https://api.github.com/users/cshaley/orgs","repos_url":"https://api.github.com/users/cshaley/repos","events_url":"https://api.github.com/users/cshaley/events{/privacy}","received_events_url":"https://api.github.com/users/cshaley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cshaley/line_profiler","description":"Line-by-line profiling for Python","fork":true,"url":"https://api.github.com/repos/cshaley/line_profiler","forks_url":"https://api.github.com/repos/cshaley/line_profiler/forks","keys_url":"https://api.github.com/repos/cshaley/line_profiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cshaley/line_profiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cshaley/line_profiler/teams","hooks_url":"https://api.github.com/repos/cshaley/line_profiler/hooks","issue_events_url":"https://api.github.com/repos/cshaley/line_profiler/issues/events{/number}","events_url":"https://api.github.com/repos/cshaley/line_profiler/events","assignees_url":"https://api.github.com/repos/cshaley/line_profiler/assignees{/user}","branches_url":"https://api.github.com/repos/cshaley/line_profiler/branches{/branch}","tags_url":"https://api.github.com/repos/cshaley/line_profiler/tags","blobs_url":"https://api.github.com/repos/cshaley/line_profiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cshaley/line_profiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cshaley/line_profiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/cshaley/line_profiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cshaley/line_profiler/statuses/{sha}","languages_url":"https://api.github.com/repos/cshaley/line_profiler/languages","stargazers_url":"https://api.github.com/repos/cshaley/line_profiler/stargazers","contributors_url":"https://api.github.com/repos/cshaley/line_profiler/contributors","subscribers_url":"https://api.github.com/repos/cshaley/line_profiler/subscribers","subscription_url":"https://api.github.com/repos/cshaley/line_profiler/subscription","commits_url":"https://api.github.com/repos/cshaley/line_profiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/cshaley/line_profiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/cshaley/line_profiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/cshaley/line_profiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/cshaley/line_profiler/contents/{+path}","compare_url":"https://api.github.com/repos/cshaley/line_profiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cshaley/line_profiler/merges","archive_url":"https://api.github.com/repos/cshaley/line_profiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cshaley/line_profiler/downloads","issues_url":"https://api.github.com/repos/cshaley/line_profiler/issues{/number}","pulls_url":"https://api.github.com/repos/cshaley/line_profiler/pulls{/number}","milestones_url":"https://api.github.com/repos/cshaley/line_profiler/milestones{/number}","notifications_url":"https://api.github.com/repos/cshaley/line_profiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cshaley/line_profiler/labels{/name}","releases_url":"https://api.github.com/repos/cshaley/line_profiler/releases{/id}","deployments_url":"https://api.github.com/repos/cshaley/line_profiler/deployments","created_at":"2017-08-29T02:42:40Z","updated_at":"2017-08-29T02:42:42Z","pushed_at":"2017-10-23T14:21:25Z","git_url":"git://github.com/cshaley/line_profiler.git","ssh_url":"git@github.com:cshaley/line_profiler.git","clone_url":"https://github.com/cshaley/line_profiler.git","svn_url":"https://github.com/cshaley/line_profiler","homepage":null,"size":145,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rkern:master","ref":"master","sha":"89bb777f990b80f5034b994a3a871f5b79c8cc12","user":{"login":"rkern","id":46135,"avatar_url":"https://avatars3.githubusercontent.com/u/46135?v=4","gravatar_id":"","url":"https://api.github.com/users/rkern","html_url":"https://github.com/rkern","followers_url":"https://api.github.com/users/rkern/followers","following_url":"https://api.github.com/users/rkern/following{/other_user}","gists_url":"https://api.github.com/users/rkern/gists{/gist_id}","starred_url":"https://api.github.com/users/rkern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkern/subscriptions","organizations_url":"https://api.github.com/users/rkern/orgs","repos_url":"https://api.github.com/users/rkern/repos","events_url":"https://api.github.com/users/rkern/events{/privacy}","received_events_url":"https://api.github.com/users/rkern/received_events","type":"User","site_admin":false},"repo":{"id":23512354,"name":"line_profiler","full_name":"rkern/line_profiler","owner":{"login":"rkern","id":46135,"avatar_url":"https://avatars3.githubusercontent.com/u/46135?v=4","gravatar_id":"","url":"https://api.github.com/users/rkern","html_url":"https://github.com/rkern","followers_url":"https://api.github.com/users/rkern/followers","following_url":"https://api.github.com/users/rkern/following{/other_user}","gists_url":"https://api.github.com/users/rkern/gists{/gist_id}","starred_url":"https://api.github.com/users/rkern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkern/subscriptions","organizations_url":"https://api.github.com/users/rkern/orgs","repos_url":"https://api.github.com/users/rkern/repos","events_url":"https://api.github.com/users/rkern/events{/privacy}","received_events_url":"https://api.github.com/users/rkern/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rkern/line_profiler","description":"Line-by-line profiling for Python","fork":false,"url":"https://api.github.com/repos/rkern/line_profiler","forks_url":"https://api.github.com/repos/rkern/line_profiler/forks","keys_url":"https://api.github.com/repos/rkern/line_profiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rkern/line_profiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rkern/line_profiler/teams","hooks_url":"https://api.github.com/repos/rkern/line_profiler/hooks","issue_events_url":"https://api.github.com/repos/rkern/line_profiler/issues/events{/number}","events_url":"https://api.github.com/repos/rkern/line_profiler/events","assignees_url":"https://api.github.com/repos/rkern/line_profiler/assignees{/user}","branches_url":"https://api.github.com/repos/rkern/line_profiler/branches{/branch}","tags_url":"https://api.github.com/repos/rkern/line_profiler/tags","blobs_url":"https://api.github.com/repos/rkern/line_profiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rkern/line_profiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rkern/line_profiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/rkern/line_profiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rkern/line_profiler/statuses/{sha}","languages_url":"https://api.github.com/repos/rkern/line_profiler/languages","stargazers_url":"https://api.github.com/repos/rkern/line_profiler/stargazers","contributors_url":"https://api.github.com/repos/rkern/line_profiler/contributors","subscribers_url":"https://api.github.com/repos/rkern/line_profiler/subscribers","subscription_url":"https://api.github.com/repos/rkern/line_profiler/subscription","commits_url":"https://api.github.com/repos/rkern/line_profiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/rkern/line_profiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/rkern/line_profiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/rkern/line_profiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/rkern/line_profiler/contents/{+path}","compare_url":"https://api.github.com/repos/rkern/line_profiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rkern/line_profiler/merges","archive_url":"https://api.github.com/repos/rkern/line_profiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rkern/line_profiler/downloads","issues_url":"https://api.github.com/repos/rkern/line_profiler/issues{/number}","pulls_url":"https://api.github.com/repos/rkern/line_profiler/pulls{/number}","milestones_url":"https://api.github.com/repos/rkern/line_profiler/milestones{/number}","notifications_url":"https://api.github.com/repos/rkern/line_profiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rkern/line_profiler/labels{/name}","releases_url":"https://api.github.com/repos/rkern/line_profiler/releases{/id}","deployments_url":"https://api.github.com/repos/rkern/line_profiler/deployments","created_at":"2014-08-31T11:45:05Z","updated_at":"2017-10-23T22:00:55Z","pushed_at":"2017-10-24T01:38:49Z","git_url":"git://github.com/rkern/line_profiler.git","ssh_url":"git@github.com:rkern/line_profiler.git","clone_url":"https://github.com/rkern/line_profiler.git","svn_url":"https://github.com/rkern/line_profiler","homepage":null,"size":154,"stargazers_count":1648,"watchers_count":1648,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":126,"mirror_url":null,"archived":false,"open_issues_count":47,"forks":126,"open_issues":47,"watchers":1648,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rkern/line_profiler/pulls/98"},"html":{"href":"https://github.com/rkern/line_profiler/pull/98"},"issue":{"href":"https://api.github.com/repos/rkern/line_profiler/issues/98"},"comments":{"href":"https://api.github.com/repos/rkern/line_profiler/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/rkern/line_profiler/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/rkern/line_profiler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rkern/line_profiler/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/rkern/line_profiler/statuses/4d2aaa843ec3cc768f62e37a2a7fb3848eee4afd"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"caethan","id":5314349,"avatar_url":"https://avatars1.githubusercontent.com/u/5314349?v=4","gravatar_id":"","url":"https://api.github.com/users/caethan","html_url":"https://github.com/caethan","followers_url":"https://api.github.com/users/caethan/followers","following_url":"https://api.github.com/users/caethan/following{/other_user}","gists_url":"https://api.github.com/users/caethan/gists{/gist_id}","starred_url":"https://api.github.com/users/caethan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caethan/subscriptions","organizations_url":"https://api.github.com/users/caethan/orgs","repos_url":"https://api.github.com/users/caethan/repos","events_url":"https://api.github.com/users/caethan/events{/privacy}","received_events_url":"https://api.github.com/users/caethan/received_events","type":"User","site_admin":false},"comments":4,"review_comments":1,"maintainer_can_modify":false,"commits":1,"additions":33,"deletions":11,"changed_files":1}}
{"actor":{"display_login":"caethan"}}