java - Speed-up application by remove code for writing logs? -


i trying speed-up application. make app faster if remove logs-code? make difference ?

my app writes lots of logs.

log.v(tag, "example android log"); 

i read question, doesnt answer question.

no, won't make visible improvements on perfs.

unless you're doing bad things such as:

  • non-stop logging (100x every frame)
  • string concatenations
  • tostring() method calls
  • any object allocation

maybe share snippets of logging code see if there wrong.


Comments