Skip to content

Conversation

@braydonk
Copy link
Collaborator

Part of #283

The original code would calculate the diff on every file regardless of whether it was asked for because of the way the debug logging code was structured. This PR adds a way to manually check for active debug code, and uses that to avoid calculating the diff unnecessarily.

The original code would calculate the diff on every file regardless of
whether it was asked for because of the way the debug logging code was
structured. This PR adds a way to manually check for active debug code,
and uses that to avoid calculating the diff unnecessarily.
@braydonk braydonk changed the title engine: don't calculate diff if it isn't requested engine: don't construct diff string if it isn't requested Oct 22, 2025
@braydonk braydonk merged commit 42486ac into google:main Oct 22, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant