Skip to content
Snippets Groups Projects
Commit 7de1d5a2 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

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
parent c53b4917
No related branches found
No related tags found
No related merge requests found
Showing
with 401 additions and 46 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment