{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Profiler-AspNetCore/issues/25","repository_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Profiler-AspNetCore","labels_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Profiler-AspNetCore/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Profiler-AspNetCore/issues/25/comments","events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Profiler-AspNetCore/issues/25/events","html_url":"https://github.com/Microsoft/ApplicationInsights-Profiler-AspNetCore/issues/25","id":372239160,"node_id":"MDU6SXNzdWUzNzIyMzkxNjA=","number":25,"title":"Severely degraded performance while profiling a Linux app","user":{"login":"ihalila","id":16795400,"node_id":"MDQ6VXNlcjE2Nzk1NDAw","avatar_url":"https://avatars1.githubusercontent.com/u/16795400?v=4","gravatar_id":"","url":"https://api.github.com/users/ihalila","html_url":"https://github.com/ihalila","followers_url":"https://api.github.com/users/ihalila/followers","following_url":"https://api.github.com/users/ihalila/following{/other_user}","gists_url":"https://api.github.com/users/ihalila/gists{/gist_id}","starred_url":"https://api.github.com/users/ihalila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihalila/subscriptions","organizations_url":"https://api.github.com/users/ihalila/orgs","repos_url":"https://api.github.com/users/ihalila/repos","events_url":"https://api.github.com/users/ihalila/events{/privacy}","received_events_url":"https://api.github.com/users/ihalila/received_events","type":"User","site_admin":false},"labels":[{"id":974974224,"node_id":"MDU6TGFiZWw5NzQ5NzQyMjQ=","url":"https://api.github.com/repos/Microsoft/ApplicationInsights-Profiler-AspNetCore/labels/status:%20investigating","name":"status: investigating","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"xiaomi7732","id":3674549,"node_id":"MDQ6VXNlcjM2NzQ1NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/3674549?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaomi7732","html_url":"https://github.com/xiaomi7732","followers_url":"https://api.github.com/users/xiaomi7732/followers","following_url":"https://api.github.com/users/xiaomi7732/following{/other_user}","gists_url":"https://api.github.com/users/xiaomi7732/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaomi7732/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaomi7732/subscriptions","organizations_url":"https://api.github.com/users/xiaomi7732/orgs","repos_url":"https://api.github.com/users/xiaomi7732/repos","events_url":"https://api.github.com/users/xiaomi7732/events{/privacy}","received_events_url":"https://api.github.com/users/xiaomi7732/received_events","type":"User","site_admin":false},"assignees":[{"login":"xiaomi7732","id":3674549,"node_id":"MDQ6VXNlcjM2NzQ1NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/3674549?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaomi7732","html_url":"https://github.com/xiaomi7732","followers_url":"https://api.github.com/users/xiaomi7732/followers","following_url":"https://api.github.com/users/xiaomi7732/following{/other_user}","gists_url":"https://api.github.com/users/xiaomi7732/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaomi7732/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaomi7732/subscriptions","organizations_url":"https://api.github.com/users/xiaomi7732/orgs","repos_url":"https://api.github.com/users/xiaomi7732/repos","events_url":"https://api.github.com/users/xiaomi7732/events{/privacy}","received_events_url":"https://api.github.com/users/xiaomi7732/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2018-10-20T18:24:48Z","updated_at":"2018-11-12T21:35:52Z","closed_at":"2018-11-12T21:35:52Z","author_association":"NONE","body":"Enabling the Application Insights profiler for an ASP.NET Core app on Azure App Service results in response times slowing down to over 30 seconds (during profiling) where they would normally be in the milliseconds. This is reproducable by following the guide at https://docs.microsoft.com/en-us/azure/application-insights/app-insights-profiler-aspnetcore-linux to set up a ASP.NET app and placing it on a B1 app service plan.\r\n\r\nIdle memory use increases by 300-400MB after adding the profiler, and every time the profiler activates memory use spikes up by about 600MB and response times slow down significantly. Since the response times become so slow it's not feasible to actually use the profiler at all.\r\n\r\nHere's a chart from application insights displaying the memory use of an example app. The profiler was added at the very beginning of the chart, where memory use jumps up from ~50MB to nearly 700MB. It then keeps spiking for each profiling session it starts. If you try to load the web apps pages during a profiling session you'll encounter response times of over 30 seconds.\r\n![memory_use](https://user-images.githubusercontent.com/16795400/47259100-ecad2100-d4ad-11e8-8604-49d4bf0dbac0.png)\r\n\r\nIs this kind of resource use expected?"}}
{"actor":{"display_login":"xiaomi7732"}}