Reduce overhead of writing logcat from protolog method
String.format contains more loop, creates more temporary object with more conditions than TextUtils.formatSimple. And the basic syntax provided by formatSimple is enough for use so far, it would be better to reduce the general cost while enabling logcat output of protolog. Bug: 259683790 Test: atest ProtoLogImplTest ProtoLogIntegrationTest LogParserTest Change-Id: Icbf55c9e75c2343a961a57f83823a90e1f057075
Loading
Please register or sign in to comment