diff --git a/.github/scripts/run_macrobenchmarks.sh b/.github/scripts/run_macrobenchmarks.sh index 339068d25..b18622081 100644 --- a/.github/scripts/run_macrobenchmarks.sh +++ b/.github/scripts/run_macrobenchmarks.sh @@ -24,12 +24,8 @@ run_benchmark() { # but we will need to deal with making sure things are running correctly # and locating the output JSON files. ./gradlew :benchmarks:connectedDemoBenchmarkAndroidTest \ - --no-daemon \ - --no-build-cache \ - --rerun-tasks \ - -x assemble \ - -Pandroid.testInstrumentationRunnerArguments.class=com.google.samples.apps.nowinandroid.startup.StartupBenchmark \ - -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.suppressErrors=EMULATOR + -Pandroid.testInstrumentationRunnerArguments.class=com.google.samples.apps.nowinandroid.startup.StartupBenchmark \ + -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.suppressErrors=EMULATOR JSON_REPORT=$(find "$OUTPUT_DIR" -type f -name "*.json") COUNT=$(echo "$JSON_REPORT" | wc -l | tr -d ' ')