wang-jiahua commented on PR #10468: URL: https://github.com/apache/rocketmq/pull/10468#issuecomment-4766857676
## Server Benchmark Results (2026-06-22) **Environment**: 8C30G broker, Dragonwell JDK 21, 1KB msg, 128 queues, sync mode, 256 threads, 20s warmup + 30s collect ### Producer-only (steady state, lines 3-5) | Test | TPS | Avg RT | GC | vs Baseline | |------|-----|--------|----|-------------| | Baseline | 217k | 1.18ms | 354 | — | | #10468 | 205k | 1.25ms | 308 | -5.5% TPS (within noise band) ✅ | Message.getProperty optimization (avoid empty HashMap creation when properties==null). The -5.5% is within the 5-10% noise band of this benchmark. The optimization reduces allocation (no empty HashMap per getProperty call) which should show GC improvement in production workloads with higher getProperty call rates. -- 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]
