We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
func BenchmarkUnbufferedChannelEmptyStruct(b *testing.B) { // BenchmarkUnbufferedChannelEmptyStruct-16 6310321 181.6 ns/op ch := make(chan struct{}) go func() { for { <-ch } }() for i := 0; i < b.N; i++ { ch <- struct{}{} } } func BenchmarkBufferedChannelEmptyStruct10(b *testing.B) { // BenchmarkBufferedChannelEmptyStruct1-16 16444933 69.14 ns/op ch := make(chan struct{}, 10) go func() { for { <-ch } }() for i := 0; i < b.N; i++ { ch <- struct{}{} } } func BenchmarkBufferedChannelEmptyStruct100(b *testing.B) { // BenchmarkBufferedChannelEmptyStruct10-16 23277656 45.66 ns/op ch := make(chan struct{}, 100) go func() { for { <-ch } }() for i := 0; i < b.N; i++ { ch <- struct{}{} } }
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 0.6.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
Sorry, something went wrong.
edwardmack
Successfully merging a pull request may close this issue.
Issue summary
Other information and links
The text was updated successfully, but these errors were encountered: