commit | 629198100836ab3754d130c5867a5ab8c96bc775 | [log] [tgz] |
---|---|---|
author | Sebastian Ene <sebastianene@google.com> | Tue Oct 04 08:53:30 2022 +0000 |
committer | Sebastian Ene <sebastianene@google.com> | Thu Oct 13 13:49:14 2022 +0000 |
tree | ce0a878b2bb51b6373b30b553786970cc859b82c | |
parent | fb46ee1dc1d3fe3799ddfd2b7ad224472fca537f [diff] |
Measure app startup impact after VM teardown Add a host side test as part of MicrodroidTestCase which starts a Microdroid VM that reserves 80% of the device's memory reported from /proc/meminfo (MemFree - field) and touches all the allocated guest memory with a tmpfs filesystem and successive copies from /dev/zero. This step is necessary to create host stage2 fragmentation and we measure a cold app startup time delta before and after we tear-down the VM. The following metrics will be reported during atest AVFHostTestCase#testAppStartupTime: app_startup/com.android.settings/total_time/before_vm app_startup/com.android.settings/wait_time/before_vm app_startup/com.android.settings/total_time/during_vm app_startup/com.android.settings/wait_time/during_vm app_startup/com.android.settings/total_time/after_vm app_startup/com.android.settings/wait_time/after_vm Bug: 236621823 Test: Verified localy using atest Change-Id: Iede9d6f0507c8d7e56b3e32324441ff11e54fa1e
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.