{"action":"closed","number":360,"pull_request":{"url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/pulls/360","id":67824244,"html_url":"https://github.com/rust-lang-nursery/rustup.rs/pull/360","diff_url":"https://github.com/rust-lang-nursery/rustup.rs/pull/360.diff","patch_url":"https://github.com/rust-lang-nursery/rustup.rs/pull/360.patch","issue_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/360","number":360,"state":"closed","locked":false,"title":"Adding rustc telemetry analysis","user":{"login":"peschkaj","id":71570,"avatar_url":"https://avatars.githubusercontent.com/u/71570?v=3","gravatar_id":"","url":"https://api.github.com/users/peschkaj","html_url":"https://github.com/peschkaj","followers_url":"https://api.github.com/users/peschkaj/followers","following_url":"https://api.github.com/users/peschkaj/following{/other_user}","gists_url":"https://api.github.com/users/peschkaj/gists{/gist_id}","starred_url":"https://api.github.com/users/peschkaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peschkaj/subscriptions","organizations_url":"https://api.github.com/users/peschkaj/orgs","repos_url":"https://api.github.com/users/peschkaj/repos","events_url":"https://api.github.com/users/peschkaj/events{/privacy}","received_events_url":"https://api.github.com/users/peschkaj/received_events","type":"User","site_admin":false},"body":"This adds basic telemetry analysis. \r\n\r\nSample output format is below. I took a stab at something just so I could see output as I was moving forward, I'm open to anything on making it prettier.\r\n\r\n```\r\nλ rustup telemetry analyze             \r\nTelemetry Analysis                     \r\n                                       \r\nOverall rustc statistics:              \r\n                                       \r\n  Total compiles: 315                  \r\n  Compile Time (ms)                    \r\n    Total : 832403                     \r\n    Mean  : 2642                       \r\n    STDEV : 5176.235384174579          \r\n    75th  : 3367                       \r\n    90th  : 5773                       \r\n    95th  : 12294                      \r\n    99th  : 22623                      \r\n                                       \r\n  rustc errors                         \r\n    'E0507': 3                         \r\n    'E0382': 5                         \r\n    'E0433': 4                         \r\n    'E0277': 1                         \r\n    'E0248': 1                         \r\n    'E0425': 4                         \r\n    'E0243': 1                         \r\n    'E0412': 1                         \r\n    'E0282': 2                         \r\n    'E0308': 7                         \r\n                                       \r\n                                       \r\n                                       \r\n                                       \r\nrustc successful execution statistics  \r\n                                       \r\n  Total compiles: 292                  \r\n  Compile Time (ms)                    \r\n    Total : 811826                     \r\n    Mean  : 2780                       \r\n    STDEV : 5352.005177936353          \r\n    75th  : 3779                       \r\n    90th  : 5818                       \r\n    95th  : 12327                      \r\n    99th  : 34488                      \r\n                                       \r\n                                       \r\n                                       \r\n                                       \r\n                                       \r\nrustc error statistics                 \r\n                                       \r\n  Total compiles: 23                   \r\n  Compile Time (ms)                    \r\n    Total : 20577                      \r\n    Mean  : 894                        \r\n    STDEV : 61.02351649337648          \r\n    75th  : 878                        \r\n    90th  : 997                        \r\n    95th  : 1000                       \r\n    99th  : 1054                       \r\n                                       \r\n  rustc errors                         \r\n    'E0507': 3                         \r\n    'E0248': 1                         \r\n    'E0382': 5                         \r\n    'E0433': 4                         \r\n    'E0282': 2                         \r\n    'E0308': 7                         \r\n    'E0243': 1                         \r\n    'E0277': 1                         \r\n    'E0412': 1                         \r\n    'E0425': 4 \r\n```","created_at":"2016-04-26T04:11:16Z","updated_at":"2016-04-27T20:26:42Z","closed_at":"2016-04-27T20:26:42Z","merged_at":"2016-04-27T20:26:42Z","merge_commit_sha":"8d706c75fb9840a99fac0fbb0254ddac33a55906","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/pulls/360/commits","review_comments_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/pulls/360/comments","review_comment_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/360/comments","statuses_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/statuses/86781f16bae67adb28007547959661c6a306d9f7","head":{"label":"peschkaj:341-duration-metrics","ref":"341-duration-metrics","sha":"86781f16bae67adb28007547959661c6a306d9f7","user":{"login":"peschkaj","id":71570,"avatar_url":"https://avatars.githubusercontent.com/u/71570?v=3","gravatar_id":"","url":"https://api.github.com/users/peschkaj","html_url":"https://github.com/peschkaj","followers_url":"https://api.github.com/users/peschkaj/followers","following_url":"https://api.github.com/users/peschkaj/following{/other_user}","gists_url":"https://api.github.com/users/peschkaj/gists{/gist_id}","starred_url":"https://api.github.com/users/peschkaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peschkaj/subscriptions","organizations_url":"https://api.github.com/users/peschkaj/orgs","repos_url":"https://api.github.com/users/peschkaj/repos","events_url":"https://api.github.com/users/peschkaj/events{/privacy}","received_events_url":"https://api.github.com/users/peschkaj/received_events","type":"User","site_admin":false},"repo":{"id":55165482,"name":"multirust-rs","full_name":"peschkaj/multirust-rs","owner":{"login":"peschkaj","id":71570,"avatar_url":"https://avatars.githubusercontent.com/u/71570?v=3","gravatar_id":"","url":"https://api.github.com/users/peschkaj","html_url":"https://github.com/peschkaj","followers_url":"https://api.github.com/users/peschkaj/followers","following_url":"https://api.github.com/users/peschkaj/following{/other_user}","gists_url":"https://api.github.com/users/peschkaj/gists{/gist_id}","starred_url":"https://api.github.com/users/peschkaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peschkaj/subscriptions","organizations_url":"https://api.github.com/users/peschkaj/orgs","repos_url":"https://api.github.com/users/peschkaj/repos","events_url":"https://api.github.com/users/peschkaj/events{/privacy}","received_events_url":"https://api.github.com/users/peschkaj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peschkaj/multirust-rs","description":"The Rust toolchain installer","fork":true,"url":"https://api.github.com/repos/peschkaj/multirust-rs","forks_url":"https://api.github.com/repos/peschkaj/multirust-rs/forks","keys_url":"https://api.github.com/repos/peschkaj/multirust-rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peschkaj/multirust-rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peschkaj/multirust-rs/teams","hooks_url":"https://api.github.com/repos/peschkaj/multirust-rs/hooks","issue_events_url":"https://api.github.com/repos/peschkaj/multirust-rs/issues/events{/number}","events_url":"https://api.github.com/repos/peschkaj/multirust-rs/events","assignees_url":"https://api.github.com/repos/peschkaj/multirust-rs/assignees{/user}","branches_url":"https://api.github.com/repos/peschkaj/multirust-rs/branches{/branch}","tags_url":"https://api.github.com/repos/peschkaj/multirust-rs/tags","blobs_url":"https://api.github.com/repos/peschkaj/multirust-rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peschkaj/multirust-rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peschkaj/multirust-rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/peschkaj/multirust-rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peschkaj/multirust-rs/statuses/{sha}","languages_url":"https://api.github.com/repos/peschkaj/multirust-rs/languages","stargazers_url":"https://api.github.com/repos/peschkaj/multirust-rs/stargazers","contributors_url":"https://api.github.com/repos/peschkaj/multirust-rs/contributors","subscribers_url":"https://api.github.com/repos/peschkaj/multirust-rs/subscribers","subscription_url":"https://api.github.com/repos/peschkaj/multirust-rs/subscription","commits_url":"https://api.github.com/repos/peschkaj/multirust-rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/peschkaj/multirust-rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/peschkaj/multirust-rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/peschkaj/multirust-rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/peschkaj/multirust-rs/contents/{+path}","compare_url":"https://api.github.com/repos/peschkaj/multirust-rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peschkaj/multirust-rs/merges","archive_url":"https://api.github.com/repos/peschkaj/multirust-rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peschkaj/multirust-rs/downloads","issues_url":"https://api.github.com/repos/peschkaj/multirust-rs/issues{/number}","pulls_url":"https://api.github.com/repos/peschkaj/multirust-rs/pulls{/number}","milestones_url":"https://api.github.com/repos/peschkaj/multirust-rs/milestones{/number}","notifications_url":"https://api.github.com/repos/peschkaj/multirust-rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peschkaj/multirust-rs/labels{/name}","releases_url":"https://api.github.com/repos/peschkaj/multirust-rs/releases{/id}","deployments_url":"https://api.github.com/repos/peschkaj/multirust-rs/deployments","created_at":"2016-03-31T16:21:26Z","updated_at":"2016-03-31T16:21:28Z","pushed_at":"2016-04-26T04:04:39Z","git_url":"git://github.com/peschkaj/multirust-rs.git","ssh_url":"git@github.com:peschkaj/multirust-rs.git","clone_url":"https://github.com/peschkaj/multirust-rs.git","svn_url":"https://github.com/peschkaj/multirust-rs","homepage":"","size":8275,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang-nursery:master","ref":"master","sha":"a378713b6cf23f034086e71e3e6083ba79f29c0b","user":{"login":"rust-lang-nursery","id":14631425,"avatar_url":"https://avatars.githubusercontent.com/u/14631425?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang-nursery","html_url":"https://github.com/rust-lang-nursery","followers_url":"https://api.github.com/users/rust-lang-nursery/followers","following_url":"https://api.github.com/users/rust-lang-nursery/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang-nursery/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang-nursery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang-nursery/subscriptions","organizations_url":"https://api.github.com/users/rust-lang-nursery/orgs","repos_url":"https://api.github.com/users/rust-lang-nursery/repos","events_url":"https://api.github.com/users/rust-lang-nursery/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang-nursery/received_events","type":"Organization","site_admin":false},"repo":{"id":43192623,"name":"rustup.rs","full_name":"rust-lang-nursery/rustup.rs","owner":{"login":"rust-lang-nursery","id":14631425,"avatar_url":"https://avatars.githubusercontent.com/u/14631425?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang-nursery","html_url":"https://github.com/rust-lang-nursery","followers_url":"https://api.github.com/users/rust-lang-nursery/followers","following_url":"https://api.github.com/users/rust-lang-nursery/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang-nursery/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang-nursery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang-nursery/subscriptions","organizations_url":"https://api.github.com/users/rust-lang-nursery/orgs","repos_url":"https://api.github.com/users/rust-lang-nursery/repos","events_url":"https://api.github.com/users/rust-lang-nursery/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang-nursery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang-nursery/rustup.rs","description":"The Rust toolchain installer","fork":false,"url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs","forks_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/forks","keys_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/teams","hooks_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/hooks","issue_events_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/events","assignees_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/tags","blobs_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/languages","stargazers_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/stargazers","contributors_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/contributors","subscribers_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/subscribers","subscription_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/subscription","commits_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/merges","archive_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/downloads","issues_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/releases{/id}","deployments_url":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/deployments","created_at":"2015-09-26T04:54:49Z","updated_at":"2016-04-27T19:18:52Z","pushed_at":"2016-04-27T20:26:42Z","git_url":"git://github.com/rust-lang-nursery/rustup.rs.git","ssh_url":"git@github.com:rust-lang-nursery/rustup.rs.git","clone_url":"https://github.com/rust-lang-nursery/rustup.rs.git","svn_url":"https://github.com/rust-lang-nursery/rustup.rs","homepage":"","size":8321,"stargazers_count":222,"watchers_count":222,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":26,"mirror_url":null,"open_issues_count":95,"forks":26,"open_issues":95,"watchers":222,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/pulls/360"},"html":{"href":"https://github.com/rust-lang-nursery/rustup.rs/pull/360"},"issue":{"href":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/360"},"comments":{"href":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/issues/360/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/pulls/360/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/pulls/360/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang-nursery/rustup.rs/statuses/86781f16bae67adb28007547959661c6a306d9f7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":383,"deletions":25,"changed_files":10}}