Reputation: 3321
I am trying to speed-up my application. Will it make my app significantly faster if I remove all the logs-code? Does it make a difference ?
My app writes lots of logs.
Log.v(TAG, "example android log");
I read this question, but it doesnt answer my question.
Upvotes: 1
Views: 216
Reputation: 4037
Depends on the functionalities of you Glass app. If your glass app is just a slideshow there are different aspects that needs to be taken care of than a Media Streaming app. Offcourse, reducing the number of log statements would help a bit in the performance but there are other significant points that should be taken into consideration.
Please refer to this official Google Document for more detail information.
Upvotes: 0
Reputation: 7526
No, it won't make any visible improvements on your perfs.
Unless you're doing really bad things such as:
toString()
method callsMaybe you could share some snippets of your logging code to see if there is anything wrong.
Upvotes: 2