[Benchmark migration] Disable Buildkite Android compilation statistics (#12207)
diff --git a/build_tools/buildkite/cmake/android/arm64-v8a/benchmark2.yml b/build_tools/buildkite/cmake/android/arm64-v8a/benchmark2.yml index 1a8a660..2c78376 100644 --- a/build_tools/buildkite/cmake/android/arm64-v8a/benchmark2.yml +++ b/build_tools/buildkite/cmake/android/arm64-v8a/benchmark2.yml
@@ -105,27 +105,6 @@ - "trace-captures-moto-edge-x30-${BUILDKITE_BUILD_NUMBER}.tgz" timeout_in_minutes: "60" - - label: ":recycle: Collect compilation statistics" - key: "collect-compilation-statistics" - commands: | - git clean -fdx - buildkite-agent artifact download --step Build \ - "benchmark-suites-$${BUILDKITE_BUILD_NUMBER}.tgz" ./ - tar -xzvf "benchmark-suites-$${BUILDKITE_BUILD_NUMBER}.tgz" - python3 build_tools/benchmarks/collect_compilation_statistics.py \ - legacy \ - --verbose \ - --output "compile-stats-results-$${BUILDKITE_BUILD_NUMBER}.json" \ - "build-host" - if: > - build.pull_request.id == null || - build.pull_request.labels includes 'buildkite:benchmark-android' - agents: - - "queue=build" - artifact_paths: - - "compile-stats-results-${BUILDKITE_BUILD_NUMBER}.json" - timeout_in_minutes: "10" - - wait - label: "Comment benchmark results on pull request" @@ -135,7 +114,6 @@ git fetch -v --prune --no-recurse-submodules -- origin \ "$${BUILDKITE_PULL_REQUEST_BASE_BRANCH}" buildkite-agent artifact download "benchmark-results-*.json" ./ - buildkite-agent artifact download "compile-stats-results-*.json" ./ # The script will handle the wildcard patterns. # --comment_type_id is a random-generated id and shouldn't be changed ( # even we change the title); otherwise the script will post a new comment @@ -143,7 +121,6 @@ python3 build_tools/benchmarks/generate_benchmark_comment.py \ --verbose \ --benchmark_files="benchmark-results-*.json" \ - --compile_stats_files="compile-stats-results-*.json" \ --pr_number="$${BUILDKITE_PULL_REQUEST}" \ --pr_committish="$${BUILDKITE_COMMIT}" \ --pr_base_branch="origin/$${BUILDKITE_PULL_REQUEST_BASE_BRANCH}" \ @@ -165,11 +142,9 @@ commands: | git clean -fdx buildkite-agent artifact download benchmark-results-*.json ./ - buildkite-agent artifact download "compile-stats-results-*.json" ./ python3 build_tools/benchmarks/upload_benchmarks_to_dashboard.py \ --verbose \ - --benchmark_files benchmark-results-*.json \ - --compile_stats_files compile-stats-results-*.json + --benchmark_files benchmark-results-*.json key: "upload-to-dashboard" branches: "main" agents:
diff --git a/build_tools/cmake/build_android_benchmark.sh b/build_tools/cmake/build_android_benchmark.sh index e4d8b1a..9f5c4fc 100755 --- a/build_tools/cmake/build_android_benchmark.sh +++ b/build_tools/cmake/build_android_benchmark.sh
@@ -66,7 +66,6 @@ -DIREE_BUILD_COMPILER=ON \ -DIREE_BUILD_TESTS=OFF \ -DIREE_BUILD_BENCHMARKS=ON \ - -DIREE_ENABLE_COMPILATION_BENCHMARKS=ON \ -DIREE_BUILD_MICROBENCHMARKS=ON \ -DIREE_BUILD_SAMPLES=OFF