So just how fast are channels anyway? – Ravelin Tech

 5 years ago
source link: https://syslog.ravelin.com/so-just-how-fast-are-channels-anyway-4c156a407e45?gi=7a55b59a6c40
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
The speed of channels isn’t really the point, but I couldn’t help but wonder how fast they are. So I wrote a benchmark! My benchmark sends a single byte at a time to a goroutine that just reads and…

About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK