Skip to content

Conversation

MamunC0der
Copy link
Contributor

Refactored benchmark tests to use the new b.Loop() method instead of traditional for i := 0; i < b.N; i++ loops, following Go 1.24+ best practices for more accurate and performant benchmark measurements.

  • Updated 6 benchmark functions across 3 test files
  • Replaced manual loop iteration with b.Loop() method
  • Maintains existing benchmark logic and functionality

@AskAlexSharov AskAlexSharov enabled auto-merge (squash) October 12, 2025 07:53
@AskAlexSharov
Copy link
Collaborator

auto-merge was automatically disabled October 13, 2025 10:36

Head branch was pushed to by a user without write access

@MamunC0der
Copy link
Contributor Author

all good now

@AskAlexSharov AskAlexSharov enabled auto-merge (squash) October 14, 2025 01:46
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