Skip to content

Commit dd857e5

Browse files
authored
Use namespace runner for codspeed benchmarks (#2925)
Use namespace runner for codespeed benchmarks About performances, we almost cut by half the build and benchmark times with a machine with the same number of cores and the half of RAM. --------- Co-authored-by: Alexis Placet <2400067+Alex-PLACET@users.noreply.github.com>
1 parent 37e4b58 commit dd857e5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/codspeed.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ name: CodSpeed
33
on:
44
push:
55
branches: [master]
6-
pull_request:
7-
# Allow CodSpeed to trigger backtest performance analysis
6+
pull_request: # Allow CodSpeed to trigger backtest performance analysis
7+
88
workflow_dispatch:
99

10+
1011
permissions:
1112
contents: read
1213
id-token: write
@@ -22,7 +23,7 @@ defaults:
2223
jobs:
2324
benchmarks:
2425
name: Run benchmarks
25-
runs-on: ubuntu-latest
26+
runs-on: namespace-profile-benchmark;container.privileged=true;container.host-pid-namespace=true
2627
steps:
2728
- name: Checkout code
2829
uses: actions/checkout@v6

0 commit comments

Comments
 (0)