dongjiang1989 commented on PR #2599:
URL: https://github.com/apache/dubbo-go/pull/2599#issuecomment-1970594488
loadbalance benchmarks test.
```
goos: darwin
goarch: amd64
pkg: dubbo.apache.org/dubbo-go/v3/cluster/loadbalance
cpu: VirtualApple @ 2.50GHz
BenchmarkRoudrobinLoadbalance-8 6272
171457 ns/op 88098 B/op 2555 allocs/op
BenchmarkLeastativeLoadbalance-8 7362
161141 ns/op 81882 B/op 2043 allocs/op
BenchmarkConsistenthashingLoadbalance-8 52753
22945 ns/op 3440 B/op 267 allocs/op
BenchmarkP2CLoadbalance-8 2516283
481.6 ns/op 472 B/op 10 allocs/op
BenchmarkInterleavedWeightedRoundRobinLoadbalance-8 19672
61067 ns/op 45312 B/op 1027 allocs/op
BenchmarkRandomLoadbalance-8 23068
52368 ns/op 38992 B/op 767 allocs/op
BenchmarkWeightedRandomWithAliasMethodLoadbalance-8 22147
54087 ns/op 49232 B/op 772 allocs/op
PASS
ok dubbo.apache.org/dubbo-go/v3/cluster/loadbalance 11.508s
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]