dongjiang1989 commented on PR #2405:
URL: https://github.com/apache/dubbo-go/pull/2405#issuecomment-1699214203
loadbalance benchmarks test.
```
goos: darwin
goarch: amd64
pkg: dubbo.apache.org/dubbo-go/v3/cluster/loadbalance
cpu: VirtualApple @ 2.50GHz
Benchmark_Roudrobin_Loadbalace-8 6685
165956 ns/op 88100 B/op 2555 allocs/op
Benchmark_Leastative_Loadbalace-8 7554
166090 ns/op 81877 B/op 2043 allocs/op
Benchmark_Consistenthashing_Loadbalace-8 55594
21595 ns/op 3425 B/op 267 allocs/op
Benchmark_P2C_Loadbalace-8 2525548
467.7 ns/op 456 B/op 10 allocs/op
Benchmark_InterleavedWeightedRoundRobin_Loadbalace-8 19184
63018 ns/op 45296 B/op 1027 allocs/op
Benchmark_Random_Loadbalace-8 22238
53121 ns/op 38976 B/op 767 allocs/op
PASS
ok dubbo.apache.org/dubbo-go/v3/cluster/loadbalance 9.925s
```
--
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]