Skip to content

Conversation

@michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Nov 6, 2025

With this change it will be easier to see from the console log

  • How much time we spend in the dependency fetcher (including running source code generators).
  • How much time we spend in compilation + TRAP generation. This is the extraction phase.
  • How much time we spend in total.

With this change it will be easier to inspect the impact of Incremental CodeQL and dependency caching.
Note, that this also changes the meaning of "Extraction completed in..". As this number now only measures, how long the extraction took and not including the dependency fetching.

@github-actions github-actions bot added the C# label Nov 6, 2025
@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Nov 7, 2025
@michaelnebel michaelnebel marked this pull request as ready for review November 7, 2025 08:56
@michaelnebel michaelnebel requested a review from a team as a code owner November 7, 2025 08:56
Copilot AI review requested due to automatic review settings November 7, 2025 08:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves time tracking granularity in the standalone C# extractor by separating extraction time from total execution time in the logging output.

  • Changed the "Extraction completed" log to report analyzerStopwatch.Elapsed instead of overallStopwatch.Elapsed
  • Added a new "Total time" log entry to report the complete execution time including initialization overhead

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C# no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant