X chan RTT benchmark which simulates Recv1 = Accept + Recv
if rxq is buffered it adds only ~50ns to SyncChanRTT (was ~ 350ns -> 400ns) and important: no extra goroutines switches are introduced (verified via analyzing trace).
Showing
if rxq is buffered it adds only ~50ns to SyncChanRTT (was ~ 350ns -> 400ns) and important: no extra goroutines switches are introduced (verified via analyzing trace).
mentioned in commit ec4b3ce0
·mentioned in commit ec4b3ce0