{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/autophone/pulls/comments/41029879","id":41029879,"diff_hunk":"@@ -16,6 +16,51 @@\n import utils\n from phonetest import PhoneTest, PhoneTestResult\n \n+\"\"\"\n+   PerfherderArtifact and PerfherderSuite and specific formats for\n+   Perfherder as defined in:\n+   https://bugzilla.mozilla.org/show_bug.cgi?id=1175295\n+\n+   These work with summarized suite values and summarized test value,\n+   instead of working with raw replicates.\n+\n+   In the future it would be nice to have a generic PerfData class which\n+   stores the raw replicates and then the output functions can do the final\n+   summarization and calculations as defined by the output medium (e.g. perfherder)\n+\"\"\"\n+class PerfherderArtifact():","path":"tests/perftest.py","position":16,"original_position":16,"commit_id":"fe93003f1cbc0459acdc39e14a07b0c036cb8c95","original_commit_id":"fe93003f1cbc0459acdc39e14a07b0c036cb8c95","user":{"login":"wlach","id":20569,"avatar_url":"https://avatars.githubusercontent.com/u/20569?v=3","gravatar_id":"","url":"https://api.github.com/users/wlach","html_url":"https://github.com/wlach","followers_url":"https://api.github.com/users/wlach/followers","following_url":"https://api.github.com/users/wlach/following{/other_user}","gists_url":"https://api.github.com/users/wlach/gists{/gist_id}","starred_url":"https://api.github.com/users/wlach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlach/subscriptions","organizations_url":"https://api.github.com/users/wlach/orgs","repos_url":"https://api.github.com/users/wlach/repos","events_url":"https://api.github.com/users/wlach/events{/privacy}","received_events_url":"https://api.github.com/users/wlach/received_events","type":"User","site_admin":false},"body":"This could also be derived from dict using the same technique I describe below.","created_at":"2015-10-02T14:55:06Z","updated_at":"2015-10-02T14:55:06Z","html_url":"https://github.com/mozilla/autophone/pull/39#discussion_r41029879","pull_request_url":"https://api.github.com/repos/mozilla/autophone/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/mozilla/autophone/pulls/comments/41029879"},"html":{"href":"https://github.com/mozilla/autophone/pull/39#discussion_r41029879"},"pull_request":{"href":"https://api.github.com/repos/mozilla/autophone/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/autophone/pulls/39","id":46508278,"html_url":"https://github.com/mozilla/autophone/pull/39","diff_url":"https://github.com/mozilla/autophone/pull/39.diff","patch_url":"https://github.com/mozilla/autophone/pull/39.patch","issue_url":"https://api.github.com/repos/mozilla/autophone/issues/39","number":39,"state":"open","locked":false,"title":"Bug 1192069 - Autophone should submit data to perfherder. r=bc","user":{"login":"jmaher","id":62588,"avatar_url":"https://avatars.githubusercontent.com/u/62588?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaher","html_url":"https://github.com/jmaher","followers_url":"https://api.github.com/users/jmaher/followers","following_url":"https://api.github.com/users/jmaher/following{/other_user}","gists_url":"https://api.github.com/users/jmaher/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaher/subscriptions","organizations_url":"https://api.github.com/users/jmaher/orgs","repos_url":"https://api.github.com/users/jmaher/repos","events_url":"https://api.github.com/users/jmaher/events{/privacy}","received_events_url":"https://api.github.com/users/jmaher/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-01T10:39:46Z","updated_at":"2015-10-02T14:55:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"beb808afafeaf5ddbe65ed85ae9079d5212d4937","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/autophone/pulls/39/commits","review_comments_url":"https://api.github.com/repos/mozilla/autophone/pulls/39/comments","review_comment_url":"https://api.github.com/repos/mozilla/autophone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/autophone/issues/39/comments","statuses_url":"https://api.github.com/repos/mozilla/autophone/statuses/fe93003f1cbc0459acdc39e14a07b0c036cb8c95","head":{"label":"jmaher:perfherder","ref":"perfherder","sha":"fe93003f1cbc0459acdc39e14a07b0c036cb8c95","user":{"login":"jmaher","id":62588,"avatar_url":"https://avatars.githubusercontent.com/u/62588?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaher","html_url":"https://github.com/jmaher","followers_url":"https://api.github.com/users/jmaher/followers","following_url":"https://api.github.com/users/jmaher/following{/other_user}","gists_url":"https://api.github.com/users/jmaher/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaher/subscriptions","organizations_url":"https://api.github.com/users/jmaher/orgs","repos_url":"https://api.github.com/users/jmaher/repos","events_url":"https://api.github.com/users/jmaher/events{/privacy}","received_events_url":"https://api.github.com/users/jmaher/received_events","type":"User","site_admin":false},"repo":{"id":39010415,"name":"autophone","full_name":"jmaher/autophone","owner":{"login":"jmaher","id":62588,"avatar_url":"https://avatars.githubusercontent.com/u/62588?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaher","html_url":"https://github.com/jmaher","followers_url":"https://api.github.com/users/jmaher/followers","following_url":"https://api.github.com/users/jmaher/following{/other_user}","gists_url":"https://api.github.com/users/jmaher/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaher/subscriptions","organizations_url":"https://api.github.com/users/jmaher/orgs","repos_url":"https://api.github.com/users/jmaher/repos","events_url":"https://api.github.com/users/jmaher/events{/privacy}","received_events_url":"https://api.github.com/users/jmaher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmaher/autophone","description":"Mobile-device manager for automated-test frameworks","fork":true,"url":"https://api.github.com/repos/jmaher/autophone","forks_url":"https://api.github.com/repos/jmaher/autophone/forks","keys_url":"https://api.github.com/repos/jmaher/autophone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmaher/autophone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmaher/autophone/teams","hooks_url":"https://api.github.com/repos/jmaher/autophone/hooks","issue_events_url":"https://api.github.com/repos/jmaher/autophone/issues/events{/number}","events_url":"https://api.github.com/repos/jmaher/autophone/events","assignees_url":"https://api.github.com/repos/jmaher/autophone/assignees{/user}","branches_url":"https://api.github.com/repos/jmaher/autophone/branches{/branch}","tags_url":"https://api.github.com/repos/jmaher/autophone/tags","blobs_url":"https://api.github.com/repos/jmaher/autophone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmaher/autophone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmaher/autophone/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmaher/autophone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmaher/autophone/statuses/{sha}","languages_url":"https://api.github.com/repos/jmaher/autophone/languages","stargazers_url":"https://api.github.com/repos/jmaher/autophone/stargazers","contributors_url":"https://api.github.com/repos/jmaher/autophone/contributors","subscribers_url":"https://api.github.com/repos/jmaher/autophone/subscribers","subscription_url":"https://api.github.com/repos/jmaher/autophone/subscription","commits_url":"https://api.github.com/repos/jmaher/autophone/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmaher/autophone/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmaher/autophone/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmaher/autophone/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmaher/autophone/contents/{+path}","compare_url":"https://api.github.com/repos/jmaher/autophone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmaher/autophone/merges","archive_url":"https://api.github.com/repos/jmaher/autophone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmaher/autophone/downloads","issues_url":"https://api.github.com/repos/jmaher/autophone/issues{/number}","pulls_url":"https://api.github.com/repos/jmaher/autophone/pulls{/number}","milestones_url":"https://api.github.com/repos/jmaher/autophone/milestones{/number}","notifications_url":"https://api.github.com/repos/jmaher/autophone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmaher/autophone/labels{/name}","releases_url":"https://api.github.com/repos/jmaher/autophone/releases{/id}","created_at":"2015-07-13T12:21:58Z","updated_at":"2015-07-13T12:21:58Z","pushed_at":"2015-10-02T13:54:53Z","git_url":"git://github.com/jmaher/autophone.git","ssh_url":"git@github.com:jmaher/autophone.git","clone_url":"https://github.com/jmaher/autophone.git","svn_url":"https://github.com/jmaher/autophone","homepage":"https://wiki.mozilla.org/Auto-tools/Projects/Autophone","size":1419,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"38993cf5d9727eb01af822ba4d903d3ebcd7c8c7","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":3504257,"name":"autophone","full_name":"mozilla/autophone","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/autophone","description":"Mobile-device manager for automated-test frameworks","fork":false,"url":"https://api.github.com/repos/mozilla/autophone","forks_url":"https://api.github.com/repos/mozilla/autophone/forks","keys_url":"https://api.github.com/repos/mozilla/autophone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/autophone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/autophone/teams","hooks_url":"https://api.github.com/repos/mozilla/autophone/hooks","issue_events_url":"https://api.github.com/repos/mozilla/autophone/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/autophone/events","assignees_url":"https://api.github.com/repos/mozilla/autophone/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/autophone/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/autophone/tags","blobs_url":"https://api.github.com/repos/mozilla/autophone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/autophone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/autophone/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/autophone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/autophone/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/autophone/languages","stargazers_url":"https://api.github.com/repos/mozilla/autophone/stargazers","contributors_url":"https://api.github.com/repos/mozilla/autophone/contributors","subscribers_url":"https://api.github.com/repos/mozilla/autophone/subscribers","subscription_url":"https://api.github.com/repos/mozilla/autophone/subscription","commits_url":"https://api.github.com/repos/mozilla/autophone/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/autophone/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/autophone/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/autophone/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/autophone/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/autophone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/autophone/merges","archive_url":"https://api.github.com/repos/mozilla/autophone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/autophone/downloads","issues_url":"https://api.github.com/repos/mozilla/autophone/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/autophone/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/autophone/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/autophone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/autophone/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/autophone/releases{/id}","created_at":"2012-02-21T13:54:30Z","updated_at":"2015-08-24T16:05:38Z","pushed_at":"2015-10-02T13:54:53Z","git_url":"git://github.com/mozilla/autophone.git","ssh_url":"git@github.com:mozilla/autophone.git","clone_url":"https://github.com/mozilla/autophone.git","svn_url":"https://github.com/mozilla/autophone","homepage":"https://wiki.mozilla.org/Auto-tools/Projects/Autophone","size":1936,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":7,"forks":11,"open_issues":7,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/autophone/pulls/39"},"html":{"href":"https://github.com/mozilla/autophone/pull/39"},"issue":{"href":"https://api.github.com/repos/mozilla/autophone/issues/39"},"comments":{"href":"https://api.github.com/repos/mozilla/autophone/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/autophone/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/autophone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/autophone/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/autophone/statuses/fe93003f1cbc0459acdc39e14a07b0c036cb8c95"}}}}