Skip to content

Commit 0541df7

Browse files
authored
CI(benchmark): run benchmark on codspeed-macro for wall time (#858)
The previous results are not reliable, due to CodSpeedHQ/pytest-codspeed#37. The new method is good. See https://docs.codspeed.io/instruments/walltime/#usage-with-github-actions <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated the benchmark workflow to run only for the "deepmodeling" repository owner and switched the runner environment to a custom setup. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent efa66a7 commit 0541df7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66

77
jobs:
88
benchmark:
9-
runs-on: ubuntu-latest
9+
if: ${{ github.repository_owner == 'deepmodeling' }}
10+
runs-on: codspeed-macro
1011
steps:
1112
- uses: actions/checkout@v4
1213
- name: Set up Python

0 commit comments

Comments
 (0)