for simplify reason I only list three carousel item ( News, Opportunity and Business History ).
UI thead will start thread1, 2 and 3 simultaneously For thread 1, 2 and 3: once they finish, they will trigger corresponding call back listener implemented in UI thread; for listener designed for thread1, it will start three new thread simultaneously: Thread 4, 5 and 6. Let’s define “A > B”. Regarding sequence, we can only ensure that a > b, b > c, b > d, b > e, we can NOT ensure the sequence among c, d, e, f, g
So if we use standard Android performance library, You will find that start and stop performance interaction step are not sequentially matched as “Start1, end1, start2, End2, start3, end3… “.
As confirmed by Stephan, our case is not supported by library. So we have implemented our own logic to record performance.
For more of Jerry’s original articles, please follow the public account “Wang Zixi “: