Add more profiling information.
After
we saw large gaps in the profile.
RELNOTES: None
@@ -2315,6 +2315,7 @@ public abstract class SkyframeExecutor implements WalkableGraphFactory {
Map<String, String> clientEnv,
TimestampGranularityMonitor tsgm)
throws AbruptExitException {
+ try (SilentCloseable c = Profiler.instance().profile("preparePackageLoading")) {
preparePackageLoading(
pathPackageLocator,
packageCacheOptions,
@@ -2323,7 +2324,10 @@ public abstract class SkyframeExecutor implements WalkableGraphFactory {
commandId,
clientEnv,
tsgm);
+ }
+ try (SilentCloseable c = Profiler.instance().profile("setDeletedPackages")) {
setDeletedPackages(packageCacheOptions.getDeletedPackages());
+ }
incrementalBuildMonitor = new SkyframeIncrementalBuildMonitor();
invalidateTransientErrors();
