Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: pkg/front_end/lib/src/incremental_kernel_generator_impl.dart

Issue 2932463002: Measure time spent building graph of files. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
diff --git a/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart b/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
index d75a0fc7d25e13d750e189cd41b3b71caadb7d22..499e3fa70f8921c770e653756b2e672e57925aa4 100644
--- a/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
+++ b/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
@@ -93,7 +93,10 @@ class IncrementalKernelGeneratorImpl implements IncrementalKernelGenerator {
await _refreshInvalidatedFiles();
// Ensure that the graph starting at the entry point is ready.
- FileState entryLibrary = await _fsState.getFile(_entryPoint);
+ FileState entryLibrary =
+ await _logger.runAsync('Build graph of files', () async {
+ return await _fsState.getFile(_entryPoint);
+ });
List<LibraryCycle> cycles = _logger.run('Compute library cycles', () {
List<LibraryCycle> cycles = entryLibrary.topologicalOrder;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698