wang-jiahua commented on PR #10514: URL: https://github.com/apache/rocketmq/pull/10514#issuecomment-4766520725
## 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 | vs Baseline | |------|-----|--------|-------------| | Baseline | 217k | 1.18ms | — | | #10514 (fixed) | 216k | 1.19ms | **Parity (no regression)** ✅ | **Fix applied**: `processTimerNanos` changed from `= System.nanoTime()` (field initializer) to lazy init (default 0, returns 0 when unset). The field initializer caused a native call on every RemotingCommand construction, preventing JIT constructor inlining (-17% TPS regression before fix). -- 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]
