Skip to content

Fix and improve BenchmarkReadNativeFrames inner loop - #380

Merged
suyashkumar merged 1 commit into
mainfrom
s/bench-fix
Jun 21, 2026
Merged

suyashkumar merged 1 commit into
mainfrom
s/bench-fix

Conversation

@suyashkumar

Copy link
Copy Markdown
Owner

This change improves BenchmarkReadNativeFrames by:

  • Ensuring a new reader is created for each b.N sample
  • using bytes.Reader.Reset() to reset between b.N samples.
  • ensuring errors are visible

@suyashkumar
suyashkumar merged commit 8ae5137 into main Jun 21, 2026
4 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