1 instantiation of DocumentAnalyzerPerformance
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
197return new DocumentAnalyzerPerformance(analyzerOptionsInternal.TestDocumentIterations / stopwatch.Elapsed.TotalSeconds, stopwatch.AllocatedBytes / Math.Max(1, analyzerOptionsInternal.TestDocumentIterations));
3 references to DocumentAnalyzerPerformance
AnalyzerRunner (3)
DiagnosticAnalyzerRunner.cs (3)
104var documentPerformance = new Dictionary<DocumentId, DocumentAnalyzerPerformance>(); 121var currentDocumentPerformance = await TestDocumentPerformanceAsync(_analyzers, project, documentId, _options, cancellationToken).ConfigureAwait(false); 178private static async Task<DocumentAnalyzerPerformance> TestDocumentPerformanceAsync(ImmutableDictionary<string, ImmutableArray<DiagnosticAnalyzer>> analyzers, Project project, DocumentId documentId, Options analyzerOptionsInternal, CancellationToken cancellationToken)