{"action":"created","issue":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1618","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1618/labels{/name}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1618/comments","events_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1618/events","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/1618","id":110998311,"number":1618,"title":"Build performance concerns.","user":{"login":"NikGovorov","id":129254,"avatar_url":"https://avatars.githubusercontent.com/u/129254?v=3","gravatar_id":"","url":"https://api.github.com/users/NikGovorov","html_url":"https://github.com/NikGovorov","followers_url":"https://api.github.com/users/NikGovorov/followers","following_url":"https://api.github.com/users/NikGovorov/following{/other_user}","gists_url":"https://api.github.com/users/NikGovorov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikGovorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikGovorov/subscriptions","organizations_url":"https://api.github.com/users/NikGovorov/orgs","repos_url":"https://api.github.com/users/NikGovorov/repos","events_url":"https://api.github.com/users/NikGovorov/events{/privacy}","received_events_url":"https://api.github.com/users/NikGovorov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/labels/fixed","name":"fixed","color":"009800"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/milestones/29","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/milestones/1.0.0%20Beta%2015","labels_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/milestones/29/labels","id":1359256,"number":29,"title":"1.0.0 Beta 15","description":null,"creator":{"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},"open_issues":0,"closed_issues":23,"state":"closed","created_at":"2015-10-16T12:01:22Z","updated_at":"2015-10-25T23:32:00Z","due_on":null,"closed_at":"2015-10-25T21:45:37Z"},"comments":14,"created_at":"2015-10-12T15:25:18Z","updated_at":"2015-10-30T20:46:04Z","closed_at":"2015-10-25T22:15:15Z","body":"I've got a small project that takes 3 seconds to compile without stylecop analyzers, adding them to the project increases compilation time to 13 seconds. It's not an issue for CI or manual(command line) build, but I definitely would not expect 400% percent longer builds in Visual Studio during development time especially taking into account that validation happens in background during file editing(incremental compilation) anyway. Is there any way to disable analyzers completely for VBCSCompiler when I build from Visual Studio?\r\nI tried the following hack, it disables analyzers for debug builds, but the build still takes 5-6 seconds instead of expected 3.\r\n\r\n```CSharp\r\n        public static void HandleCompilationStart(CompilationStartAnalysisContext context)\r\n        {\r\n            if (context.Options.GetType().FullName == \"Microsoft.CodeAnalysis.Diagnostics.WorkspaceAnalyzerOptions\" || context.Compilation.Options.OptimizationLevel == OptimizationLevel.Release)\r\n            {\r\n            \t// ...\r\n            }\r\n        }\r\n\r\n```\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/comments/152647260","html_url":"https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/1618#issuecomment-152647260","issue_url":"https://api.github.com/repos/DotNetAnalyzers/StyleCopAnalyzers/issues/1618","id":152647260,"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},"created_at":"2015-10-30T20:46:04Z","updated_at":"2015-10-30T20:46:04Z","body":"@whut Take a look at #1711. Let me know if you think that approach will address the needs of our audience."}}