{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/azeid/StableMatchingParallel/pulls/5","id":233390692,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMzkwNjky","html_url":"https://github.com/azeid/StableMatchingParallel/pull/5","diff_url":"https://github.com/azeid/StableMatchingParallel/pull/5.diff","patch_url":"https://github.com/azeid/StableMatchingParallel/pull/5.patch","issue_url":"https://api.github.com/repos/azeid/StableMatchingParallel/issues/5","number":5,"state":"closed","locked":false,"title":"Adding the rest of test cases for benchmarking","user":{"login":"gleonoliva","id":18090460,"node_id":"MDQ6VXNlcjE4MDkwNDYw","avatar_url":"https://avatars3.githubusercontent.com/u/18090460?v=4","gravatar_id":"","url":"https://api.github.com/users/gleonoliva","html_url":"https://github.com/gleonoliva","followers_url":"https://api.github.com/users/gleonoliva/followers","following_url":"https://api.github.com/users/gleonoliva/following{/other_user}","gists_url":"https://api.github.com/users/gleonoliva/gists{/gist_id}","starred_url":"https://api.github.com/users/gleonoliva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gleonoliva/subscriptions","organizations_url":"https://api.github.com/users/gleonoliva/orgs","repos_url":"https://api.github.com/users/gleonoliva/repos","events_url":"https://api.github.com/users/gleonoliva/events{/privacy}","received_events_url":"https://api.github.com/users/gleonoliva/received_events","type":"User","site_admin":false},"body":"First I added the rest of the random test cases and I started running benchmarks towards the producer/consumer implementation. I have to admit that I spent way too much time on this. At the end I just modified it a little bit and improved performance just a little bit by changing a few of the data structures used for the matching. Regarding multi-threading I added an array of monitors, one for each women so that multiple threads can propose to different women concurrently.\r\n\r\nI wanted to see how was the performance in the worst case so I implemented the worst case generator too. I generated test cases and added a new benchmark class for them.\r\n\r\nFinally I refactored benchmarks to take as parameter of each the file name, this way we only have 3 benchmark classes (Worst, Best, Random).\r\n\r\nIf you want to play further with the benchmarking framework I recommend to follow the [samples](http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/)\r\n\r\nRunning the whole benchmark suite takes around 24 minutes now, so you might want to comment out some of the params or `@Benchmark` annotations to reduce running time.","created_at":"2018-11-25T18:06:49Z","updated_at":"2018-11-25T20:38:49Z","closed_at":"2018-11-25T20:38:49Z","merged_at":"2018-11-25T20:38:49Z","merge_commit_sha":"995b8fbd02bb2027d116fa3af0e94a364c207a8b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"flak123","id":15313961,"node_id":"MDQ6VXNlcjE1MzEzOTYx","avatar_url":"https://avatars0.githubusercontent.com/u/15313961?v=4","gravatar_id":"","url":"https://api.github.com/users/flak123","html_url":"https://github.com/flak123","followers_url":"https://api.github.com/users/flak123/followers","following_url":"https://api.github.com/users/flak123/following{/other_user}","gists_url":"https://api.github.com/users/flak123/gists{/gist_id}","starred_url":"https://api.github.com/users/flak123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flak123/subscriptions","organizations_url":"https://api.github.com/users/flak123/orgs","repos_url":"https://api.github.com/users/flak123/repos","events_url":"https://api.github.com/users/flak123/events{/privacy}","received_events_url":"https://api.github.com/users/flak123/received_events","type":"User","site_admin":false},{"login":"jvalenzuelaochoa","id":43353937,"node_id":"MDQ6VXNlcjQzMzUzOTM3","avatar_url":"https://avatars0.githubusercontent.com/u/43353937?v=4","gravatar_id":"","url":"https://api.github.com/users/jvalenzuelaochoa","html_url":"https://github.com/jvalenzuelaochoa","followers_url":"https://api.github.com/users/jvalenzuelaochoa/followers","following_url":"https://api.github.com/users/jvalenzuelaochoa/following{/other_user}","gists_url":"https://api.github.com/users/jvalenzuelaochoa/gists{/gist_id}","starred_url":"https://api.github.com/users/jvalenzuelaochoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvalenzuelaochoa/subscriptions","organizations_url":"https://api.github.com/users/jvalenzuelaochoa/orgs","repos_url":"https://api.github.com/users/jvalenzuelaochoa/repos","events_url":"https://api.github.com/users/jvalenzuelaochoa/events{/privacy}","received_events_url":"https://api.github.com/users/jvalenzuelaochoa/received_events","type":"User","site_admin":false},{"login":"azeid","id":44010260,"node_id":"MDQ6VXNlcjQ0MDEwMjYw","avatar_url":"https://avatars2.githubusercontent.com/u/44010260?v=4","gravatar_id":"","url":"https://api.github.com/users/azeid","html_url":"https://github.com/azeid","followers_url":"https://api.github.com/users/azeid/followers","following_url":"https://api.github.com/users/azeid/following{/other_user}","gists_url":"https://api.github.com/users/azeid/gists{/gist_id}","starred_url":"https://api.github.com/users/azeid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azeid/subscriptions","organizations_url":"https://api.github.com/users/azeid/orgs","repos_url":"https://api.github.com/users/azeid/repos","events_url":"https://api.github.com/users/azeid/events{/privacy}","received_events_url":"https://api.github.com/users/azeid/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/azeid/StableMatchingParallel/pulls/5/commits","review_comments_url":"https://api.github.com/repos/azeid/StableMatchingParallel/pulls/5/comments","review_comment_url":"https://api.github.com/repos/azeid/StableMatchingParallel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azeid/StableMatchingParallel/issues/5/comments","statuses_url":"https://api.github.com/repos/azeid/StableMatchingParallel/statuses/cfde5dffabbe3df3698dc73b5265624ebb0c29b7","head":{"label":"azeid:increasing-parallelism-pc","ref":"increasing-parallelism-pc","sha":"cfde5dffabbe3df3698dc73b5265624ebb0c29b7","user":{"login":"azeid","id":44010260,"node_id":"MDQ6VXNlcjQ0MDEwMjYw","avatar_url":"https://avatars2.githubusercontent.com/u/44010260?v=4","gravatar_id":"","url":"https://api.github.com/users/azeid","html_url":"https://github.com/azeid","followers_url":"https://api.github.com/users/azeid/followers","following_url":"https://api.github.com/users/azeid/following{/other_user}","gists_url":"https://api.github.com/users/azeid/gists{/gist_id}","starred_url":"https://api.github.com/users/azeid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azeid/subscriptions","organizations_url":"https://api.github.com/users/azeid/orgs","repos_url":"https://api.github.com/users/azeid/repos","events_url":"https://api.github.com/users/azeid/events{/privacy}","received_events_url":"https://api.github.com/users/azeid/received_events","type":"User","site_admin":false},"repo":{"id":157133592,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcxMzM1OTI=","name":"StableMatchingParallel","full_name":"azeid/StableMatchingParallel","private":false,"owner":{"login":"azeid","id":44010260,"node_id":"MDQ6VXNlcjQ0MDEwMjYw","avatar_url":"https://avatars2.githubusercontent.com/u/44010260?v=4","gravatar_id":"","url":"https://api.github.com/users/azeid","html_url":"https://github.com/azeid","followers_url":"https://api.github.com/users/azeid/followers","following_url":"https://api.github.com/users/azeid/following{/other_user}","gists_url":"https://api.github.com/users/azeid/gists{/gist_id}","starred_url":"https://api.github.com/users/azeid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azeid/subscriptions","organizations_url":"https://api.github.com/users/azeid/orgs","repos_url":"https://api.github.com/users/azeid/repos","events_url":"https://api.github.com/users/azeid/events{/privacy}","received_events_url":"https://api.github.com/users/azeid/received_events","type":"User","site_admin":false},"html_url":"https://github.com/azeid/StableMatchingParallel","description":"This repository contains stable matching parallel algorithm implementation","fork":false,"url":"https://api.github.com/repos/azeid/StableMatchingParallel","forks_url":"https://api.github.com/repos/azeid/StableMatchingParallel/forks","keys_url":"https://api.github.com/repos/azeid/StableMatchingParallel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azeid/StableMatchingParallel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azeid/StableMatchingParallel/teams","hooks_url":"https://api.github.com/repos/azeid/StableMatchingParallel/hooks","issue_events_url":"https://api.github.com/repos/azeid/StableMatchingParallel/issues/events{/number}","events_url":"https://api.github.com/repos/azeid/StableMatchingParallel/events","assignees_url":"https://api.github.com/repos/azeid/StableMatchingParallel/assignees{/user}","branches_url":"https://api.github.com/repos/azeid/StableMatchingParallel/branches{/branch}","tags_url":"https://api.github.com/repos/azeid/StableMatchingParallel/tags","blobs_url":"https://api.github.com/repos/azeid/StableMatchingParallel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azeid/StableMatchingParallel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azeid/StableMatchingParallel/git/refs{/sha}","trees_url":"https://api.github.com/repos/azeid/StableMatchingParallel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azeid/StableMatchingParallel/statuses/{sha}","languages_url":"https://api.github.com/repos/azeid/StableMatchingParallel/languages","stargazers_url":"https://api.github.com/repos/azeid/StableMatchingParallel/stargazers","contributors_url":"https://api.github.com/repos/azeid/StableMatchingParallel/contributors","subscribers_url":"https://api.github.com/repos/azeid/StableMatchingParallel/subscribers","subscription_url":"https://api.github.com/repos/azeid/StableMatchingParallel/subscription","commits_url":"https://api.github.com/repos/azeid/StableMatchingParallel/commits{/sha}","git_commits_url":"https://api.github.com/repos/azeid/StableMatchingParallel/git/commits{/sha}","comments_url":"https://api.github.com/repos/azeid/StableMatchingParallel/comments{/number}","issue_comment_url":"https://api.github.com/repos/azeid/StableMatchingParallel/issues/comments{/number}","contents_url":"https://api.github.com/repos/azeid/StableMatchingParallel/contents/{+path}","compare_url":"https://api.github.com/repos/azeid/StableMatchingParallel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azeid/StableMatchingParallel/merges","archive_url":"https://api.github.com/repos/azeid/StableMatchingParallel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azeid/StableMatchingParallel/downloads","issues_url":"https://api.github.com/repos/azeid/StableMatchingParallel/issues{/number}","pulls_url":"https://api.github.com/repos/azeid/StableMatchingParallel/pulls{/number}","milestones_url":"https://api.github.com/repos/azeid/StableMatchingParallel/milestones{/number}","notifications_url":"https://api.github.com/repos/azeid/StableMatchingParallel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azeid/StableMatchingParallel/labels{/name}","releases_url":"https://api.github.com/repos/azeid/StableMatchingParallel/releases{/id}","deployments_url":"https://api.github.com/repos/azeid/StableMatchingParallel/deployments","created_at":"2018-11-12T00:01:30Z","updated_at":"2018-11-25T00:34:00Z","pushed_at":"2018-11-25T20:38:49Z","git_url":"git://github.com/azeid/StableMatchingParallel.git","ssh_url":"git@github.com:azeid/StableMatchingParallel.git","clone_url":"https://github.com/azeid/StableMatchingParallel.git","svn_url":"https://github.com/azeid/StableMatchingParallel","homepage":null,"size":3453,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"azeid:master","ref":"master","sha":"4fdde03fd5297f9144b081767e3e133159ea4e55","user":{"login":"azeid","id":44010260,"node_id":"MDQ6VXNlcjQ0MDEwMjYw","avatar_url":"https://avatars2.githubusercontent.com/u/44010260?v=4","gravatar_id":"","url":"https://api.github.com/users/azeid","html_url":"https://github.com/azeid","followers_url":"https://api.github.com/users/azeid/followers","following_url":"https://api.github.com/users/azeid/following{/other_user}","gists_url":"https://api.github.com/users/azeid/gists{/gist_id}","starred_url":"https://api.github.com/users/azeid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azeid/subscriptions","organizations_url":"https://api.github.com/users/azeid/orgs","repos_url":"https://api.github.com/users/azeid/repos","events_url":"https://api.github.com/users/azeid/events{/privacy}","received_events_url":"https://api.github.com/users/azeid/received_events","type":"User","site_admin":false},"repo":{"id":157133592,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcxMzM1OTI=","name":"StableMatchingParallel","full_name":"azeid/StableMatchingParallel","private":false,"owner":{"login":"azeid","id":44010260,"node_id":"MDQ6VXNlcjQ0MDEwMjYw","avatar_url":"https://avatars2.githubusercontent.com/u/44010260?v=4","gravatar_id":"","url":"https://api.github.com/users/azeid","html_url":"https://github.com/azeid","followers_url":"https://api.github.com/users/azeid/followers","following_url":"https://api.github.com/users/azeid/following{/other_user}","gists_url":"https://api.github.com/users/azeid/gists{/gist_id}","starred_url":"https://api.github.com/users/azeid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azeid/subscriptions","organizations_url":"https://api.github.com/users/azeid/orgs","repos_url":"https://api.github.com/users/azeid/repos","events_url":"https://api.github.com/users/azeid/events{/privacy}","received_events_url":"https://api.github.com/users/azeid/received_events","type":"User","site_admin":false},"html_url":"https://github.com/azeid/StableMatchingParallel","description":"This repository contains stable matching parallel algorithm implementation","fork":false,"url":"https://api.github.com/repos/azeid/StableMatchingParallel","forks_url":"https://api.github.com/repos/azeid/StableMatchingParallel/forks","keys_url":"https://api.github.com/repos/azeid/StableMatchingParallel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azeid/StableMatchingParallel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azeid/StableMatchingParallel/teams","hooks_url":"https://api.github.com/repos/azeid/StableMatchingParallel/hooks","issue_events_url":"https://api.github.com/repos/azeid/StableMatchingParallel/issues/events{/number}","events_url":"https://api.github.com/repos/azeid/StableMatchingParallel/events","assignees_url":"https://api.github.com/repos/azeid/StableMatchingParallel/assignees{/user}","branches_url":"https://api.github.com/repos/azeid/StableMatchingParallel/branches{/branch}","tags_url":"https://api.github.com/repos/azeid/StableMatchingParallel/tags","blobs_url":"https://api.github.com/repos/azeid/StableMatchingParallel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azeid/StableMatchingParallel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azeid/StableMatchingParallel/git/refs{/sha}","trees_url":"https://api.github.com/repos/azeid/StableMatchingParallel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azeid/StableMatchingParallel/statuses/{sha}","languages_url":"https://api.github.com/repos/azeid/StableMatchingParallel/languages","stargazers_url":"https://api.github.com/repos/azeid/StableMatchingParallel/stargazers","contributors_url":"https://api.github.com/repos/azeid/StableMatchingParallel/contributors","subscribers_url":"https://api.github.com/repos/azeid/StableMatchingParallel/subscribers","subscription_url":"https://api.github.com/repos/azeid/StableMatchingParallel/subscription","commits_url":"https://api.github.com/repos/azeid/StableMatchingParallel/commits{/sha}","git_commits_url":"https://api.github.com/repos/azeid/StableMatchingParallel/git/commits{/sha}","comments_url":"https://api.github.com/repos/azeid/StableMatchingParallel/comments{/number}","issue_comment_url":"https://api.github.com/repos/azeid/StableMatchingParallel/issues/comments{/number}","contents_url":"https://api.github.com/repos/azeid/StableMatchingParallel/contents/{+path}","compare_url":"https://api.github.com/repos/azeid/StableMatchingParallel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azeid/StableMatchingParallel/merges","archive_url":"https://api.github.com/repos/azeid/StableMatchingParallel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azeid/StableMatchingParallel/downloads","issues_url":"https://api.github.com/repos/azeid/StableMatchingParallel/issues{/number}","pulls_url":"https://api.github.com/repos/azeid/StableMatchingParallel/pulls{/number}","milestones_url":"https://api.github.com/repos/azeid/StableMatchingParallel/milestones{/number}","notifications_url":"https://api.github.com/repos/azeid/StableMatchingParallel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azeid/StableMatchingParallel/labels{/name}","releases_url":"https://api.github.com/repos/azeid/StableMatchingParallel/releases{/id}","deployments_url":"https://api.github.com/repos/azeid/StableMatchingParallel/deployments","created_at":"2018-11-12T00:01:30Z","updated_at":"2018-11-25T00:34:00Z","pushed_at":"2018-11-25T20:38:49Z","git_url":"git://github.com/azeid/StableMatchingParallel.git","ssh_url":"git@github.com:azeid/StableMatchingParallel.git","clone_url":"https://github.com/azeid/StableMatchingParallel.git","svn_url":"https://github.com/azeid/StableMatchingParallel","homepage":null,"size":3453,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/azeid/StableMatchingParallel/pulls/5"},"html":{"href":"https://github.com/azeid/StableMatchingParallel/pull/5"},"issue":{"href":"https://api.github.com/repos/azeid/StableMatchingParallel/issues/5"},"comments":{"href":"https://api.github.com/repos/azeid/StableMatchingParallel/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/azeid/StableMatchingParallel/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/azeid/StableMatchingParallel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azeid/StableMatchingParallel/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/azeid/StableMatchingParallel/statuses/cfde5dffabbe3df3698dc73b5265624ebb0c29b7"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"azeid","id":44010260,"node_id":"MDQ6VXNlcjQ0MDEwMjYw","avatar_url":"https://avatars2.githubusercontent.com/u/44010260?v=4","gravatar_id":"","url":"https://api.github.com/users/azeid","html_url":"https://github.com/azeid","followers_url":"https://api.github.com/users/azeid/followers","following_url":"https://api.github.com/users/azeid/following{/other_user}","gists_url":"https://api.github.com/users/azeid/gists{/gist_id}","starred_url":"https://api.github.com/users/azeid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azeid/subscriptions","organizations_url":"https://api.github.com/users/azeid/orgs","repos_url":"https://api.github.com/users/azeid/repos","events_url":"https://api.github.com/users/azeid/events{/privacy}","received_events_url":"https://api.github.com/users/azeid/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":7462,"deletions":98,"changed_files":16}}
{"actor":{"display_login":"azeid"}}