mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-12 21:30:30 +05:30
chore: update baseline profiles
This commit is contained in:
parent
2516d6e168
commit
5b19670fb6
@ -11,23 +11,10 @@
|
|||||||
"type": "UNIVERSAL",
|
"type": "UNIVERSAL",
|
||||||
"filters": [],
|
"filters": [],
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"versionCode": 35,
|
"versionCode": 54,
|
||||||
"versionName": "0.15.0",
|
"versionName": "0.24.0",
|
||||||
"outputFile": "app-universal-release.apk"
|
"outputFile": "app-universal-release.apk"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "ONE_OF_MANY",
|
|
||||||
"filters": [
|
|
||||||
{
|
|
||||||
"filterType": "ABI",
|
|
||||||
"value": "x86_64"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"attributes": [],
|
|
||||||
"versionCode": 35,
|
|
||||||
"versionName": "0.15.0",
|
|
||||||
"outputFile": "app-x86_64-release.apk"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "ONE_OF_MANY",
|
"type": "ONE_OF_MANY",
|
||||||
"filters": [
|
"filters": [
|
||||||
@ -37,8 +24,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"versionCode": 35,
|
"versionCode": 54,
|
||||||
"versionName": "0.15.0",
|
"versionName": "0.24.0",
|
||||||
"outputFile": "app-armeabi-v7a-release.apk"
|
"outputFile": "app-armeabi-v7a-release.apk"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -50,10 +37,23 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"versionCode": 35,
|
"versionCode": 54,
|
||||||
"versionName": "0.15.0",
|
"versionName": "0.24.0",
|
||||||
"outputFile": "app-x86-release.apk"
|
"outputFile": "app-x86-release.apk"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "x86_64"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 54,
|
||||||
|
"versionName": "0.24.0",
|
||||||
|
"outputFile": "app-x86_64-release.apk"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "ONE_OF_MANY",
|
"type": "ONE_OF_MANY",
|
||||||
"filters": [
|
"filters": [
|
||||||
@ -63,10 +63,35 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"versionCode": 35,
|
"versionCode": 54,
|
||||||
"versionName": "0.15.0",
|
"versionName": "0.24.0",
|
||||||
"outputFile": "app-arm64-v8a-release.apk"
|
"outputFile": "app-arm64-v8a-release.apk"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"elementType": "File"
|
"elementType": "File",
|
||||||
|
"baselineProfiles": [
|
||||||
|
{
|
||||||
|
"minApi": 28,
|
||||||
|
"maxApi": 30,
|
||||||
|
"baselineProfiles": [
|
||||||
|
"baselineProfiles/1/app-universal-release.dm",
|
||||||
|
"baselineProfiles/1/app-armeabi-v7a-release.dm",
|
||||||
|
"baselineProfiles/1/app-x86-release.dm",
|
||||||
|
"baselineProfiles/1/app-x86_64-release.dm",
|
||||||
|
"baselineProfiles/1/app-arm64-v8a-release.dm"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"minApi": 31,
|
||||||
|
"maxApi": 2147483647,
|
||||||
|
"baselineProfiles": [
|
||||||
|
"baselineProfiles/0/app-universal-release.dm",
|
||||||
|
"baselineProfiles/0/app-armeabi-v7a-release.dm",
|
||||||
|
"baselineProfiles/0/app-x86-release.dm",
|
||||||
|
"baselineProfiles/0/app-x86_64-release.dm",
|
||||||
|
"baselineProfiles/0/app-arm64-v8a-release.dm"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minSdkVersionForDexing": 21
|
||||||
}
|
}
|
@ -65,16 +65,16 @@ class BaselineProfileGenerator {
|
|||||||
// https://d.android.com/training/testing/other-components/ui-automator
|
// https://d.android.com/training/testing/other-components/ui-automator
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
private fun MacrobenchmarkScope.loadHomePage() {
|
|
||||||
// Select a Piped instance on the initial screen and click the OK button
|
fun MacrobenchmarkScope.loadHomePage() {
|
||||||
val selector = By.clazz(RadioButton::class.java)
|
// Select a Piped instance on the initial screen and click the OK button
|
||||||
device.wait(Until.hasObject(selector), 1000)
|
val selector = By.clazz(RadioButton::class.java)
|
||||||
device.findObject(selector)?.click()
|
device.wait(Until.hasObject(selector), 1000)
|
||||||
|
device.findObject(selector)?.click()
|
||||||
device.findObject(By.text("OK"))?.click()
|
|
||||||
|
device.findObject(By.text("OK"))?.click()
|
||||||
// Wait until the home page is loaded
|
|
||||||
device.wait(Until.hasObject(By.text("Home")), 1000)
|
// Wait until the home page is loaded
|
||||||
}
|
device.wait(Until.hasObject(By.text("Home")), 1000)
|
||||||
}
|
}
|
@ -62,14 +62,7 @@ class StartupBenchmarks {
|
|||||||
measureBlock = {
|
measureBlock = {
|
||||||
startActivityAndWait()
|
startActivityAndWait()
|
||||||
|
|
||||||
// TODO Add interactions to wait for when your app is fully drawn.
|
loadHomePage()
|
||||||
// The app is fully drawn when Activity.reportFullyDrawn is called.
|
|
||||||
// For Jetpack Compose, you can use ReportDrawn, ReportDrawnWhen and ReportDrawnAfter
|
|
||||||
// from the AndroidX Activity library.
|
|
||||||
|
|
||||||
// Check the UiAutomator documentation for more information on how to
|
|
||||||
// interact with the app.
|
|
||||||
// https://d.android.com/training/testing/other-components/ui-automator
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user