{"action":"closed","number":468,"pull_request":{"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls/468","id":84108380,"html_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/468","diff_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/468.diff","patch_url":"https://github.com/JimBobSquarePants/ImageProcessor/pull/468.patch","issue_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/468","number":468,"state":"closed","locked":false,"title":"added Buffer.MemoryCopy to ArrayCopy benchmarks","user":{"login":"adamsitnik","id":6011991,"avatar_url":"https://avatars.githubusercontent.com/u/6011991?v=3","gravatar_id":"","url":"https://api.github.com/users/adamsitnik","html_url":"https://github.com/adamsitnik","followers_url":"https://api.github.com/users/adamsitnik/followers","following_url":"https://api.github.com/users/adamsitnik/following{/other_user}","gists_url":"https://api.github.com/users/adamsitnik/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsitnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsitnik/subscriptions","organizations_url":"https://api.github.com/users/adamsitnik/orgs","repos_url":"https://api.github.com/users/adamsitnik/repos","events_url":"https://api.github.com/users/adamsitnik/events{/privacy}","received_events_url":"https://api.github.com/users/adamsitnik/received_events","type":"User","site_admin":false},"body":"I added `Buffer.MemoryCopy` to benchmarks and also fixed the way `Unsafe` was used. \r\n\r\n```ini\r\n\r\nHost Process Environment Information:\r\nBenchmarkDotNet-Dev.Core=v0.9.9.0\r\nOS=Microsoft Windows NT 6.2.9200.0\r\nProcessor=Intel(R) Core(TM) i7-4700MQ CPU 2.40GHz, ProcessorCount=8\r\nFrequency=2338336 ticks, Resolution=427.6545 ns, Timer=TSC\r\nCLR=MS.NET 4.0.30319.42000, Arch=64-bit RELEASE [RyuJIT]\r\nGC=Concurrent Workstation\r\nJitModules=clrjit-v4.6.1055.0\r\n\r\nType=ArrayCopy  Mode=Throughput  \r\n\r\n```\r\n                          Method | Count |      Median |     StdDev | Scaled | Scaled-SD | Gen 0 | Gen 1 | Gen 2 | Bytes Allocated/Op |\r\n-------------------------------- |------ |------------ |----------- |------- |---------- |------ |------ |------ |------------------- |\r\n         **Copy using Array.Copy()** |   **100** |  **30.5768 ns** |  **0.1895 ns** |   **1.00** |      **0.00** |     **-** |     **-** |     **-** |               **0,00** |\r\n            Copy using Unsafe<T> |   100 |  10.0101 ns |  0.3138 ns |   0.33 |      0.01 |     - |     - |     - |               0,00 |\r\n Copy using Buffer.MemoryCopy<T> |   100 |  10.4664 ns |  0.4898 ns |   0.35 |      0.02 |     - |     - |     - |               0,00 |\r\n         **Copy using Array.Copy()** |  **1000** |  **41.5319 ns** |  **4.1919 ns** |   **1.00** |      **0.00** |     **-** |     **-** |     **-** |               **0,00** |\r\n            Copy using Unsafe<T> |  1000 |  43.0451 ns |  2.0176 ns |   1.03 |      0.10 |     - |     - |     - |               0,00 |\r\n Copy using Buffer.MemoryCopy<T> |  1000 |  41.5373 ns |  6.3491 ns |   0.98 |      0.17 |     - |     - |     - |               0,00 |\r\n         **Copy using Array.Copy()** | **10000** | **215.7254 ns** | **28.6357 ns** |   **1.00** |      **0.00** |     **-** |     **-** |     **-** |               **0,06** |\r\n            Copy using Unsafe<T> | 10000 | 405.6742 ns |  9.6347 ns |   2.06 |      0.35 |     - |     - |     - |               0,11 |\r\n Copy using Buffer.MemoryCopy<T> | 10000 | 210.8156 ns | 30.6141 ns |   0.98 |      0.23 |     - |     - |     - |               0,06 |\r\n","created_at":"2016-09-06T11:53:20Z","updated_at":"2016-09-06T12:38:22Z","closed_at":"2016-09-06T12:38:21Z","merged_at":"2016-09-06T12:38:21Z","merge_commit_sha":"76c030a3340f0f8ccf19121a73f229477f14fef1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls/468/commits","review_comments_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls/468/comments","review_comment_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/468/comments","statuses_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/statuses/b9a1e1984fcfb6fc9de15c34d8974d6c2e4cae33","head":{"label":"adamsitnik:bufferMemoryCopy","ref":"bufferMemoryCopy","sha":"b9a1e1984fcfb6fc9de15c34d8974d6c2e4cae33","user":{"login":"adamsitnik","id":6011991,"avatar_url":"https://avatars.githubusercontent.com/u/6011991?v=3","gravatar_id":"","url":"https://api.github.com/users/adamsitnik","html_url":"https://github.com/adamsitnik","followers_url":"https://api.github.com/users/adamsitnik/followers","following_url":"https://api.github.com/users/adamsitnik/following{/other_user}","gists_url":"https://api.github.com/users/adamsitnik/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsitnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsitnik/subscriptions","organizations_url":"https://api.github.com/users/adamsitnik/orgs","repos_url":"https://api.github.com/users/adamsitnik/repos","events_url":"https://api.github.com/users/adamsitnik/events{/privacy}","received_events_url":"https://api.github.com/users/adamsitnik/received_events","type":"User","site_admin":false},"repo":{"id":63418233,"name":"ImageProcessor","full_name":"adamsitnik/ImageProcessor","owner":{"login":"adamsitnik","id":6011991,"avatar_url":"https://avatars.githubusercontent.com/u/6011991?v=3","gravatar_id":"","url":"https://api.github.com/users/adamsitnik","html_url":"https://github.com/adamsitnik","followers_url":"https://api.github.com/users/adamsitnik/followers","following_url":"https://api.github.com/users/adamsitnik/following{/other_user}","gists_url":"https://api.github.com/users/adamsitnik/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsitnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsitnik/subscriptions","organizations_url":"https://api.github.com/users/adamsitnik/orgs","repos_url":"https://api.github.com/users/adamsitnik/repos","events_url":"https://api.github.com/users/adamsitnik/events{/privacy}","received_events_url":"https://api.github.com/users/adamsitnik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamsitnik/ImageProcessor","description":":camera: A cross-platform library for processing of image files written in C#","fork":true,"url":"https://api.github.com/repos/adamsitnik/ImageProcessor","forks_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/forks","keys_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/teams","hooks_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/hooks","issue_events_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/issues/events{/number}","events_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/events","assignees_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/assignees{/user}","branches_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/branches{/branch}","tags_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/tags","blobs_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/statuses/{sha}","languages_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/languages","stargazers_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/stargazers","contributors_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/contributors","subscribers_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/subscribers","subscription_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/subscription","commits_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/contents/{+path}","compare_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/merges","archive_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/downloads","issues_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/issues{/number}","pulls_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/pulls{/number}","milestones_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/milestones{/number}","notifications_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/labels{/name}","releases_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/releases{/id}","deployments_url":"https://api.github.com/repos/adamsitnik/ImageProcessor/deployments","created_at":"2016-07-15T11:53:16Z","updated_at":"2016-07-15T11:53:18Z","pushed_at":"2016-09-06T11:49:28Z","git_url":"git://github.com/adamsitnik/ImageProcessor.git","ssh_url":"git@github.com:adamsitnik/ImageProcessor.git","clone_url":"https://github.com/adamsitnik/ImageProcessor.git","svn_url":"https://github.com/adamsitnik/ImageProcessor","homepage":"http://imageprocessor.org","size":426124,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"Core"}},"base":{"label":"JimBobSquarePants:Core","ref":"Core","sha":"f4c7cb3a87ffdf88a55339c10967c8b35225c37a","user":{"login":"JimBobSquarePants","id":385879,"avatar_url":"https://avatars.githubusercontent.com/u/385879?v=3","gravatar_id":"","url":"https://api.github.com/users/JimBobSquarePants","html_url":"https://github.com/JimBobSquarePants","followers_url":"https://api.github.com/users/JimBobSquarePants/followers","following_url":"https://api.github.com/users/JimBobSquarePants/following{/other_user}","gists_url":"https://api.github.com/users/JimBobSquarePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JimBobSquarePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimBobSquarePants/subscriptions","organizations_url":"https://api.github.com/users/JimBobSquarePants/orgs","repos_url":"https://api.github.com/users/JimBobSquarePants/repos","events_url":"https://api.github.com/users/JimBobSquarePants/events{/privacy}","received_events_url":"https://api.github.com/users/JimBobSquarePants/received_events","type":"User","site_admin":false},"repo":{"id":4471160,"name":"ImageProcessor","full_name":"JimBobSquarePants/ImageProcessor","owner":{"login":"JimBobSquarePants","id":385879,"avatar_url":"https://avatars.githubusercontent.com/u/385879?v=3","gravatar_id":"","url":"https://api.github.com/users/JimBobSquarePants","html_url":"https://github.com/JimBobSquarePants","followers_url":"https://api.github.com/users/JimBobSquarePants/followers","following_url":"https://api.github.com/users/JimBobSquarePants/following{/other_user}","gists_url":"https://api.github.com/users/JimBobSquarePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JimBobSquarePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimBobSquarePants/subscriptions","organizations_url":"https://api.github.com/users/JimBobSquarePants/orgs","repos_url":"https://api.github.com/users/JimBobSquarePants/repos","events_url":"https://api.github.com/users/JimBobSquarePants/events{/privacy}","received_events_url":"https://api.github.com/users/JimBobSquarePants/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JimBobSquarePants/ImageProcessor","description":":camera: A cross-platform library for processing of image files written in C#","fork":false,"url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor","forks_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/forks","keys_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/teams","hooks_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/hooks","issue_events_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/events{/number}","events_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/events","assignees_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/assignees{/user}","branches_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/branches{/branch}","tags_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/tags","blobs_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/git/refs{/sha}","trees_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/statuses/{sha}","languages_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/languages","stargazers_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/stargazers","contributors_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/contributors","subscribers_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/subscribers","subscription_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/subscription","commits_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/commits{/sha}","git_commits_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/git/commits{/sha}","comments_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/comments{/number}","issue_comment_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/comments{/number}","contents_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/contents/{+path}","compare_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/merges","archive_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/downloads","issues_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues{/number}","pulls_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls{/number}","milestones_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/milestones{/number}","notifications_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/labels{/name}","releases_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/releases{/id}","deployments_url":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/deployments","created_at":"2012-05-28T14:11:35Z","updated_at":"2016-09-06T11:54:59Z","pushed_at":"2016-09-06T12:38:21Z","git_url":"git://github.com/JimBobSquarePants/ImageProcessor.git","ssh_url":"git@github.com:JimBobSquarePants/ImageProcessor.git","clone_url":"https://github.com/JimBobSquarePants/ImageProcessor.git","svn_url":"https://github.com/JimBobSquarePants/ImageProcessor","homepage":"http://imageprocessor.org","size":452254,"stargazers_count":1242,"watchers_count":1242,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":300,"mirror_url":null,"open_issues_count":26,"forks":300,"open_issues":26,"watchers":1242,"default_branch":"Core"}},"_links":{"self":{"href":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls/468"},"html":{"href":"https://github.com/JimBobSquarePants/ImageProcessor/pull/468"},"issue":{"href":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/468"},"comments":{"href":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/issues/468/comments"},"review_comments":{"href":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls/468/comments"},"review_comment":{"href":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/pulls/468/commits"},"statuses":{"href":"https://api.github.com/repos/JimBobSquarePants/ImageProcessor/statuses/b9a1e1984fcfb6fc9de15c34d8974d6c2e4cae33"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"JimBobSquarePants","id":385879,"avatar_url":"https://avatars.githubusercontent.com/u/385879?v=3","gravatar_id":"","url":"https://api.github.com/users/JimBobSquarePants","html_url":"https://github.com/JimBobSquarePants","followers_url":"https://api.github.com/users/JimBobSquarePants/followers","following_url":"https://api.github.com/users/JimBobSquarePants/following{/other_user}","gists_url":"https://api.github.com/users/JimBobSquarePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JimBobSquarePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimBobSquarePants/subscriptions","organizations_url":"https://api.github.com/users/JimBobSquarePants/orgs","repos_url":"https://api.github.com/users/JimBobSquarePants/repos","events_url":"https://api.github.com/users/JimBobSquarePants/events{/privacy}","received_events_url":"https://api.github.com/users/JimBobSquarePants/received_events","type":"User","site_admin":false},"comments":0,"review_comments":6,"commits":1,"additions":30,"deletions":11,"changed_files":1}}
{"actor":{"display_login":"JimBobSquarePants"}}