maksaska commented on code in PR #11793: URL: https://github.com/apache/ignite/pull/11793#discussion_r1912440841
########## modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java: ########## @@ -1975,8 +1975,9 @@ protected boolean put0(final K key, final V val, final CacheEntryPredicate filte return; final boolean statsEnabled = ctx.statisticsEnabled(); + boolean performanceStatsEnabled = ctx.kernalContext().performanceStatistics().enabled(); Review Comment: Agree. Fixed it ########## modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java: ########## @@ -1975,8 +1975,9 @@ protected boolean put0(final K key, final V val, final CacheEntryPredicate filte return; final boolean statsEnabled = ctx.statisticsEnabled(); + boolean performanceStatsEnabled = ctx.kernalContext().performanceStatistics().enabled(); - long start = statsEnabled ? System.nanoTime() : 0L; + long start = statsEnabled || performanceStatsEnabled ? System.nanoTime() : 0L; Review Comment: Agree. Fixed it -- 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...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org