{"action":"created","comment":{"url":"https://api.github.com/repos/cmu-db/peloton/pulls/comments/77059667","id":77059667,"diff_hunk":"@@ -0,0 +1,216 @@\n+//===----------------------------------------------------------------------===//\n+//\n+//                         Peloton\n+//\n+// data_table_test.cpp","path":"test/statistics/stats_test.cpp","position":5,"original_position":5,"commit_id":"bc16d148ae737db580a68b5a285696108bfb1b5b","original_commit_id":"bc16d148ae737db580a68b5a285696108bfb1b5b","user":{"login":"jarulraj","id":5521975,"avatar_url":"https://avatars.githubusercontent.com/u/5521975?v=3","gravatar_id":"","url":"https://api.github.com/users/jarulraj","html_url":"https://github.com/jarulraj","followers_url":"https://api.github.com/users/jarulraj/followers","following_url":"https://api.github.com/users/jarulraj/following{/other_user}","gists_url":"https://api.github.com/users/jarulraj/gists{/gist_id}","starred_url":"https://api.github.com/users/jarulraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarulraj/subscriptions","organizations_url":"https://api.github.com/users/jarulraj/orgs","repos_url":"https://api.github.com/users/jarulraj/repos","events_url":"https://api.github.com/users/jarulraj/events{/privacy}","received_events_url":"https://api.github.com/users/jarulraj/received_events","type":"User","site_admin":false},"body":"Fix names.","created_at":"2016-08-31T19:48:02Z","updated_at":"2016-08-31T19:48:02Z","html_url":"https://github.com/cmu-db/peloton/pull/221#discussion_r77059667","pull_request_url":"https://api.github.com/repos/cmu-db/peloton/pulls/221","_links":{"self":{"href":"https://api.github.com/repos/cmu-db/peloton/pulls/comments/77059667"},"html":{"href":"https://github.com/cmu-db/peloton/pull/221#discussion_r77059667"},"pull_request":{"href":"https://api.github.com/repos/cmu-db/peloton/pulls/221"}}},"pull_request":{"url":"https://api.github.com/repos/cmu-db/peloton/pulls/221","id":83474833,"html_url":"https://github.com/cmu-db/peloton/pull/221","diff_url":"https://github.com/cmu-db/peloton/pull/221.diff","patch_url":"https://github.com/cmu-db/peloton/pull/221.patch","issue_url":"https://api.github.com/repos/cmu-db/peloton/issues/221","number":221,"state":"open","locked":false,"title":"Statistics Collection","user":{"login":"malin1993ml","id":5907405,"avatar_url":"https://avatars.githubusercontent.com/u/5907405?v=3","gravatar_id":"","url":"https://api.github.com/users/malin1993ml","html_url":"https://github.com/malin1993ml","followers_url":"https://api.github.com/users/malin1993ml/followers","following_url":"https://api.github.com/users/malin1993ml/following{/other_user}","gists_url":"https://api.github.com/users/malin1993ml/gists{/gist_id}","starred_url":"https://api.github.com/users/malin1993ml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malin1993ml/subscriptions","organizations_url":"https://api.github.com/users/malin1993ml/orgs","repos_url":"https://api.github.com/users/malin1993ml/repos","events_url":"https://api.github.com/users/malin1993ml/events{/privacy}","received_events_url":"https://api.github.com/users/malin1993ml/received_events","type":"User","site_admin":false},"body":"This PR contains the function of collecting following statistics:\r\n1. Number of txns committed/aborted by the system;\r\n2. Average txn throughput;\r\n3. Average txn latency;\r\n4. Number of tuples read/inserted/updated/deleted in every database, table, and index.\r\n\r\nThings TODO:\r\n1. Write the aggregated stats to the internal catalog table.\r\n2. Replace the thread_local stats context with a global concurrent hash map. (for compiling on Mac in the future).\r\n3. Add query-level statistics.\r\n","created_at":"2016-08-31T15:27:15Z","updated_at":"2016-08-31T19:48:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dcdd4562fad7bd0b50b7a05260afac78293c5f04","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cmu-db/peloton/pulls/221/commits","review_comments_url":"https://api.github.com/repos/cmu-db/peloton/pulls/221/comments","review_comment_url":"https://api.github.com/repos/cmu-db/peloton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cmu-db/peloton/issues/221/comments","statuses_url":"https://api.github.com/repos/cmu-db/peloton/statuses/bc16d148ae737db580a68b5a285696108bfb1b5b","head":{"label":"malin1993ml:master","ref":"master","sha":"bc16d148ae737db580a68b5a285696108bfb1b5b","user":{"login":"malin1993ml","id":5907405,"avatar_url":"https://avatars.githubusercontent.com/u/5907405?v=3","gravatar_id":"","url":"https://api.github.com/users/malin1993ml","html_url":"https://github.com/malin1993ml","followers_url":"https://api.github.com/users/malin1993ml/followers","following_url":"https://api.github.com/users/malin1993ml/following{/other_user}","gists_url":"https://api.github.com/users/malin1993ml/gists{/gist_id}","starred_url":"https://api.github.com/users/malin1993ml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malin1993ml/subscriptions","organizations_url":"https://api.github.com/users/malin1993ml/orgs","repos_url":"https://api.github.com/users/malin1993ml/repos","events_url":"https://api.github.com/users/malin1993ml/events{/privacy}","received_events_url":"https://api.github.com/users/malin1993ml/received_events","type":"User","site_admin":false},"repo":{"id":56350505,"name":"peloton","full_name":"malin1993ml/peloton","owner":{"login":"malin1993ml","id":5907405,"avatar_url":"https://avatars.githubusercontent.com/u/5907405?v=3","gravatar_id":"","url":"https://api.github.com/users/malin1993ml","html_url":"https://github.com/malin1993ml","followers_url":"https://api.github.com/users/malin1993ml/followers","following_url":"https://api.github.com/users/malin1993ml/following{/other_user}","gists_url":"https://api.github.com/users/malin1993ml/gists{/gist_id}","starred_url":"https://api.github.com/users/malin1993ml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malin1993ml/subscriptions","organizations_url":"https://api.github.com/users/malin1993ml/orgs","repos_url":"https://api.github.com/users/malin1993ml/repos","events_url":"https://api.github.com/users/malin1993ml/events{/privacy}","received_events_url":"https://api.github.com/users/malin1993ml/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/malin1993ml/peloton","description":"Street Strength Database Management System for Real-Time Analytics","fork":true,"url":"https://api.github.com/repos/malin1993ml/peloton","forks_url":"https://api.github.com/repos/malin1993ml/peloton/forks","keys_url":"https://api.github.com/repos/malin1993ml/peloton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/malin1993ml/peloton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/malin1993ml/peloton/teams","hooks_url":"https://api.github.com/repos/malin1993ml/peloton/hooks","issue_events_url":"https://api.github.com/repos/malin1993ml/peloton/issues/events{/number}","events_url":"https://api.github.com/repos/malin1993ml/peloton/events","assignees_url":"https://api.github.com/repos/malin1993ml/peloton/assignees{/user}","branches_url":"https://api.github.com/repos/malin1993ml/peloton/branches{/branch}","tags_url":"https://api.github.com/repos/malin1993ml/peloton/tags","blobs_url":"https://api.github.com/repos/malin1993ml/peloton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/malin1993ml/peloton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/malin1993ml/peloton/git/refs{/sha}","trees_url":"https://api.github.com/repos/malin1993ml/peloton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/malin1993ml/peloton/statuses/{sha}","languages_url":"https://api.github.com/repos/malin1993ml/peloton/languages","stargazers_url":"https://api.github.com/repos/malin1993ml/peloton/stargazers","contributors_url":"https://api.github.com/repos/malin1993ml/peloton/contributors","subscribers_url":"https://api.github.com/repos/malin1993ml/peloton/subscribers","subscription_url":"https://api.github.com/repos/malin1993ml/peloton/subscription","commits_url":"https://api.github.com/repos/malin1993ml/peloton/commits{/sha}","git_commits_url":"https://api.github.com/repos/malin1993ml/peloton/git/commits{/sha}","comments_url":"https://api.github.com/repos/malin1993ml/peloton/comments{/number}","issue_comment_url":"https://api.github.com/repos/malin1993ml/peloton/issues/comments{/number}","contents_url":"https://api.github.com/repos/malin1993ml/peloton/contents/{+path}","compare_url":"https://api.github.com/repos/malin1993ml/peloton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/malin1993ml/peloton/merges","archive_url":"https://api.github.com/repos/malin1993ml/peloton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/malin1993ml/peloton/downloads","issues_url":"https://api.github.com/repos/malin1993ml/peloton/issues{/number}","pulls_url":"https://api.github.com/repos/malin1993ml/peloton/pulls{/number}","milestones_url":"https://api.github.com/repos/malin1993ml/peloton/milestones{/number}","notifications_url":"https://api.github.com/repos/malin1993ml/peloton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/malin1993ml/peloton/labels{/name}","releases_url":"https://api.github.com/repos/malin1993ml/peloton/releases{/id}","deployments_url":"https://api.github.com/repos/malin1993ml/peloton/deployments","created_at":"2016-04-15T21:22:13Z","updated_at":"2016-04-15T21:30:34Z","pushed_at":"2016-08-31T15:07:02Z","git_url":"git://github.com/malin1993ml/peloton.git","ssh_url":"git@github.com:malin1993ml/peloton.git","clone_url":"https://github.com/malin1993ml/peloton.git","svn_url":"https://github.com/malin1993ml/peloton","homepage":"http://pelotondb.org","size":49384,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cmu-db:master","ref":"master","sha":"f5bfd8a200cd4f4b96dcd7445cc37372e137abdc","user":{"login":"cmu-db","id":6220241,"avatar_url":"https://avatars.githubusercontent.com/u/6220241?v=3","gravatar_id":"","url":"https://api.github.com/users/cmu-db","html_url":"https://github.com/cmu-db","followers_url":"https://api.github.com/users/cmu-db/followers","following_url":"https://api.github.com/users/cmu-db/following{/other_user}","gists_url":"https://api.github.com/users/cmu-db/gists{/gist_id}","starred_url":"https://api.github.com/users/cmu-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmu-db/subscriptions","organizations_url":"https://api.github.com/users/cmu-db/orgs","repos_url":"https://api.github.com/users/cmu-db/repos","events_url":"https://api.github.com/users/cmu-db/events{/privacy}","received_events_url":"https://api.github.com/users/cmu-db/received_events","type":"Organization","site_admin":false},"repo":{"id":28202609,"name":"peloton","full_name":"cmu-db/peloton","owner":{"login":"cmu-db","id":6220241,"avatar_url":"https://avatars.githubusercontent.com/u/6220241?v=3","gravatar_id":"","url":"https://api.github.com/users/cmu-db","html_url":"https://github.com/cmu-db","followers_url":"https://api.github.com/users/cmu-db/followers","following_url":"https://api.github.com/users/cmu-db/following{/other_user}","gists_url":"https://api.github.com/users/cmu-db/gists{/gist_id}","starred_url":"https://api.github.com/users/cmu-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmu-db/subscriptions","organizations_url":"https://api.github.com/users/cmu-db/orgs","repos_url":"https://api.github.com/users/cmu-db/repos","events_url":"https://api.github.com/users/cmu-db/events{/privacy}","received_events_url":"https://api.github.com/users/cmu-db/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cmu-db/peloton","description":"The Self-Driving Database Management System","fork":false,"url":"https://api.github.com/repos/cmu-db/peloton","forks_url":"https://api.github.com/repos/cmu-db/peloton/forks","keys_url":"https://api.github.com/repos/cmu-db/peloton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmu-db/peloton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmu-db/peloton/teams","hooks_url":"https://api.github.com/repos/cmu-db/peloton/hooks","issue_events_url":"https://api.github.com/repos/cmu-db/peloton/issues/events{/number}","events_url":"https://api.github.com/repos/cmu-db/peloton/events","assignees_url":"https://api.github.com/repos/cmu-db/peloton/assignees{/user}","branches_url":"https://api.github.com/repos/cmu-db/peloton/branches{/branch}","tags_url":"https://api.github.com/repos/cmu-db/peloton/tags","blobs_url":"https://api.github.com/repos/cmu-db/peloton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmu-db/peloton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmu-db/peloton/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmu-db/peloton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmu-db/peloton/statuses/{sha}","languages_url":"https://api.github.com/repos/cmu-db/peloton/languages","stargazers_url":"https://api.github.com/repos/cmu-db/peloton/stargazers","contributors_url":"https://api.github.com/repos/cmu-db/peloton/contributors","subscribers_url":"https://api.github.com/repos/cmu-db/peloton/subscribers","subscription_url":"https://api.github.com/repos/cmu-db/peloton/subscription","commits_url":"https://api.github.com/repos/cmu-db/peloton/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmu-db/peloton/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmu-db/peloton/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmu-db/peloton/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmu-db/peloton/contents/{+path}","compare_url":"https://api.github.com/repos/cmu-db/peloton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmu-db/peloton/merges","archive_url":"https://api.github.com/repos/cmu-db/peloton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmu-db/peloton/downloads","issues_url":"https://api.github.com/repos/cmu-db/peloton/issues{/number}","pulls_url":"https://api.github.com/repos/cmu-db/peloton/pulls{/number}","milestones_url":"https://api.github.com/repos/cmu-db/peloton/milestones{/number}","notifications_url":"https://api.github.com/repos/cmu-db/peloton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmu-db/peloton/labels{/name}","releases_url":"https://api.github.com/repos/cmu-db/peloton/releases{/id}","deployments_url":"https://api.github.com/repos/cmu-db/peloton/deployments","created_at":"2014-12-18T21:35:23Z","updated_at":"2016-08-31T14:23:08Z","pushed_at":"2016-08-31T15:27:15Z","git_url":"git://github.com/cmu-db/peloton.git","ssh_url":"git@github.com:cmu-db/peloton.git","clone_url":"https://github.com/cmu-db/peloton.git","svn_url":"https://github.com/cmu-db/peloton","homepage":"http://pelotondb.org","size":75182,"stargazers_count":127,"watchers_count":127,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":93,"mirror_url":null,"open_issues_count":21,"forks":93,"open_issues":21,"watchers":127,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cmu-db/peloton/pulls/221"},"html":{"href":"https://github.com/cmu-db/peloton/pull/221"},"issue":{"href":"https://api.github.com/repos/cmu-db/peloton/issues/221"},"comments":{"href":"https://api.github.com/repos/cmu-db/peloton/issues/221/comments"},"review_comments":{"href":"https://api.github.com/repos/cmu-db/peloton/pulls/221/comments"},"review_comment":{"href":"https://api.github.com/repos/cmu-db/peloton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cmu-db/peloton/pulls/221/commits"},"statuses":{"href":"https://api.github.com/repos/cmu-db/peloton/statuses/bc16d148ae737db580a68b5a285696108bfb1b5b"}}}}
{"actor":{"display_login":"jarulraj"}}