{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/352","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/352/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/352/events","html_url":"https://github.com/dotnet/corefx/issues/352","id":53541261,"number":352,"title":"Design document for performance patterns","user":{"login":"sharwell","id":1408396,"avatar_url":"https://avatars.githubusercontent.com/u/1408396?v=3","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-06T17:43:26Z","updated_at":"2015-01-06T18:30:57Z","closed_at":null,"body":"As noted in #351, some patterns which are commonly used in the .NET Framework for performance reasons are not obvious to users who are new to this project. Due to the number of projects which leverage the .NET library as part of their own applications, performance is a particularly sensitive area, especially in regards to [unnecessary] memory allocations. It would be very helpful to have a document explaining commonly used patterns intended to avoid unnecessary memory allocations, and perhaps other techniques which your prior work has indicated are high-value practices for some reason."},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/68909022","html_url":"https://github.com/dotnet/corefx/issues/352#issuecomment-68909022","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/352","id":68909022,"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":"2015-01-06T18:30:57Z","updated_at":"2015-01-06T18:30:57Z","body":"Thanks, @sharwell. It's a fair request, but at the same time this is just part of a general \"write high-performing .NET code\" category, and there's a good amount of information on such things already available, on blogs (e.g. http://blogs.msdn.com/b/pfxteam/archive/2012/02/03/10263921.aspx), on MSDN (e.g. http://msdn.microsoft.com/en-us/library/ff647790.aspx), in many C# books (e.g. http://www.amazon.com/dp/1430244585), etc.  I wouldn't object to a wiki or something, but I'm not sure how much better (if any) such a thing would be than what's already out there."}}