{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/8809","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/8809/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/8809/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/8809/events","html_url":"https://github.com/dotnet/corefx/issues/8809","id":156491758,"number":8809,"title":"Huge performance issue with HttpClient.PostAsync after upgrade from RC1 to RC2","user":{"login":"laskoviymishka","id":2754361,"avatar_url":"https://avatars.githubusercontent.com/u/2754361?v=3","gravatar_id":"","url":"https://api.github.com/users/laskoviymishka","html_url":"https://github.com/laskoviymishka","followers_url":"https://api.github.com/users/laskoviymishka/followers","following_url":"https://api.github.com/users/laskoviymishka/following{/other_user}","gists_url":"https://api.github.com/users/laskoviymishka/gists{/gist_id}","starred_url":"https://api.github.com/users/laskoviymishka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laskoviymishka/subscriptions","organizations_url":"https://api.github.com/users/laskoviymishka/orgs","repos_url":"https://api.github.com/users/laskoviymishka/repos","events_url":"https://api.github.com/users/laskoviymishka/events{/privacy}","received_events_url":"https://api.github.com/users/laskoviymishka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/System.Net","name":"System.Net","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"davidsh","id":7684835,"avatar_url":"https://avatars.githubusercontent.com/u/7684835?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsh","html_url":"https://github.com/davidsh","followers_url":"https://api.github.com/users/davidsh/followers","following_url":"https://api.github.com/users/davidsh/following{/other_user}","gists_url":"https://api.github.com/users/davidsh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsh/subscriptions","organizations_url":"https://api.github.com/users/davidsh/orgs","repos_url":"https://api.github.com/users/davidsh/repos","events_url":"https://api.github.com/users/davidsh/events{/privacy}","received_events_url":"https://api.github.com/users/davidsh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/4","html_url":"https://github.com/dotnet/corefx/milestones/1.1.0","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/4/labels","id":1248719,"number":4,"title":"1.1.0","description":"Features associated with 1.1.0 unfortunately won't make it into the initial 1.0.0 RTM release.  We are tentatively planning on shipping them in the initial feature release after 1.0.0 RTM.\r\n\r\nNo calendar date is set.\r\n\r\nhttps://github.com/aspnet/Home/wiki/Roadmap","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":351,"closed_issues":725,"state":"open","created_at":"2015-08-10T18:04:00Z","updated_at":"2016-05-27T14:35:14Z","due_on":"2016-11-30T08:00:00Z","closed_at":null},"comments":5,"created_at":"2016-05-24T12:13:25Z","updated_at":"2016-05-27T19:59:14Z","closed_at":null,"body":"This issue related to (_https://github.com/aspnet/JavaScriptServices/issues/92_)\r\n\r\nWe faced some strange issue with `await client.PostAsync`\r\n\r\nI created sample repository to show what we have here, you can find it [here](https://github.com/laskoviymishka/HttpIssue)\r\n\r\nTo run sample do following steps:\r\n\r\n1. Clone repository\r\n2. Run `cd src\\WebApplication1 & dotnet restore & dotnet run`\r\n3. Run `cd ..\\ConsoleApp1\\ & dotnet restore & dotnet run`\r\n4. Check how long it takes to make 20 post api requests\r\n\r\nTo see how it works in classic .net open solution \r\nThere is 2 console project with really same code, but .netcore version take significant longer.\r\nPlease notice that stop watch show incorrect amount of time, or may be i log it incorect.\r\n\r\nPlease notice that in RC1 version of _https://github.com/aspnet/JavaScriptServices_ the really same code perform usually for ~50-60 ms. Right not it executed ~1.2-1.5 second. \r\n\r\nHere is version of dotnet which i use:\r\n`.NET Command Line Tools (1.0.0-preview1-002702)`\r\n\r\nConsoleApp run for following framework:\r\n```\r\n  \"frameworks\": {\r\n    \"netcoreapp1.0\": {\r\n      \"imports\": \"dnxcore50\"\r\n    }\r\n  }\r\n```\r\n\r\nJavaScriptServices for following:\r\n```\r\n\"frameworks\": {\r\n    \"netcoreapp1.0\": {\r\n      \"imports\": [\r\n        \"dotnet5.6\",\r\n        \"dnxcore50\",\r\n        \"portable-net45+win8\"\r\n      ]\r\n    }\r\n  },\r\n```\r\n\r\n\r\nThis is major issue IMHO.\r\n\r\nCan anyone advise? May be i miss something? "},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/222239893","html_url":"https://github.com/dotnet/corefx/issues/8809#issuecomment-222239893","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/8809","id":222239893,"user":{"login":"stephentoub","id":2642209,"avatar_url":"https://avatars.githubusercontent.com/u/2642209?v=3","gravatar_id":"","url":"https://api.github.com/users/stephentoub","html_url":"https://github.com/stephentoub","followers_url":"https://api.github.com/users/stephentoub/followers","following_url":"https://api.github.com/users/stephentoub/following{/other_user}","gists_url":"https://api.github.com/users/stephentoub/gists{/gist_id}","starred_url":"https://api.github.com/users/stephentoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephentoub/subscriptions","organizations_url":"https://api.github.com/users/stephentoub/orgs","repos_url":"https://api.github.com/users/stephentoub/repos","events_url":"https://api.github.com/users/stephentoub/events{/privacy}","received_events_url":"https://api.github.com/users/stephentoub/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T19:59:14Z","updated_at":"2016-05-27T19:59:14Z","body":"> I think root issue with incorrect refactored HTTP Client for async/await\r\n\r\nWhy? What do you believe is incorrect?"}}
{"actor":{"display_login":"stephentoub"}}