You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by ma...@apache.org on 2024/06/11 01:13:44 UTC

(incubator-gluten) branch main updated: [CI][VL] Re-enable native benchmark test (#6020)

This is an automated email from the ASF dual-hosted git repository.

marong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new df627bee6 [CI][VL] Re-enable native benchmark test (#6020)
df627bee6 is described below

commit df627bee60bd597ff3fb1067479ceda8069f8902
Author: PHILO-HE <fe...@intel.com>
AuthorDate: Tue Jun 11 09:13:39 2024 +0800

    [CI][VL] Re-enable native benchmark test (#6020)
---
 .github/workflows/velox_docker.yml | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/velox_docker.yml b/.github/workflows/velox_docker.yml
index ca0656091..6c1be4344 100644
--- a/.github/workflows/velox_docker.yml
+++ b/.github/workflows/velox_docker.yml
@@ -581,6 +581,10 @@ jobs:
         with:
           name: udf-example-lib-centos-8-${{github.sha}}
           path: ./cpp/build/velox/udf/examples/
+      - uses: actions/upload-artifact@v2
+        with:
+          name: benchmark-centos-8-${{github.sha}}
+          path: ./cpp/build/velox/benchmarks/
       - uses: actions/upload-artifact@v2
         with:
           name: arrow-jars-centos-8-${{github.sha}}
@@ -604,6 +608,11 @@ jobs:
         with:
           name: udf-example-lib-centos-8-${{github.sha}}
           path: ./cpp/build/velox/udf/examples/
+      - name: Download Benchmark
+        uses: actions/download-artifact@v2
+        with:
+          name: benchmark-centos-8-${{github.sha}}
+          path: ./cpp/build/velox/benchmarks/
       - name: Download Arrow Jars
         uses: actions/download-artifact@v2
         with:
@@ -663,11 +672,12 @@ jobs:
         with:
           name: golden-files-spark32
           path: /tmp/tpch-approved-plan/**
-      # - name: Gluten CPP Benchmark Test
-      #   run: |
-      #     # This test depends on example.json generated by the above mvn test.
-      #     cd $GITHUB_WORKSPACE/cpp/build/velox/benchmarks && \
-      #     ./generic_benchmark --run-example --with-shuffle --threads 1 --iterations 1
+      - name: Gluten CPP Benchmark Test
+        run: |
+          # This test depends on example.json generated by the above mvn test.
+          cd $GITHUB_WORKSPACE/cpp/build/velox/benchmarks && \
+          sudo chmod +x ./generic_benchmark && \
+          ./generic_benchmark --run-example --with-shuffle --threads 1 --iterations 1
 
   run-spark-test-spark32-slow:
     needs: build-native-lib-centos-8
@@ -1097,4 +1107,4 @@ jobs:
       - name: Build and Run unit test for Spark 3.5.1 (slow tests)
         run: |
           cd $GITHUB_WORKSPACE/
-          $MVN_CMD clean install -Pspark-3.5 -Pbackends-velox -Pceleborn -Piceberg -Pdelta -Pspark-ut -DargLine="-Dspark.test.home=$GITHUB_WORKSPACE//shims/spark35/spark_home/" -DtagsToInclude=org.apache.spark.tags.ExtendedSQLTest
\ No newline at end of file
+          $MVN_CMD clean install -Pspark-3.5 -Pbackends-velox -Pceleborn -Piceberg -Pdelta -Pspark-ut -DargLine="-Dspark.test.home=$GITHUB_WORKSPACE//shims/spark35/spark_home/" -DtagsToInclude=org.apache.spark.tags.ExtendedSQLTest


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org