-
- Downloads
Manually unlock the mutex in ClientMap.SendQueue.
Rather than use defer. It is only a tiny amount faster, but this function is frequently called. Before: $ go test -bench=BenchmarkSendQueue -benchtime=2s BenchmarkSendQueue-4 15901834 151 ns/op After: $ go test -bench=BenchmarkSendQueue -benchtime=2s BenchmarkSendQueue-4 15859948 147 ns/op tpo/anti-censorship/pluggable-transports/snowflake#40177
common/turbotunnel/clientmap_test.go
0 → 100644
Please register or sign in to comment