提交 5122239b 编写于 作者: H Heejae Chang

added some comment

上级 60e41b21
......@@ -158,7 +158,8 @@ public async Task<ImmutableArray<DiagnosticData>> GetDiagnosticsAsync(Cancellati
protected async Task AppendDiagnosticsAsync(Solution solution, CancellationToken cancellationToken)
{
// PERF: should run this concurrently? analyzer driver itself is already running concurrently.
// PERF; run projects parallely rather than running CompilationWithAnalyzer with concurrency == true.
// we doing this to be safe (not get into thread starvation causing hundreds of threads to be spawn up).
DocumentId nullTargetDocumentId = null;
var tasks = new Task[solution.ProjectIds.Count];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册