On my machine, a fairly powerful PC, preliminary tests show that the cost of finding the StaticLoggerBinder path set goes down from 6.2 milliseconds to about 0.35 milliseconds when done asynchronously. The .35 ms is the thread creation and start time. Within the thread, the check takes the same amount of time.
I'd be curious to see if the same improvement can be observed under android.
I'll attach the code I used.
|