Skip to content

Skip expensive repr() in logging call when not needed#16350

Merged
JukkaL merged 1 commit intomasterfrom
faster-logging
Oct 28, 2023
Merged

Skip expensive repr() in logging call when not needed#16350
JukkaL merged 1 commit intomasterfrom
faster-logging

Conversation

@JukkaL
Copy link
Copy Markdown
Collaborator

@JukkaL JukkaL commented Oct 28, 2023

We were spending quite a lot of time in this function when running tests, based on profiling.

We were spending quite a lot of time in this function when running
tests, based on profiling.
@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@JukkaL JukkaL merged commit 6c7faf3 into master Oct 28, 2023
@JukkaL JukkaL deleted the faster-logging branch October 28, 2023 13:19
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.

2 participants