Skip to content

Commit

Permalink
Run ps to see the top CPU eaters
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev committed Nov 14, 2024
1 parent 3846f89 commit 296ddf4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Benchmark

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
macos:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 296ddf4

Please sign in to comment.