[object Object]

← back to Exo

t

90677415c71d049e52976afc4b1ec1ccc957d955 · 2024-12-11 22:01:29 +0000 · Alex Cheema

Files touched

Diff

commit 90677415c71d049e52976afc4b1ec1ccc957d955
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Wed Dec 11 22:01:29 2024 +0000

    t
---
 .github/workflows/bench_job.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/bench_job.yml b/.github/workflows/bench_job.yml
index 24794348..76db19e1 100644
--- a/.github/workflows/bench_job.yml
+++ b/.github/workflows/bench_job.yml
@@ -75,8 +75,12 @@ jobs:
           
           # Additional runtime optimizations
           
-          # Set process scheduling
-          sudo taskpolicy -b PERFORMANCE
+          # Check if taskpolicy exists before using it
+          if command -v taskpolicy >/dev/null 2>&1; then
+            sudo taskpolicy -b PERFORMANCE
+          else
+            echo "taskpolicy command not available, skipping process scheduling optimization"
+          fi
           
           # Verify optimizations
           echo "Verifying performance settings..."

← 6cf2af39 t  ·  back to Exo  ·  t d0b7f1b4 →