Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
No issue: increase sleep duration in cold_view_nav_start benchmark.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcomella committed Jun 17, 2021
1 parent 79af077 commit 3905859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/measure_start_up.py
Expand Up @@ -134,7 +134,7 @@ def get_measurement(test_name, pkg_id, stdout):
if test_name in [TEST_COLD_MAIN_FF, TEST_COLD_VIEW_FF]:
measurement = get_measurement_from_am_start_log(stdout)
elif test_name in [TEST_COLD_VIEW_NAV_START, TEST_COLD_MAIN_RESTORE]:
time.sleep(3) # We must sleep until the navigation start event occurs.
time.sleep(4) # We must sleep until the navigation start event occurs.
proc = subprocess.run(['adb', 'logcat', '-d'], check=True, capture_output=True)
measurement = get_measurement_from_nav_start_logcat(pkg_id, proc.stdout)
else: raise NotImplementedError('method unexpectedly undefined for test_name {}'.format(test_name))
Expand Down

0 comments on commit 3905859

Please sign in to comment.