{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/423","labels_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/423/comments","events_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/423/events","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/423","id":118518735,"number":423,"title":"Micro optimizations","user":{"login":"niemyjski","id":1020579,"avatar_url":"https://avatars.githubusercontent.com/u/1020579?v=3","gravatar_id":"","url":"https://api.github.com/users/niemyjski","html_url":"https://github.com/niemyjski","followers_url":"https://api.github.com/users/niemyjski/followers","following_url":"https://api.github.com/users/niemyjski/following{/other_user}","gists_url":"https://api.github.com/users/niemyjski/gists{/gist_id}","starred_url":"https://api.github.com/users/niemyjski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemyjski/subscriptions","organizations_url":"https://api.github.com/users/niemyjski/orgs","repos_url":"https://api.github.com/users/niemyjski/repos","events_url":"https://api.github.com/users/niemyjski/events{/privacy}","received_events_url":"https://api.github.com/users/niemyjski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/labels/cla-signed","name":"cla-signed","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-24T02:23:47Z","updated_at":"2015-12-01T21:33:28Z","closed_at":"2015-12-01T20:16:13Z","pull_request":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/pulls/423","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/423","diff_url":"https://github.com/aspnet/KestrelHttpServer/pull/423.diff","patch_url":"https://github.com/aspnet/KestrelHttpServer/pull/423.patch"},"body":"I was playing around with Kestrel a little bit and decided to take a look at the code. I couldn't build in VS 2015 (Not using Update 1 RC), but could build via the command line. Please give me feedback on anything I could change or update. It's a learning experience playing with libuv :)\r\n\r\n* Enums use byte instead of int. This will need to be benchmarked, ints may preform better on some cpus.\r\n* Fixed an issue where a new buffer was being created when it didn't need to be.\r\n* Don't write to streams or do extra work (allocations) if we don't need to be."},"comment":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/comments/161102356","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/423#issuecomment-161102356","issue_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/423","id":161102356,"user":{"login":"khellang","id":582487,"avatar_url":"https://avatars.githubusercontent.com/u/582487?v=3","gravatar_id":"","url":"https://api.github.com/users/khellang","html_url":"https://github.com/khellang","followers_url":"https://api.github.com/users/khellang/followers","following_url":"https://api.github.com/users/khellang/following{/other_user}","gists_url":"https://api.github.com/users/khellang/gists{/gist_id}","starred_url":"https://api.github.com/users/khellang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khellang/subscriptions","organizations_url":"https://api.github.com/users/khellang/orgs","repos_url":"https://api.github.com/users/khellang/repos","events_url":"https://api.github.com/users/khellang/events{/privacy}","received_events_url":"https://api.github.com/users/khellang/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T21:33:28Z","updated_at":"2015-12-01T21:33:28Z","body":"@niemyjski You can establish a baseline on your machine, then apply the changes and measure the difference?"}}