[model-gateway] Optimize consistent hashing hot path to eliminate allocations (#17467)

This commit is contained in:
Praneth Paruchuri
2026-01-27 22:46:11 -08:00
committed by GitHub
parent c0b4dd68a2
commit 897c35b457
4 changed files with 58 additions and 15 deletions
+4
View File
@@ -141,6 +141,10 @@ tonic-v12 = { version = "0.12.3", package = "tonic" }
serial_test = "3.0"
rsa = { version = "0.9", features = ["sha2"] }
[[bench]]
name = "consistent_hash_bench"
harness = false
path = "benches/consistent_hash_bench.rs"
[[bench]]
name = "wasm_middleware_latency"
harness = false