{"action":"opened","number":52,"pull_request":{"url":"https://api.github.com/repos/mozilla/sccache/pulls/52","id":98485359,"html_url":"https://github.com/mozilla/sccache/pull/52","diff_url":"https://github.com/mozilla/sccache/pull/52.diff","patch_url":"https://github.com/mozilla/sccache/pull/52.patch","issue_url":"https://api.github.com/repos/mozilla/sccache/issues/52","number":52,"state":"open","locked":false,"title":"Fix average write duration and extend server stats","user":{"login":"flxo","id":129436,"avatar_url":"https://avatars.githubusercontent.com/u/129436?v=3","gravatar_id":"","url":"https://api.github.com/users/flxo","html_url":"https://github.com/flxo","followers_url":"https://api.github.com/users/flxo/followers","following_url":"https://api.github.com/users/flxo/following{/other_user}","gists_url":"https://api.github.com/users/flxo/gists{/gist_id}","starred_url":"https://api.github.com/users/flxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flxo/subscriptions","organizations_url":"https://api.github.com/users/flxo/orgs","repos_url":"https://api.github.com/users/flxo/repos","events_url":"https://api.github.com/users/flxo/events{/privacy}","received_events_url":"https://api.github.com/users/flxo/received_events","type":"User","site_admin":false},"body":"The average duration that is taken by a miss or hit is interesting\r\nwhen testing different cache types. This patch adds the average time\r\ntaken by a cache miss and hit to the server stats. This measurements\r\ncan be entirely done in the server and do not need any changes to the\r\ncache implementations.\r\nFurthermore the calculation of the average duration for cache writes is\r\nfixed (wrong factor used, that produced micros instead of millis).","created_at":"2016-12-18T19:59:09Z","updated_at":"2016-12-18T19:59:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ff8c019436b8516b15f25fe8a0f4e107f8e27d5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/sccache/pulls/52/commits","review_comments_url":"https://api.github.com/repos/mozilla/sccache/pulls/52/comments","review_comment_url":"https://api.github.com/repos/mozilla/sccache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/sccache/issues/52/comments","statuses_url":"https://api.github.com/repos/mozilla/sccache/statuses/e0dffe5d7d5e250aaae82b62242387ad578a67e2","head":{"label":"flxo:average","ref":"average","sha":"e0dffe5d7d5e250aaae82b62242387ad578a67e2","user":{"login":"flxo","id":129436,"avatar_url":"https://avatars.githubusercontent.com/u/129436?v=3","gravatar_id":"","url":"https://api.github.com/users/flxo","html_url":"https://github.com/flxo","followers_url":"https://api.github.com/users/flxo/followers","following_url":"https://api.github.com/users/flxo/following{/other_user}","gists_url":"https://api.github.com/users/flxo/gists{/gist_id}","starred_url":"https://api.github.com/users/flxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flxo/subscriptions","organizations_url":"https://api.github.com/users/flxo/orgs","repos_url":"https://api.github.com/users/flxo/repos","events_url":"https://api.github.com/users/flxo/events{/privacy}","received_events_url":"https://api.github.com/users/flxo/received_events","type":"User","site_admin":false},"repo":{"id":76667029,"name":"sccache","full_name":"flxo/sccache","owner":{"login":"flxo","id":129436,"avatar_url":"https://avatars.githubusercontent.com/u/129436?v=3","gravatar_id":"","url":"https://api.github.com/users/flxo","html_url":"https://github.com/flxo","followers_url":"https://api.github.com/users/flxo/followers","following_url":"https://api.github.com/users/flxo/following{/other_user}","gists_url":"https://api.github.com/users/flxo/gists{/gist_id}","starred_url":"https://api.github.com/users/flxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flxo/subscriptions","organizations_url":"https://api.github.com/users/flxo/orgs","repos_url":"https://api.github.com/users/flxo/repos","events_url":"https://api.github.com/users/flxo/events{/privacy}","received_events_url":"https://api.github.com/users/flxo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flxo/sccache","description":"Rewrite of sccache in Rust","fork":true,"url":"https://api.github.com/repos/flxo/sccache","forks_url":"https://api.github.com/repos/flxo/sccache/forks","keys_url":"https://api.github.com/repos/flxo/sccache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flxo/sccache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flxo/sccache/teams","hooks_url":"https://api.github.com/repos/flxo/sccache/hooks","issue_events_url":"https://api.github.com/repos/flxo/sccache/issues/events{/number}","events_url":"https://api.github.com/repos/flxo/sccache/events","assignees_url":"https://api.github.com/repos/flxo/sccache/assignees{/user}","branches_url":"https://api.github.com/repos/flxo/sccache/branches{/branch}","tags_url":"https://api.github.com/repos/flxo/sccache/tags","blobs_url":"https://api.github.com/repos/flxo/sccache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flxo/sccache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flxo/sccache/git/refs{/sha}","trees_url":"https://api.github.com/repos/flxo/sccache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flxo/sccache/statuses/{sha}","languages_url":"https://api.github.com/repos/flxo/sccache/languages","stargazers_url":"https://api.github.com/repos/flxo/sccache/stargazers","contributors_url":"https://api.github.com/repos/flxo/sccache/contributors","subscribers_url":"https://api.github.com/repos/flxo/sccache/subscribers","subscription_url":"https://api.github.com/repos/flxo/sccache/subscription","commits_url":"https://api.github.com/repos/flxo/sccache/commits{/sha}","git_commits_url":"https://api.github.com/repos/flxo/sccache/git/commits{/sha}","comments_url":"https://api.github.com/repos/flxo/sccache/comments{/number}","issue_comment_url":"https://api.github.com/repos/flxo/sccache/issues/comments{/number}","contents_url":"https://api.github.com/repos/flxo/sccache/contents/{+path}","compare_url":"https://api.github.com/repos/flxo/sccache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flxo/sccache/merges","archive_url":"https://api.github.com/repos/flxo/sccache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flxo/sccache/downloads","issues_url":"https://api.github.com/repos/flxo/sccache/issues{/number}","pulls_url":"https://api.github.com/repos/flxo/sccache/pulls{/number}","milestones_url":"https://api.github.com/repos/flxo/sccache/milestones{/number}","notifications_url":"https://api.github.com/repos/flxo/sccache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flxo/sccache/labels{/name}","releases_url":"https://api.github.com/repos/flxo/sccache/releases{/id}","deployments_url":"https://api.github.com/repos/flxo/sccache/deployments","created_at":"2016-12-16T16:08:35Z","updated_at":"2016-12-16T16:08:36Z","pushed_at":"2016-12-18T19:56:06Z","git_url":"git://github.com/flxo/sccache.git","ssh_url":"git@github.com:flxo/sccache.git","clone_url":"https://github.com/flxo/sccache.git","svn_url":"https://github.com/flxo/sccache","homepage":null,"size":375,"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":"mozilla:master","ref":"master","sha":"9c8cadc2d11a5f184c640197faa8176e0afce05b","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":57160728,"name":"sccache","full_name":"mozilla/sccache","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/sccache","description":"Rewrite of sccache in Rust","fork":false,"url":"https://api.github.com/repos/mozilla/sccache","forks_url":"https://api.github.com/repos/mozilla/sccache/forks","keys_url":"https://api.github.com/repos/mozilla/sccache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/sccache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/sccache/teams","hooks_url":"https://api.github.com/repos/mozilla/sccache/hooks","issue_events_url":"https://api.github.com/repos/mozilla/sccache/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/sccache/events","assignees_url":"https://api.github.com/repos/mozilla/sccache/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/sccache/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/sccache/tags","blobs_url":"https://api.github.com/repos/mozilla/sccache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/sccache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/sccache/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/sccache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/sccache/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/sccache/languages","stargazers_url":"https://api.github.com/repos/mozilla/sccache/stargazers","contributors_url":"https://api.github.com/repos/mozilla/sccache/contributors","subscribers_url":"https://api.github.com/repos/mozilla/sccache/subscribers","subscription_url":"https://api.github.com/repos/mozilla/sccache/subscription","commits_url":"https://api.github.com/repos/mozilla/sccache/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/sccache/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/sccache/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/sccache/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/sccache/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/sccache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/sccache/merges","archive_url":"https://api.github.com/repos/mozilla/sccache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/sccache/downloads","issues_url":"https://api.github.com/repos/mozilla/sccache/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/sccache/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/sccache/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/sccache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/sccache/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/sccache/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/sccache/deployments","created_at":"2016-04-26T20:44:16Z","updated_at":"2016-12-16T11:53:30Z","pushed_at":"2016-12-18T19:31:04Z","git_url":"git://github.com/mozilla/sccache.git","ssh_url":"git@github.com:mozilla/sccache.git","clone_url":"https://github.com/mozilla/sccache.git","svn_url":"https://github.com/mozilla/sccache","homepage":null,"size":350,"stargazers_count":134,"watchers_count":134,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":26,"forks":12,"open_issues":26,"watchers":134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/sccache/pulls/52"},"html":{"href":"https://github.com/mozilla/sccache/pull/52"},"issue":{"href":"https://api.github.com/repos/mozilla/sccache/issues/52"},"comments":{"href":"https://api.github.com/repos/mozilla/sccache/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/sccache/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/sccache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/sccache/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/sccache/statuses/e0dffe5d7d5e250aaae82b62242387ad578a67e2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":78,"deletions":35,"changed_files":2}}
{"actor":{"display_login":"flxo"}}