jaykataria1111 commented on issue #3198: URL: https://github.com/apache/logging-log4j2/issues/3198#issuecomment-2478169053
@ppkarwasz for testing here, we just do something of this sorts along with [allocation-instrumenter](https://github.com/google/allocation-instrumenter) and see the effects? Just add the evidence to the PR, if we have good outcome, or should we do something else? ``` public void testMethodHotness() { MutableInstant mutableInstant = new MutableInstant(); SystemClock clock = new SystemClock(); // Call the method 10000 times to ensure it's hot for (int i = 0; i < 10000; i++) { clock.init(mutableInstant); } } ``` -- 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: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org