Index: runtime/bin/main.cc |
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc |
index 5c36f41abee04c0ac518f95a8328b615e666fe24..0d3fc4e970b84adc392c0c4b11f5bed880459ab0 100644 |
--- a/runtime/bin/main.cc |
+++ b/runtime/bin/main.cc |
@@ -686,6 +686,10 @@ static Dart_Isolate CreateIsolateAndSetupHelper(const char* script_uri, |
result = Dart_RunLoop(); |
CHECK_RESULT(result); |
+ if (isolate_data->load_async_id >= 0) { |
+ Dart_TimelineAsyncEnd("LoadScript", isolate_data->load_async_id); |
+ } |
+ |
Platform::SetPackageRoot(package_root); |
DartUtils::SetupIOLibrary(script_uri); |