{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/1009","repository_url":"https://api.github.com/repos/aspnet/KestrelHttpServer","labels_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/1009/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/1009/comments","events_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/1009/events","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/1009","id":167119525,"number":1009,"title":"Only allocate key string when unknown","user":{"login":"benaadams","id":1142958,"avatar_url":"https://avatars.githubusercontent.com/u/1142958?v=3","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-22T19:53:17Z","updated_at":"2016-07-22T21:46:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/pulls/1009","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/1009","diff_url":"https://github.com/aspnet/KestrelHttpServer/pull/1009.diff","patch_url":"https://github.com/aspnet/KestrelHttpServer/pull/1009.patch"},"body":"Don't allocate a key string (which then isn't used) for known keys. (Cuts out 42% of string allocations - will be lower % with more headers as the value is still allocated)\r\n\r\nBefore\r\n![unnecessary-allocations](https://aoa.blob.core.windows.net/aspnet/string-allocs.png)\r\nAfter\r\n![removed-unnecessary-allocations](https://aoa.blob.core.windows.net/aspnet/string-allocs-2.png)\r\nString allocs are now only x4 higher than other things\r\n![total-allocations](https://aoa.blob.core.windows.net/aspnet/string-allocs-3.png)\r\n\r\nResolves https://github.com/aspnet/KestrelHttpServer/issues/1011\r\n\r\n/cc @halter73"},"comment":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/comments/234665057","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/1009#issuecomment-234665057","issue_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/1009","id":234665057,"user":{"login":"mikeharder","id":9459391,"avatar_url":"https://avatars.githubusercontent.com/u/9459391?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeharder","html_url":"https://github.com/mikeharder","followers_url":"https://api.github.com/users/mikeharder/followers","following_url":"https://api.github.com/users/mikeharder/following{/other_user}","gists_url":"https://api.github.com/users/mikeharder/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeharder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeharder/subscriptions","organizations_url":"https://api.github.com/users/mikeharder/orgs","repos_url":"https://api.github.com/users/mikeharder/repos","events_url":"https://api.github.com/users/mikeharder/events{/privacy}","received_events_url":"https://api.github.com/users/mikeharder/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T21:46:37Z","updated_at":"2016-07-22T21:46:37Z","body":":shipit: \r\n"}}
{"actor":{"display_login":"mikeharder"}}