matt-welch commented on PR #17340:
URL: https://github.com/apache/kafka/pull/17340#issuecomment-2537428986

   Hi @chia7712 @fvaleri .  My latest commit refactors the use of a warmupStats 
object and a main stats object in favor of having one stats that covers the 
whole test and a second object, steadyStateStats, that will be used during 
steady state operation.  
   In the case of a steady state record, I've added a new callback that will 
write into both data objects during steady state.
   This new approach seems like a simpler, cleaner design and is much easier to 
understand what is happening. I've done some testing on both designs and they 
appear to perform similarly. My only reservation is that the producer will now 
have a larger memory requirement due to the redundant recording of latency data 
into the two objects.  Let me know what you think.


-- 
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]

Reply via email to