Skip to content

Commit 92dd15c

Browse files
committed
perf: 字节SDK
1 parent f0bbc38 commit 92dd15c

File tree

70 files changed

+280
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+280
-140
lines changed

src/apps/app.esou.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ export default defineGkdApp({
1515
rules: [
1616
{
1717
key: 0,
18-
matches:
19-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
18+
anyMatches: [
19+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
20+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
21+
],
2022
exampleUrls:
2123
'https://m.gkd.li/57941037/fe2a046b-1abe-4aba-a0df-8d9568211e0d',
2224
snapshotUrls: 'https://i.gkd.li/i/14189313',

src/apps/cn.lezhi.speedtest.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ export default defineGkdApp({
1616
{
1717
key: 0,
1818
name: '字节SDK',
19-
matches:
20-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
19+
anyMatches: [
20+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
21+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
22+
],
2123
snapshotUrls: [
2224
'https://i.gkd.li/i/13544242',
2325
'https://i.gkd.li/i/13885906',

src/apps/cn.wsds.gamemaster.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ export default defineGkdApp({
1313
priorityTime: 10000,
1414
rules: [
1515
{
16-
matches:
17-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
16+
anyMatches: [
17+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
18+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
19+
],
1820
snapshotUrls: 'https://i.gkd.li/i/13930391',
1921
},
2022
],

src/apps/cn.xiaochuankeji.tieba.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ export default defineGkdApp({
2424
},
2525
{
2626
key: 1,
27-
matches:
28-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
27+
anyMatches: [
28+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
29+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
30+
],
2931
snapshotUrls: 'https://i.gkd.li/i/15858023',
3032
},
3133
{

src/apps/cn.xiaochuankeji.zuiyouLite.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ export default defineGkdApp({
1515
rules: [
1616
{
1717
key: 0,
18-
matches:
19-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
18+
anyMatches: [
19+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
20+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
21+
],
2022
snapshotUrls: 'https://i.gkd.li/i/14546304',
2123
},
2224
{

src/apps/com.UCMobile.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ export default defineGkdApp({
1515
rules: [
1616
{
1717
key: 0,
18-
matches:
19-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
18+
anyMatches: [
19+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
20+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
21+
],
2022
snapshotUrls: 'https://i.gkd.li/i/13188653',
2123
},
2224
{

src/apps/com.anshibo.activity.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ export default defineGkdApp({
1313
priorityTime: 10000,
1414
rules: [
1515
{
16-
matches:
17-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
16+
anyMatches: [
17+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
18+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
19+
],
1820
exampleUrls: 'https://e.gkd.li/7f58925f-39dd-40c3-a8f1-f6e5268eced4',
1921
snapshotUrls: 'https://i.gkd.li/i/18046569',
2022
excludeSnapshotUrls: 'https://i.gkd.li/i/18047812', // 全局规则 key: 1 在此提前触发消耗次数

src/apps/com.app.lantt.xs.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ export default defineGkdApp({
1414
rules: [
1515
{
1616
key: 0,
17-
matches:
18-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
17+
anyMatches: [
18+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
19+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
20+
],
1921
snapshotUrls: 'https://i.gkd.li/i/14899867',
2022
},
2123
],

src/apps/com.baidu.duer.superapp.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ export default defineGkdApp({
2323
},
2424
{
2525
key: 1,
26-
matches:
27-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
26+
anyMatches: [
27+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
28+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
29+
],
2830
exampleUrls:
2931
'https://m.gkd.li/57941037/7d338956-f006-4775-a418-2ae6dc21ef9a',
3032
snapshotUrls: 'https://i.gkd.li/i/14204175',

src/apps/com.baidu.input.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ export default defineGkdApp({
2020
},
2121
{
2222
key: 1,
23-
matches:
24-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
23+
anyMatches: [
24+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
25+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
26+
],
2527
snapshotUrls: 'https://i.gkd.li/i/14406395',
2628
},
2729
],

src/apps/com.baidu.netdisk.samsung.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ export default defineGkdApp({
2323
},
2424
{
2525
key: 1,
26-
matches:
27-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
26+
anyMatches: [
27+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
28+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
29+
],
2830
exampleUrls:
2931
'https://m.gkd.li/57941037/7f1babd6-7da3-4733-aca9-80ddf3c0a84e',
3032
snapshotUrls: 'https://i.gkd.li/i/14596658',

src/apps/com.baidu.tieba.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ export default defineGkdApp({
2626
},
2727
{
2828
key: 1,
29-
matches:
30-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
29+
anyMatches: [
30+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
31+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
32+
],
3133
snapshotUrls: 'https://i.gkd.li/i/13322227',
3234
},
3335
{

src/apps/com.black.unique.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ export default defineGkdApp({
2828
priorityTime: 10000,
2929
rules: [
3030
{
31-
matches:
32-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
31+
anyMatches: [
32+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
33+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
34+
],
3335
exampleUrls:
3436
'https://m.gkd.li/57941037/63a72bd6-72be-410c-86ab-09ba7a4fa318',
3537
snapshotUrls: 'https://i.gkd.li/i/14167393',

src/apps/com.byfen.market.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ export default defineGkdApp({
1515
rules: [
1616
{
1717
key: 0,
18-
matches:
19-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
18+
anyMatches: [
19+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
20+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
21+
],
2022
snapshotUrls: [
2123
'https://i.gkd.li/i/13298944',
2224
'https://i.gkd.li/i/13800021',

src/apps/com.chunqiu.ah.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ export default defineGkdApp({
3030
},
3131
{
3232
key: 2,
33-
matches:
34-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
33+
anyMatches: [
34+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
35+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
36+
],
3537
snapshotUrls: 'https://i.gkd.li/i/15258457',
3638
},
3739
],

src/apps/com.coolapk.market.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ export default defineGkdApp({
2020
rules: [
2121
{
2222
key: 0,
23-
matches:
24-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
23+
anyMatches: [
24+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
25+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
26+
],
2527
snapshotUrls: [
2628
'https://i.gkd.li/i/12503773',
2729
'https://i.gkd.li/i/13247610',

src/apps/com.delicloud.app.smartoffice.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ export default defineGkdApp({
2323
},
2424
{
2525
key: 1,
26-
matches:
27-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
26+
anyMatches: [
27+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
28+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
29+
],
2830
snapshotUrls: [
2931
'https://i.gkd.li/i/13840775',
3032
'https://i.gkd.li/i/13944086',

src/apps/com.didapinche.booking.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ export default defineGkdApp({
2424
},
2525
{
2626
key: 1,
27-
matches:
28-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
27+
anyMatches: [
28+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
29+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
30+
],
2931
snapshotUrls: [
3032
'https://i.gkd.li/i/13988957',
3133
'https://i.gkd.li/i/13989178',

src/apps/com.diershoubing.erbing.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ export default defineGkdApp({
1515
rules: [
1616
{
1717
key: 0,
18-
matches:
19-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
18+
anyMatches: [
19+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
20+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
21+
],
2022
snapshotUrls: [
2123
'https://i.gkd.li/i/13378853',
2224
'https://i.gkd.li/i/13546165',

src/apps/com.dongqiudi.news.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ export default defineGkdApp({
1515
rules: [
1616
{
1717
key: 0,
18-
matches:
19-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
18+
anyMatches: [
19+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
20+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
21+
],
2022
snapshotUrls: [
2123
'https://i.gkd.li/i/12620568',
2224
'https://i.gkd.li/i/12621997',

src/apps/com.douban.frodo.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ export default defineGkdApp({
1515
rules: [
1616
{
1717
key: 0,
18-
matches:
19-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
18+
anyMatches: [
19+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
20+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
21+
],
2022
snapshotUrls: 'https://i.gkd.li/i/15981630',
2123
},
2224
{

src/apps/com.ecellsz.watch.guard.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ export default defineGkdApp({
1313
priorityTime: 10000,
1414
rules: [
1515
{
16-
matches:
17-
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
16+
anyMatches: [
17+
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
18+
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
19+
],
1820
snapshotUrls: 'https://i.gkd.li/i/14039510',
1921
},
2022
],

0 commit comments

Comments
 (0)