Skip to content

Remove stopwatch allocations#5977

Merged
vonzshik merged 1 commit into
mainfrom
remove-stopwatch-allocations
Dec 17, 2024
Merged

Remove stopwatch allocations#5977
vonzshik merged 1 commit into
mainfrom
remove-stopwatch-allocations

Conversation

@vonzshik

Copy link
Copy Markdown
Contributor

No description provided.

@vonzshik vonzshik added this to the 10.0.0 milestone Dec 17, 2024
@vonzshik vonzshik self-assigned this Dec 17, 2024
@vonzshik vonzshik requested a review from roji as a code owner December 17, 2024 11:35
internal void Reset()
{
NumCommands = 0;
Stopwatch.Reset();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It seems like in #3918 I accidentally made it so we never start stopwatch at all...

@vonzshik vonzshik merged commit 62dcf21 into main Dec 17, 2024
@vonzshik vonzshik deleted the remove-stopwatch-allocations branch December 17, 2024 12:07
dvas-hash pushed a commit to dvas-hash/npgsql that referenced this pull request Jan 17, 2025
This was referenced Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants