{"action":"closed","number":43,"pull_request":{"url":"https://api.github.com/repos/redding/qs/pulls/43","id":26903908,"html_url":"https://github.com/redding/qs/pull/43","diff_url":"https://github.com/redding/qs/pull/43.diff","patch_url":"https://github.com/redding/qs/pull/43.patch","issue_url":"https://api.github.com/repos/redding/qs/issues/43","number":43,"state":"closed","locked":false,"title":"Add benchmarking script","user":{"login":"jcredding","id":85966,"avatar_url":"https://avatars.githubusercontent.com/u/85966?v=3","gravatar_id":"","url":"https://api.github.com/users/jcredding","html_url":"https://github.com/jcredding","followers_url":"https://api.github.com/users/jcredding/followers","following_url":"https://api.github.com/users/jcredding/following{/other_user}","gists_url":"https://api.github.com/users/jcredding/gists{/gist_id}","starred_url":"https://api.github.com/users/jcredding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcredding/subscriptions","organizations_url":"https://api.github.com/users/jcredding/orgs","repos_url":"https://api.github.com/users/jcredding/repos","events_url":"https://api.github.com/users/jcredding/events{/privacy}","received_events_url":"https://api.github.com/users/jcredding/received_events","type":"User","site_admin":false},"body":"This adds a script for benchmarking adding and running jobs in\r\nQs. The script adds a large number of jobs and then runs them,\r\nbenchmarking how long it takes to do both actions. This is to\r\nprovide insight if changes have significantly slowed down Qs. It\r\nalso serves as a simple script and configuration for running a\r\nQs daemon and making sure everything works as expected.\r\n\r\nBecause of Qs asynchronous nature its difficult to get an\r\naccurate time for how long it takes to run a set of jobs. This\r\nuses a pipe to communicate progress between process which has\r\nI/O overhead. In short this means that no matter what the job\r\ndoes, there is a cap on how fast Qs performs in this script. Thus,\r\nthis should not be used to measure how fast/slow Qs is and should\r\nonly be used as a guide if changes are significantly slowing down\r\nQs.\r\n\r\n@kellyredding - Ready for review.","created_at":"2015-01-06T17:33:30Z","updated_at":"2015-02-06T02:12:18Z","closed_at":"2015-02-06T02:12:18Z","merged_at":"2015-02-06T02:12:18Z","merge_commit_sha":"4983869763c645c21eadc641bb5025dc55bafdcb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/redding/qs/pulls/43/commits","review_comments_url":"https://api.github.com/repos/redding/qs/pulls/43/comments","review_comment_url":"https://api.github.com/repos/redding/qs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/redding/qs/issues/43/comments","statuses_url":"https://api.github.com/repos/redding/qs/statuses/94f456805cfc9337c32817a45bf8f43ddb584216","head":{"label":"redding:jcr-benchmark","ref":"jcr-benchmark","sha":"94f456805cfc9337c32817a45bf8f43ddb584216","user":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"repo":{"id":8260201,"name":"qs","full_name":"redding/qs","owner":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redding/qs","description":"Setup message queues. Run jobs and events. Profit.","fork":false,"url":"https://api.github.com/repos/redding/qs","forks_url":"https://api.github.com/repos/redding/qs/forks","keys_url":"https://api.github.com/repos/redding/qs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redding/qs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redding/qs/teams","hooks_url":"https://api.github.com/repos/redding/qs/hooks","issue_events_url":"https://api.github.com/repos/redding/qs/issues/events{/number}","events_url":"https://api.github.com/repos/redding/qs/events","assignees_url":"https://api.github.com/repos/redding/qs/assignees{/user}","branches_url":"https://api.github.com/repos/redding/qs/branches{/branch}","tags_url":"https://api.github.com/repos/redding/qs/tags","blobs_url":"https://api.github.com/repos/redding/qs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redding/qs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redding/qs/git/refs{/sha}","trees_url":"https://api.github.com/repos/redding/qs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redding/qs/statuses/{sha}","languages_url":"https://api.github.com/repos/redding/qs/languages","stargazers_url":"https://api.github.com/repos/redding/qs/stargazers","contributors_url":"https://api.github.com/repos/redding/qs/contributors","subscribers_url":"https://api.github.com/repos/redding/qs/subscribers","subscription_url":"https://api.github.com/repos/redding/qs/subscription","commits_url":"https://api.github.com/repos/redding/qs/commits{/sha}","git_commits_url":"https://api.github.com/repos/redding/qs/git/commits{/sha}","comments_url":"https://api.github.com/repos/redding/qs/comments{/number}","issue_comment_url":"https://api.github.com/repos/redding/qs/issues/comments/{number}","contents_url":"https://api.github.com/repos/redding/qs/contents/{+path}","compare_url":"https://api.github.com/repos/redding/qs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redding/qs/merges","archive_url":"https://api.github.com/repos/redding/qs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redding/qs/downloads","issues_url":"https://api.github.com/repos/redding/qs/issues{/number}","pulls_url":"https://api.github.com/repos/redding/qs/pulls{/number}","milestones_url":"https://api.github.com/repos/redding/qs/milestones{/number}","notifications_url":"https://api.github.com/repos/redding/qs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redding/qs/labels{/name}","releases_url":"https://api.github.com/repos/redding/qs/releases{/id}","created_at":"2013-02-18T02:20:31Z","updated_at":"2015-01-06T16:24:39Z","pushed_at":"2015-02-06T02:12:18Z","git_url":"git://github.com/redding/qs.git","ssh_url":"git@github.com:redding/qs.git","clone_url":"https://github.com/redding/qs.git","svn_url":"https://github.com/redding/qs","homepage":null,"size":1920,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"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":1,"default_branch":"master"}},"base":{"label":"redding:master","ref":"master","sha":"ec68dc820162526978fef45940c49e978e781686","user":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"repo":{"id":8260201,"name":"qs","full_name":"redding/qs","owner":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redding/qs","description":"Setup message queues. Run jobs and events. Profit.","fork":false,"url":"https://api.github.com/repos/redding/qs","forks_url":"https://api.github.com/repos/redding/qs/forks","keys_url":"https://api.github.com/repos/redding/qs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redding/qs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redding/qs/teams","hooks_url":"https://api.github.com/repos/redding/qs/hooks","issue_events_url":"https://api.github.com/repos/redding/qs/issues/events{/number}","events_url":"https://api.github.com/repos/redding/qs/events","assignees_url":"https://api.github.com/repos/redding/qs/assignees{/user}","branches_url":"https://api.github.com/repos/redding/qs/branches{/branch}","tags_url":"https://api.github.com/repos/redding/qs/tags","blobs_url":"https://api.github.com/repos/redding/qs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redding/qs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redding/qs/git/refs{/sha}","trees_url":"https://api.github.com/repos/redding/qs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redding/qs/statuses/{sha}","languages_url":"https://api.github.com/repos/redding/qs/languages","stargazers_url":"https://api.github.com/repos/redding/qs/stargazers","contributors_url":"https://api.github.com/repos/redding/qs/contributors","subscribers_url":"https://api.github.com/repos/redding/qs/subscribers","subscription_url":"https://api.github.com/repos/redding/qs/subscription","commits_url":"https://api.github.com/repos/redding/qs/commits{/sha}","git_commits_url":"https://api.github.com/repos/redding/qs/git/commits{/sha}","comments_url":"https://api.github.com/repos/redding/qs/comments{/number}","issue_comment_url":"https://api.github.com/repos/redding/qs/issues/comments/{number}","contents_url":"https://api.github.com/repos/redding/qs/contents/{+path}","compare_url":"https://api.github.com/repos/redding/qs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redding/qs/merges","archive_url":"https://api.github.com/repos/redding/qs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redding/qs/downloads","issues_url":"https://api.github.com/repos/redding/qs/issues{/number}","pulls_url":"https://api.github.com/repos/redding/qs/pulls{/number}","milestones_url":"https://api.github.com/repos/redding/qs/milestones{/number}","notifications_url":"https://api.github.com/repos/redding/qs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redding/qs/labels{/name}","releases_url":"https://api.github.com/repos/redding/qs/releases{/id}","created_at":"2013-02-18T02:20:31Z","updated_at":"2015-01-06T16:24:39Z","pushed_at":"2015-02-06T02:12:18Z","git_url":"git://github.com/redding/qs.git","ssh_url":"git@github.com:redding/qs.git","clone_url":"https://github.com/redding/qs.git","svn_url":"https://github.com/redding/qs","homepage":null,"size":1920,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redding/qs/pulls/43"},"html":{"href":"https://github.com/redding/qs/pull/43"},"issue":{"href":"https://api.github.com/repos/redding/qs/issues/43"},"comments":{"href":"https://api.github.com/repos/redding/qs/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/redding/qs/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/redding/qs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/redding/qs/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/redding/qs/statuses/94f456805cfc9337c32817a45bf8f43ddb584216"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jcredding","id":85966,"avatar_url":"https://avatars.githubusercontent.com/u/85966?v=3","gravatar_id":"","url":"https://api.github.com/users/jcredding","html_url":"https://github.com/jcredding","followers_url":"https://api.github.com/users/jcredding/followers","following_url":"https://api.github.com/users/jcredding/following{/other_user}","gists_url":"https://api.github.com/users/jcredding/gists{/gist_id}","starred_url":"https://api.github.com/users/jcredding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcredding/subscriptions","organizations_url":"https://api.github.com/users/jcredding/orgs","repos_url":"https://api.github.com/users/jcredding/repos","events_url":"https://api.github.com/users/jcredding/events{/privacy}","received_events_url":"https://api.github.com/users/jcredding/received_events","type":"User","site_admin":false},"comments":3,"review_comments":3,"commits":1,"additions":179,"deletions":0,"changed_files":5}}