Time-consuming test with using go channel:
1W producers, each producer writes 100 times. Statistics on the time taken by all producers to write to the queue
go version go1.16.11 darwin/amd64.
- Model: macOS Big Sur 11.5.2
- Cpu: Six cores Intel Core i7
- Memory: 16g