Skip to content

Commit

Permalink
Can't mess with cpu boost on Github hosted machines (redux)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazimuth committed Jan 22, 2024
1 parent 44632e1 commit 8fdc2ba
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
env:
PR_NUMBER: ${{ github.event.inputs.pr_number || github.event.issue.number || null }}
steps:
# - name: Enable CPU boost
# run: echo "1" | sudo tee /sys/devices/system/cpu/cpufreq/boost
- name: Enable CPU boost
run: echo "1" | sudo tee /sys/devices/system/cpu/cpufreq/boost

- name: Check membership
if: ${{ github.event_name == 'issue_comment' }}
Expand Down Expand Up @@ -195,9 +195,10 @@ jobs:
cargo install --git https://github.com/clockworklabs/iai-callgrind.git --branch main iai-callgrind-runner
git config --global --add safe.directory /__w/SpacetimeDB/SpacetimeDB
- name: Enable CPU boost
shell: bash
run: echo "1" | sudo tee /sys/devices/system/cpu/cpufreq/boost
# can't do this off self hosted:
# - name: Enable CPU boost
# shell: bash
# run: echo "1" | sudo tee /sys/devices/system/cpu/cpufreq/boost

- name: Check membership
if: ${{ github.event_name == 'issue_comment' }}
Expand Down

2 comments on commit 8fdc2ba

@github-actions
Copy link

@github-actions github-actions bot commented on 8fdc2ba Jan 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmarking failed. Please check the workflow run for details.

@github-actions
Copy link

@github-actions github-actions bot commented on 8fdc2ba Jan 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark results Error when comparing benchmarks:

Caused by:

Please sign in to comment.