File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 runs-on : ubuntu-latest
2323 strategy :
2424 matrix :
25- type : [performance ] # , memory] # memory profile disabled due to variance
25+ type : [simulation ] # , memory] # memory profile disabled due to variance
2626 package : [
2727 uu_base64,
2828 uu_cksum,
@@ -78,18 +78,14 @@ jobs:
7878 shell : bash
7979 run : |
8080 echo "Building ${{ matrix.type }} benchmarks for ${{ matrix.package }}"
81- if [ "${{ matrix.type }}" = "memory" ]; then
82- cargo codspeed build -m analysis -p ${{ matrix.package }}
83- else
84- cargo codspeed build -p ${{ matrix.package }}
85- fi
81+ cargo codspeed build -m ${{ matrix.type }} -p ${{ matrix.package }}
8682
8783 - name : Run ${{ matrix.type }} benchmarks for ${{ matrix.package }}
8884 uses : CodSpeedHQ/action@v4
8985 env :
9086 CODSPEED_LOG : debug
9187 with :
92- mode : ${{ matrix.type == 'memory' && 'memory' || 'simulation' }}
88+ mode : ${{ matrix.type }}
9389 run : |
9490 echo "Running ${{ matrix.type }} benchmarks for ${{ matrix.package }}"
9591 cargo codspeed run -p ${{ matrix.package }} > /dev/null
You can’t perform that action at this time.
0 commit comments