android-perf-testing
android-perf-testing copied to clipboard
Automated Performance Testing on Android
Instructions should possibly suggest disabling InstantRun and/or not enabling it when AS prompts for it.
CRITICAL:root:(TimeoutThread-1-for-MainThread) Exception on _RunAdbCmd(, ['devices'], retries=2, timeout=30), attempt 1 of 3: ValueError('close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr',) CRITICAL:root:(TimeoutThread-2-for-MainThread) Exception on _RunAdbCmd(, ['devices'], retries=2, timeout=30), attempt...
Hello, your codelab states: > ${ANDROID_HOME}/tools/monkeyrunner ./run_perf_tests.py ./ However, that is incorrect, as the monkeyrunner executable is located in **${ANDROID_HOME}/tools/bin/monkeyrunner**
I can't see my trace sections in the trace.html by using run_perf_tests.py with the EnableTestTracing rule, it works when launching systrace from ddms and then running the test. Do you...
When executing Step 7 on Windows 10 I get the error above. I am running this command from the project's directory: ``` gradlew :app:assembleDebug :app:assembleD ebugAndroidTest :app:installDebug :app:installDebugAndroidTest %ANDROID_HOME%\tools\monkeyrunner run_perf_tests.py...
There's a typo in [step 2](https://codelabs.developers.google.com/codelabs/android-perf-testing/index.html?index=..%2F..%2Findex#1): `The Android SDK path should be set as the ANDROID_HOME environment variable. The command echo $JAVA_HOME or echo %ANDROID_HOME% should output the directory of...
Running `%ANDROID_HOME%\tools\monkeyrunner run_perf_tests.py .\ ` at the project's root does not work. Monkeyrunner expects scripts in the same folder where it's at and the tutorial does not mention moving the...
FYI:Running the test on Windows 10 Your command: gradlew :app:assembleDebug :app:assembleDebugAndroidTest ... I think list an incorrect task, :app:assembleDebugAndroidTest. Should be: gradlew :app:assembleDebug :app:assembleAndroidTest ....
On my windows 7 installation the script fails at executing line 79 of the run_perf_tests.py . The reason is: `os_error` global is not defined. I tried to modify that on...
We should be able to use the new Gradle Transform API to auto-add the rules to the Test classes instead of making the devs maintain a list of member variables....