NTP-1234 | Macrobenchmark | Update analyse.py (#14510)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* * Copyright © 2024 by Navi Technologies Limited
|
||||
* * Copyright © 2024-2025 by Navi Technologies Limited
|
||||
* * All rights reserved. Strictly confidential
|
||||
*
|
||||
*/
|
||||
@@ -28,7 +28,7 @@ class NaviBaselineProfile {
|
||||
@RequiresApi(Build.VERSION_CODES.P)
|
||||
@Test
|
||||
fun generate() =
|
||||
baselineProfileRule.collect(PACKAGE_NAME, maxIterations = 10) {
|
||||
baselineProfileRule.collect(PACKAGE_NAME, maxIterations = 3) {
|
||||
startActivityAndAllowPermissions()
|
||||
performLogin()
|
||||
waitForHomePage()
|
||||
|
||||
@@ -38,7 +38,7 @@ class HomePageScrollBenchmark {
|
||||
benchmarkRule.measureRepeated(
|
||||
packageName = PACKAGE_NAME,
|
||||
metrics = listOf(FrameTimingMetric()),
|
||||
iterations = 10,
|
||||
iterations = 3,
|
||||
startupMode = StartupMode.WARM,
|
||||
compilationMode = compilationMode,
|
||||
setupBlock = {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* * Copyright © 2024 by Navi Technologies Limited
|
||||
* * Copyright © 2024-2025 by Navi Technologies Limited
|
||||
* * All rights reserved. Strictly confidential
|
||||
*
|
||||
*/
|
||||
@@ -36,7 +36,7 @@ class StartupBenchmark {
|
||||
packageName = PACKAGE_NAME,
|
||||
metrics = listOf(StartupTimingMetric()),
|
||||
compilationMode = compilationMode,
|
||||
iterations = 10,
|
||||
iterations = 3,
|
||||
startupMode = StartupMode.COLD,
|
||||
setupBlock = { pressHome() },
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user