From 296ddf45551a0bbd5ec800b878762294a818a910 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Thu, 14 Nov 2024 10:26:03 +0100 Subject: [PATCH] Run ps to see the top CPU eaters --- .github/workflows/benchmark.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index abedcd11..c31d7d68 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -2,9 +2,6 @@ name: Benchmark on: push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] jobs: macos: @@ -32,6 +29,10 @@ jobs: run: echo "REPORT_NAME=$(echo ${{ matrix.image }} | sed 's/:/-/g')" >> $GITHUB_ENV - name: Run benchmark run: sh benchmark.sh + - name: Run ps (without parent-child aggregation) + run: ps axco time,comm | sort -r -k1 + - name: Run ps (with parent-child aggregation) + run: ps Saxco time,comm | sort -r -k1 - name: Save report uses: actions/upload-artifact@v4 with: