按照官方说法可以得到 120 帧的详细信息,但是我看到 profiledata 中只有 10 条记录,如下:
Applications Graphics Acceleration Info:
Uptime: 9842459 Realtime: 32357987
** Graphics info for pid 13156 [com.huawei.browser] **
Stats since: 9059080906429ns
Total frames rendered: 171
Janky frames: 67 (39.18%)
50th percentile: 12ms
90th percentile: 40ms
95th percentile: 125ms
99th percentile: 200ms
Number Missed Vsync: 15
Number High input latency: 106
Number Slow UI thread: 24
Number Slow bitmap uploads: 1
Number Slow issue draw commands: 9
Number Frame deadline missed: 27
HISTOGRAM: 5ms=13 6ms=8 7ms=11 8ms=6 9ms=14 10ms=22 11ms=10 12ms=11 13ms=2 14ms=2 15ms=4 16ms=4 17ms=4 18ms=7 19ms=3 20ms=3 21ms=1 22ms=4 23ms=2 24ms=0 25ms=2 26ms=3 27ms=3 28ms=3 29ms=2 30ms=2 31ms=0 32ms=3 34ms=2 36ms=1 38ms=1 40ms=1 42ms=0 44ms=0 46ms=0 48ms=2 53ms=0 57ms=0 61ms=0 65ms=1 69ms=0 73ms=0 77ms=0 81ms=0 85ms=0 89ms=2 93ms=0 97ms=0 101ms=0 105ms=1 109ms=1 113ms=0 117ms=0 121ms=1 125ms=1 129ms=0 133ms=0 150ms=4 200ms=3 250ms=1 300ms=0 350ms=0 400ms=0 450ms=0 500ms=0 550ms=0 600ms=0 650ms=0 700ms=0 750ms=0 800ms=0 850ms=0 900ms=0 950ms=0 1000ms=0 1050ms=0 1100ms=0 1150ms=0 1200ms=0 1250ms=0 1300ms=0 1350ms=0 1400ms=0 1450ms=0 1500ms=0 1550ms=0 1600ms=0 1650ms=0 1700ms=0 1750ms=0 1800ms=0 1850ms=0 1900ms=0 1950ms=0 2000ms=0 2050ms=0 2100ms=0 2150ms=0 2200ms=0 2250ms=0 2300ms=0 2350ms=0 2400ms=0 2450ms=0 2500ms=0 2550ms=0 2600ms=0 2650ms=0 2700ms=0 2750ms=0 2800ms=0 2850ms=0 2900ms=0 2950ms=0 3000ms=0 3050ms=0 3100ms=0 3150ms=0 3200ms=0 3250ms=0 3300ms=0 3350ms=0 3400ms=0 3450ms=0 3500ms=0 3550ms=0 3600ms=0 3650ms=0 3700ms=0 3750ms=0 3800ms=0 3850ms=0 3900ms=0 3950ms=0 4000ms=0 4050ms=0 4100ms=0 4150ms=0 4200ms=0 4250ms=0 4300ms=0 4350ms=0 4400ms=0 4450ms=0 4500ms=0 4550ms=0 4600ms=0 4650ms=0 4700ms=0 4750ms=0 4800ms=0 4850ms=0 4900ms=0 4950ms=0
Font Cache (CPU):
Size: 463.55 kB
Glyph Count: 46
CPU Caches:
GPU Caches:
Other:
Buffer Object: 63.00 KB (2 entries)
Image:
Texture: 167.62 KB (8 entries)
Scratch:
Buffer Object: 32.00 KB (1 entry)
Texture: 1.00 MB (1 entry)
Other Caches:
Current / Maximum
VectorDrawableAtlas 0.00 kB / 0.00 KB (entries = 0)
Layers Total 0.00 KB (numLayers = 0)
Total GPU memory usage:
1317504 bytes, 1.26 MB (262.62 KB is purgeable)
Pipeline=Skia (OpenGL)
Layout Cache Info:
Usage: 503/5000 entries
Hit ratio: 13841/14345 (0.964866)
Profile data in ms:
com.huawei.browser/com.huawei.browser.ChromeTabbedActivity/android.view.ViewRootImpl@51aa801 (visibility=8)
Window: com.huawei.browser/com.huawei.browser.ChromeTabbedActivity
Stats since: 9059080903304ns
Total frames rendered: 171
Janky frames: 67 (39.18%)
50th percentile: 12ms
90th percentile: 40ms
95th percentile: 125ms
99th percentile: 200ms
Number Missed Vsync: 15
Number High input latency: 106
Number Slow UI thread: 24
Number Slow bitmap uploads: 1
Number Slow issue draw commands: 9
Number Frame deadline missed: 27
HISTOGRAM: 5ms=13 6ms=8 7ms=11 8ms=6 9ms=14 10ms=22 11ms=10 12ms=11 13ms=2 14ms=2 15ms=4 16ms=4 17ms=4 18ms=7 19ms=3 20ms=3 21ms=1 22ms=4 23ms=2 24ms=0 25ms=2 26ms=3 27ms=3 28ms=3 29ms=2 30ms=2 31ms=0 32ms=3 34ms=2 36ms=1 38ms=1 40ms=1 42ms=0 44ms=0 46ms=0 48ms=2 53ms=0 57ms=0 61ms=0 65ms=1 69ms=0 73ms=0 77ms=0 81ms=0 85ms=0 89ms=2 93ms=0 97ms=0 101ms=0 105ms=1 109ms=1 113ms=0 117ms=0 121ms=1 125ms=1 129ms=0 133ms=0 150ms=4 200ms=3 250ms=1 300ms=0 350ms=0 400ms=0 450ms=0 500ms=0 550ms=0 600ms=0 650ms=0 700ms=0 750ms=0 800ms=0 850ms=0 900ms=0 950ms=0 1000ms=0 1050ms=0 1100ms=0 1150ms=0 1200ms=0 1250ms=0 1300ms=0 1350ms=0 1400ms=0 1450ms=0 1500ms=0 1550ms=0 1600ms=0 1650ms=0 1700ms=0 1750ms=0 1800ms=0 1850ms=0 1900ms=0 1950ms=0 2000ms=0 2050ms=0 2100ms=0 2150ms=0 2200ms=0 2250ms=0 2300ms=0 2350ms=0 2400ms=0 2450ms=0 2500ms=0 2550ms=0 2600ms=0 2650ms=0 2700ms=0 2750ms=0 2800ms=0 2850ms=0 2900ms=0 2950ms=0 3000ms=0 3050ms=0 3100ms=0 3150ms=0 3200ms=0 3250ms=0 3300ms=0 3350ms=0 3400ms=0 3450ms=0 3500ms=0 3550ms=0 3600ms=0 3650ms=0 3700ms=0 3750ms=0 3800ms=0 3850ms=0 3900ms=0 3950ms=0 4000ms=0 4050ms=0 4100ms=0 4150ms=0 4200ms=0 4250ms=0 4300ms=0 4350ms=0 4400ms=0 4450ms=0 4500ms=0 4550ms=0 4600ms=0 4650ms=0 4700ms=0 4750ms=0 4800ms=0 4850ms=0 4900ms=0 4950ms=0
---PROFILEDATA---
Flags,IntendedVsync,Vsync,OldestInputEvent,NewestInputEvent,HandleInputStart,AnimationStart,PerformTraversalsStart,DrawStart,SyncQueued,SyncStart,IssueDrawCommandsStart,SwapBuffers,FrameCompleted,DequeueBufferDuration,QueueBufferDuration,
0,9286556340771,9286556340771,9223372036854775807,0,9286556902227,9286556926186,9286557244415,9286557450665,9286558940248,9286565210040,9286565461602,9286580507436,9286583153790,11690000,423000,
0,9286573120748,9286573120748,9223372036854775807,0,9286573468894,9286573474102,9286573864727,9286574055352,9286574398061,9286583202227,9286583533477,9286597433998,9286600218373,10757000,665000,
0,9286589900559,9286589900559,9223372036854775807,0,9286590339206,9286590375144,9286590867852,9286591218894,9286591915769,9286600277227,9286600699623,9286615549102,9286620868373,11056000,841000,
0,9286606679985,9286606679985,9223372036854775807,0,9286607133998,9286607178790,9286607883477,9286611629831,9286612199102,9286620929831,9286621413686,9286634497540,9286638092331,7984000,775000,
0,9286623459302,9286640125968,9223372036854775807,0,9286643344936,9286643353269,9286644218373,9286644732956,9286645111602,9286645349623,9286645822019,9286650676186,9286654042331,589000,792000,
0,9286657017440,9286657017440,9223372036854775807,0,9286657606915,9286657656915,9286658444936,9286658997019,9286659527227,9286659605873,9286660141290,9286667133998,9286669732436,2136000,482000,
0,9286673796245,9286673796245,9223372036854775807,0,9286675138686,9286675144415,9286675716290,9286676101706,9286676318373,9286676369415,9286676832956,9286683262644,9286686879311,2039000,810000,
0,9286690575535,9286690575535,9223372036854775807,0,9286691442852,9286691491290,9286692097019,9286692505873,9286692875665,9286692952748,9286703033477,9286710487644,9286715947019,489000,521000,
0,9286707354326,9286724020992,9223372036854775807,0,9286732890248,9286732926186,9286733364727,9286742287644,9286742824102,9286742902748,9286743213686,9286745861081,9286748477748,213000,613000,
0,9286740913276,9286740913276,9223372036854775807,0,9286756486081,9286756491810,9286757006915,9286757549102,9286757752227,9286758056394,9286758269415,9286760701706,9286763868373,241000,393000,
---PROFILEDATA---
View hierarchy:
com.huawei.browser/com.huawei.browser.ChromeTabbedActivity/android.view.ViewRootImpl@51aa801
148 views, 128.92 kB of display lists
Total ViewRootImpl: 1
Total Views: 148
Total DisplayList: 128.92 kB