Improve performance of ProtoLog
Wrap all protolog calls in an if condition using a cached state variable to make sure we don't have any overhead if the protolog message is disbaled Bug: 327341670 Test: android.platform.test.scenario.calculator.OpenAppMicrobenchmark#testOpen v2/android-crystalball-eng/health/microbench/startup/hscapps/compile-speed-profile/hotlaunch/open-calculator Change-Id: Ic031fe076c0897d168b1e7982ad27824b2db999c
Loading
Please register or sign in to comment