Closed OlegMazurov closed 6 days ago
Should be resolved by https://github.com/hashgraph/hedera-services/pull/13996. Dagger was providing the preHandleResult, which was first computed in the logger. I moved it to not be provided by Dagger.
Fixed by this PR https://github.com/hashgraph/hedera-services/pull/13996.
Description
The regression is caused by the following stack trace fragment:
Although the actual logging is guarded by checking if
logger.isDebugEnabled()
, parameter evaluation happens outside the check. As the stack trace shows, that evaluation invokes transaction pre-handling, which is an expensive operation.This is the only context [in a particular profile] where the
txnInfo()
method is invoked. It should be evaluated whether its [derived] implementation justifies such high cost.Steps to reproduce
From performance testing of the
develop
branch inperf1
.Additional context
Introduced by #13804 or some relevant work.
Hedera network
other
Version
v0.52.0-SNAPSHOT
Operating system
Linux