Skip to content

Commit 446a877

Browse files
committed
C#: Report more timing metrics to the console logger.
1 parent a25ae39 commit 446a877

File tree

1 file changed

+2
-1
lines changed
  • csharp/extractor/Semmle.Extraction.CSharp.Standalone

1 file changed

+2
-1
lines changed

csharp/extractor/Semmle.Extraction.CSharp.Standalone/Extractor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ public static ExitCode Run(Options options)
154154
fileLogger.LogError($" Unhandled exception: {ex}");
155155
}
156156

157-
logger.Log(Severity.Info, $"Extraction completed in {overallStopwatch.Elapsed}");
157+
logger.Log(Severity.Info, $"Extraction completed in {analyzerStopwatch.Elapsed}");
158+
logger.Log(Severity.Info, $"Total time: {overallStopwatch.Elapsed}");
158159

159160
return ExitCode.Ok;
160161
}

0 commit comments

Comments
 (0)