{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/pulls/40","id":55532049,"html_url":"https://github.com/johnmyleswhite/Benchmarks.jl/pull/40","diff_url":"https://github.com/johnmyleswhite/Benchmarks.jl/pull/40.diff","patch_url":"https://github.com/johnmyleswhite/Benchmarks.jl/pull/40.patch","issue_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/issues/40","number":40,"state":"open","locked":false,"title":"run garbage collector before running a benchmark","user":{"login":"KristofferC","id":1282691,"avatar_url":"https://avatars.githubusercontent.com/u/1282691?v=3","gravatar_id":"","url":"https://api.github.com/users/KristofferC","html_url":"https://github.com/KristofferC","followers_url":"https://api.github.com/users/KristofferC/followers","following_url":"https://api.github.com/users/KristofferC/following{/other_user}","gists_url":"https://api.github.com/users/KristofferC/gists{/gist_id}","starred_url":"https://api.github.com/users/KristofferC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristofferC/subscriptions","organizations_url":"https://api.github.com/users/KristofferC/orgs","repos_url":"https://api.github.com/users/KristofferC/repos","events_url":"https://api.github.com/users/KristofferC/events{/privacy}","received_events_url":"https://api.github.com/users/KristofferC/received_events","type":"User","site_admin":false},"body":"My thinking is that if we are close to a garbage collection when we start a new benchmark this means that allocations that happened outside the benchmark leaks into the benchmark results. By explicitly calling `gc()` from the most outer function we should start with a \"clean slate\".","created_at":"2016-01-09T02:04:08Z","updated_at":"2016-01-09T02:04:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/pulls/40/commits","review_comments_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/pulls/40/comments","review_comment_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/issues/40/comments","statuses_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/statuses/ae4f92d42b8ed891d0cd37519bb37c738f40ebdb","head":{"label":"KristofferC:patch-3","ref":"patch-3","sha":"ae4f92d42b8ed891d0cd37519bb37c738f40ebdb","user":{"login":"KristofferC","id":1282691,"avatar_url":"https://avatars.githubusercontent.com/u/1282691?v=3","gravatar_id":"","url":"https://api.github.com/users/KristofferC","html_url":"https://github.com/KristofferC","followers_url":"https://api.github.com/users/KristofferC/followers","following_url":"https://api.github.com/users/KristofferC/following{/other_user}","gists_url":"https://api.github.com/users/KristofferC/gists{/gist_id}","starred_url":"https://api.github.com/users/KristofferC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristofferC/subscriptions","organizations_url":"https://api.github.com/users/KristofferC/orgs","repos_url":"https://api.github.com/users/KristofferC/repos","events_url":"https://api.github.com/users/KristofferC/events{/privacy}","received_events_url":"https://api.github.com/users/KristofferC/received_events","type":"User","site_admin":false},"repo":{"id":49304122,"name":"Benchmarks.jl","full_name":"KristofferC/Benchmarks.jl","owner":{"login":"KristofferC","id":1282691,"avatar_url":"https://avatars.githubusercontent.com/u/1282691?v=3","gravatar_id":"","url":"https://api.github.com/users/KristofferC","html_url":"https://github.com/KristofferC","followers_url":"https://api.github.com/users/KristofferC/followers","following_url":"https://api.github.com/users/KristofferC/following{/other_user}","gists_url":"https://api.github.com/users/KristofferC/gists{/gist_id}","starred_url":"https://api.github.com/users/KristofferC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristofferC/subscriptions","organizations_url":"https://api.github.com/users/KristofferC/orgs","repos_url":"https://api.github.com/users/KristofferC/repos","events_url":"https://api.github.com/users/KristofferC/events{/privacy}","received_events_url":"https://api.github.com/users/KristofferC/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KristofferC/Benchmarks.jl","description":"A new benchmarking library for Julia","fork":true,"url":"https://api.github.com/repos/KristofferC/Benchmarks.jl","forks_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/forks","keys_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/teams","hooks_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/hooks","issue_events_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/issues/events{/number}","events_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/events","assignees_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/assignees{/user}","branches_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/branches{/branch}","tags_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/tags","blobs_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/languages","stargazers_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/stargazers","contributors_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/contributors","subscribers_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/subscribers","subscription_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/subscription","commits_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/contents/{+path}","compare_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/merges","archive_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/downloads","issues_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/issues{/number}","pulls_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/labels{/name}","releases_url":"https://api.github.com/repos/KristofferC/Benchmarks.jl/releases{/id}","created_at":"2016-01-09T00:23:49Z","updated_at":"2016-01-09T00:23:49Z","pushed_at":"2016-01-09T02:03:42Z","git_url":"git://github.com/KristofferC/Benchmarks.jl.git","ssh_url":"git@github.com:KristofferC/Benchmarks.jl.git","clone_url":"https://github.com/KristofferC/Benchmarks.jl.git","svn_url":"https://github.com/KristofferC/Benchmarks.jl","homepage":null,"size":81,"stargazers_count":0,"watchers_count":0,"language":"Julia","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":"johnmyleswhite:master","ref":"master","sha":"3b0e77ba09fbc7cb433a4813bdd1569acd8ff4bf","user":{"login":"johnmyleswhite","id":22064,"avatar_url":"https://avatars.githubusercontent.com/u/22064?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmyleswhite","html_url":"https://github.com/johnmyleswhite","followers_url":"https://api.github.com/users/johnmyleswhite/followers","following_url":"https://api.github.com/users/johnmyleswhite/following{/other_user}","gists_url":"https://api.github.com/users/johnmyleswhite/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmyleswhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmyleswhite/subscriptions","organizations_url":"https://api.github.com/users/johnmyleswhite/orgs","repos_url":"https://api.github.com/users/johnmyleswhite/repos","events_url":"https://api.github.com/users/johnmyleswhite/events{/privacy}","received_events_url":"https://api.github.com/users/johnmyleswhite/received_events","type":"User","site_admin":false},"repo":{"id":37509027,"name":"Benchmarks.jl","full_name":"johnmyleswhite/Benchmarks.jl","owner":{"login":"johnmyleswhite","id":22064,"avatar_url":"https://avatars.githubusercontent.com/u/22064?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmyleswhite","html_url":"https://github.com/johnmyleswhite","followers_url":"https://api.github.com/users/johnmyleswhite/followers","following_url":"https://api.github.com/users/johnmyleswhite/following{/other_user}","gists_url":"https://api.github.com/users/johnmyleswhite/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmyleswhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmyleswhite/subscriptions","organizations_url":"https://api.github.com/users/johnmyleswhite/orgs","repos_url":"https://api.github.com/users/johnmyleswhite/repos","events_url":"https://api.github.com/users/johnmyleswhite/events{/privacy}","received_events_url":"https://api.github.com/users/johnmyleswhite/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnmyleswhite/Benchmarks.jl","description":"A new benchmarking library for Julia","fork":false,"url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl","forks_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/forks","keys_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/teams","hooks_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/hooks","issue_events_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/issues/events{/number}","events_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/events","assignees_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/assignees{/user}","branches_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/branches{/branch}","tags_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/tags","blobs_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/languages","stargazers_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/stargazers","contributors_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/contributors","subscribers_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/subscribers","subscription_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/subscription","commits_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/contents/{+path}","compare_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/merges","archive_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/downloads","issues_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/issues{/number}","pulls_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/labels{/name}","releases_url":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/releases{/id}","created_at":"2015-06-16T05:00:51Z","updated_at":"2016-01-07T21:24:51Z","pushed_at":"2016-01-07T04:23:17Z","git_url":"git://github.com/johnmyleswhite/Benchmarks.jl.git","ssh_url":"git@github.com:johnmyleswhite/Benchmarks.jl.git","clone_url":"https://github.com/johnmyleswhite/Benchmarks.jl.git","svn_url":"https://github.com/johnmyleswhite/Benchmarks.jl","homepage":null,"size":61,"stargazers_count":34,"watchers_count":34,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":8,"forks":13,"open_issues":8,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/pulls/40"},"html":{"href":"https://github.com/johnmyleswhite/Benchmarks.jl/pull/40"},"issue":{"href":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/issues/40"},"comments":{"href":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/johnmyleswhite/Benchmarks.jl/statuses/ae4f92d42b8ed891d0cd37519bb37c738f40ebdb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}