Aetherance commented on PR #3305: URL: https://github.com/apache/dubbo-go/pull/3305#issuecomment-4415187558
### Benchmark Results 环境:Linux amd64 / Intel i7-14650HX / Go 1.25.0 N 表示 invoker 数量 ### Static Tag Routing | N | no cache | cached | |---|---:|---:| | 10 | 691 ns | 307 ns | | 100 | 6218 ns | 820 ns | | 1000 | 71788 ns | 3544 ns | ### Dynamic Tag Address Routing | N | no cache | cached | |---|---:|---:| | 10 | 991 ns | 768 ns | | 100 | 8189 ns | 803 ns | | 1000 | 118391 ns | 689 ns | ### Cache Hit | tagged | no cache | cached | |---|---:|---:| | 10–90 | ~8 µs | ~0.8 µs | 运行 benchmark: ``` go test ./cluster/router/tag/ -bench=. ``` -- 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]
