mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-22 22:54:33 +00:00
parent
b0c0e4c1bf
commit
27354ec059
1 changed files with 1 additions and 0 deletions
|
|
@ -203,6 +203,7 @@ func BenchmarkPostConcurrent(b *testing.B) {
|
|||
// for comparison
|
||||
func BenchmarkChanSend(b *testing.B) {
|
||||
c := make(chan interface{})
|
||||
defer close(c)
|
||||
closed := make(chan struct{})
|
||||
go func() {
|
||||
for range c {
|
||||
|
|
|
|||
Loading…
Reference in a new issue