Skip to content

Commit b4b4814

Browse files
author
David Ungar
authored
Merge pull request #760 from davidungar/print-more-time
[Incremental] Print the priors time delta
2 parents 80c70a4 + 365cbfa commit b4b4814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriver/IncrementalCompilation/IncrementalDependencyAndInputSetup.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ extension IncrementalCompilationState.IncrementalDependencyAndInputSetup {
226226
catch let ModuleDependencyGraph.ReadError.timeTravellingPriors(priorsModTime: priorsModTime, buildRecordModTime: buildRecordModTime) {
227227
diagnosticEngine.emit(
228228
warning: "Will not do cross-module incremental builds, priors saved at \(priorsModTime)), " +
229-
"but the previous build started at \(buildRecordModTime), at '\(dependencyGraphPath)'")
229+
"but the previous build started at \(buildRecordModTime) [delta: \(priorsModTime.timeIntervalSince(buildRecordModTime))], at '\(dependencyGraphPath)'")
230230
graphIfPresent = nil
231231
}
232232
catch {

0 commit comments

Comments
 (0)