{"action":"closed","number":111,"pull_request":{"url":"https://api.github.com/repos/projecthydra-labs/hydra-works/pulls/111","id":35600957,"html_url":"https://github.com/projecthydra-labs/hydra-works/pull/111","diff_url":"https://github.com/projecthydra-labs/hydra-works/pull/111.diff","patch_url":"https://github.com/projecthydra-labs/hydra-works/pull/111.patch","issue_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/issues/111","number":111,"state":"closed","locked":false,"title":"add performance test for Add/GetGenericFilesFromGenericWork","user":{"login":"elrayle","id":6855473,"avatar_url":"https://avatars.githubusercontent.com/u/6855473?v=3","gravatar_id":"","url":"https://api.github.com/users/elrayle","html_url":"https://github.com/elrayle","followers_url":"https://api.github.com/users/elrayle/followers","following_url":"https://api.github.com/users/elrayle/following{/other_user}","gists_url":"https://api.github.com/users/elrayle/gists{/gist_id}","starred_url":"https://api.github.com/users/elrayle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrayle/subscriptions","organizations_url":"https://api.github.com/users/elrayle/orgs","repos_url":"https://api.github.com/users/elrayle/repos","events_url":"https://api.github.com/users/elrayle/events{/privacy}","received_events_url":"https://api.github.com/users/elrayle/received_events","type":"User","site_admin":false},"body":"This is a performance test only.  By default, the tests are skipped with xit to prevent the load tests from running during normal development commits by Travis.\r\n\r\nResults when run on my local machine.  (NOTE: results are ballpark as other processes continued to run during tests)\r\n\r\n```\r\n============================================\r\n Creating and appending generic files\r\n============================================\r\ngfile count   time (s)   time/gfile\r\n-----------   --------   ----------\r\n      10         9.787     0.979\r\n      10        57.438     1.149\r\n      10       129.778     1.298\r\n\r\n\r\n\r\n============================================\r\n Getting 10 generic files 1 time\r\n============================================\r\n    get approach       time (s)   time/gfile (s)\r\n--------------------   --------   --------------\r\n.generic_files          0.00432      0.00043\r\nget service             0.00599      0.00060\r\nexpect + get service    0.00519      0.00052\r\n\r\n============================================\r\n Getting 50 generic files 1 time\r\n============================================\r\n    get approach       time (s)   time/gfile (s)\r\n--------------------   --------   --------------\r\n.generic_files          0.02244      0.00045\r\nget service             0.02052      0.00041\r\nexpect + get service    0.02208      0.00044\r\n\r\n============================================\r\n Getting 100 generic files 1 time\r\n============================================\r\n    get approach       time (s)   time/gfile (s)\r\n--------------------   --------   --------------\r\n.generic_files          0.04462      0.00045\r\nget service             0.03788      0.00038\r\nexpect + get service    0.03979      0.00040\r\n.\r\n\r\n\r\n============================================\r\n Getting 10 generic_files 10 times\r\n============================================\r\n    get approach       time (s)   time/get (s)\r\n--------------------   --------   ------------\r\n.generic_files          0.03397      0.00340\r\nget service             0.04116      0.00412\r\nexpect + get service    0.03950      0.00395\r\n\r\n============================================\r\n Getting 10 generic_files 50 times\r\n============================================\r\n    get approach       time (s)   time/get (s)\r\n--------------------   --------   ------------\r\n.generic_files          0.18498      0.00370\r\nget service             0.19359      0.00387\r\nexpect + get service    0.21452      0.00429\r\n\r\n============================================\r\n Getting 10 generic_files 100 times\r\n============================================\r\n    get approach       time (s)   time/get (s)\r\n--------------------   --------   ------------\r\n.generic_files          0.36848      0.00368\r\nget service             0.41993      0.00420\r\nexpect + get service    0.41238      0.00412\r\n```","created_at":"2015-05-18T03:46:08Z","updated_at":"2015-10-06T21:28:50Z","closed_at":"2015-10-06T21:28:50Z","merged_at":null,"merge_commit_sha":"7d7cfd9f7a4765ad8b7aef014400bc1a7c6a4c45","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/pulls/111/commits","review_comments_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/pulls/111/comments","review_comment_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/issues/111/comments","statuses_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/statuses/25137e5a501d70de47eafd126016d40d6950f1df","head":{"label":"projecthydra-labs:performance_testing","ref":"performance_testing","sha":"25137e5a501d70de47eafd126016d40d6950f1df","user":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":24871990,"name":"hydra-works","full_name":"projecthydra-labs/hydra-works","owner":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra-labs/hydra-works","description":"A base work/file/collection model for hydra.","fork":false,"url":"https://api.github.com/repos/projecthydra-labs/hydra-works","forks_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/forks","keys_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/teams","hooks_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/hooks","issue_events_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/events","assignees_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/tags","blobs_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/languages","stargazers_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/stargazers","contributors_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/contributors","subscribers_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/subscribers","subscription_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/subscription","commits_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/merges","archive_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/downloads","issues_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/releases{/id}","created_at":"2014-10-07T01:09:07Z","updated_at":"2015-09-29T19:39:59Z","pushed_at":"2015-10-06T16:27:40Z","git_url":"git://github.com/projecthydra-labs/hydra-works.git","ssh_url":"git@github.com:projecthydra-labs/hydra-works.git","clone_url":"https://github.com/projecthydra-labs/hydra-works.git","svn_url":"https://github.com/projecthydra-labs/hydra-works","homepage":null,"size":94338,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":31,"forks":11,"open_issues":31,"watchers":18,"default_branch":"master"}},"base":{"label":"projecthydra-labs:master","ref":"master","sha":"a90e296e0f3cdc24f23da1aa975bfac9cb5221c0","user":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":24871990,"name":"hydra-works","full_name":"projecthydra-labs/hydra-works","owner":{"login":"projecthydra-labs","id":7377013,"avatar_url":"https://avatars.githubusercontent.com/u/7377013?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra-labs","html_url":"https://github.com/projecthydra-labs","followers_url":"https://api.github.com/users/projecthydra-labs/followers","following_url":"https://api.github.com/users/projecthydra-labs/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra-labs/subscriptions","organizations_url":"https://api.github.com/users/projecthydra-labs/orgs","repos_url":"https://api.github.com/users/projecthydra-labs/repos","events_url":"https://api.github.com/users/projecthydra-labs/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra-labs/hydra-works","description":"A base work/file/collection model for hydra.","fork":false,"url":"https://api.github.com/repos/projecthydra-labs/hydra-works","forks_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/forks","keys_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/teams","hooks_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/hooks","issue_events_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/events","assignees_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/tags","blobs_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/languages","stargazers_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/stargazers","contributors_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/contributors","subscribers_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/subscribers","subscription_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/subscription","commits_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/merges","archive_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/downloads","issues_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra-labs/hydra-works/releases{/id}","created_at":"2014-10-07T01:09:07Z","updated_at":"2015-09-29T19:39:59Z","pushed_at":"2015-10-06T16:27:40Z","git_url":"git://github.com/projecthydra-labs/hydra-works.git","ssh_url":"git@github.com:projecthydra-labs/hydra-works.git","clone_url":"https://github.com/projecthydra-labs/hydra-works.git","svn_url":"https://github.com/projecthydra-labs/hydra-works","homepage":null,"size":94338,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":31,"forks":11,"open_issues":31,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra-labs/hydra-works/pulls/111"},"html":{"href":"https://github.com/projecthydra-labs/hydra-works/pull/111"},"issue":{"href":"https://api.github.com/repos/projecthydra-labs/hydra-works/issues/111"},"comments":{"href":"https://api.github.com/repos/projecthydra-labs/hydra-works/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra-labs/hydra-works/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra-labs/hydra-works/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra-labs/hydra-works/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra-labs/hydra-works/statuses/25137e5a501d70de47eafd126016d40d6950f1df"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":2,"commits":1,"additions":109,"deletions":0,"changed_files":1}}