News for hackers. Stuff that matters.
Re:Logging Performance Comparison by jpgvm on Sunday July 10, 2022 @08:53PM (#32050948)
This only makes sense when logging is a substantial portion of the wall-clock time of a transaction. The moment you do any other I/O, even if that is just to hit a database this difference becomes completely irrelevant.

The tests he created effectively made logging dominate the request active time so it's rather deceptive in that manner.

His non-logging case was probably entirely optimized away by Hotspot unless he is running these benchmarks under JMH and properly disabled optimizations for that loop.

There are no comments on this comment yet.