Skip to content

Commit 0facb96

Browse files
authored
Enhance performance workflow with CPU tools
Added steps to install CPU frequency tools and verify settings.
1 parent 7627f91 commit 0facb96

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/performance.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
14+
- name: Install CPU Frequency Tools
15+
run: |
16+
sudo apt-get update
17+
sudo apt-get install -y linux-cpupower
1518
- name: Setup Environment
1619
run: |
1720
sudo cpupower frequency-set -g performance
1821
sudo systemctl stop bluetooth cups avahi-daemon
22+
- name: Verify CPU Settings
23+
run: |
24+
if [ -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ]; then
25+
echo "Current governor: $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)"
26+
fi
27+
cat /proc/cpuinfo | grep "processor" | head -5
1928
- name: Configure CMake
2029
run: |
2130
cmake -B ${{ github.workspace }}/build

0 commit comments

Comments
 (0)