File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ jobs:
221
221
- name : Tune system
222
222
if : ${{ steps.should_run.outputs.should_run != 'false' }}
223
223
run : |
224
- sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH venv/bin/python -m pyperf system ${{ inputs.perf && 'reset' || 'tune' }}
224
+ sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH venv/bin/python -m pyperf system ${{ inputs.perf && 'reset' || 'tune ${PYPERF_CPU_AFFINITY:+--affinity="$PYPERF_CPU_AFFINITY"} ' }}
225
225
- name : Tune for (Linux) perf
226
226
if : ${{ steps.should_run.outputs.should_run != 'false' && inputs.perf }}
227
227
run : |
@@ -232,6 +232,10 @@ jobs:
232
232
run : |
233
233
rm -rf ~/.debug/*
234
234
venv/bin/python -m bench_runner run_benchmarks ${{ inputs.perf && 'perf' || 'benchmark' }} cpython/python ${{ inputs.fork }} ${{ inputs.ref }} ${{ inputs.benchmarks || 'all' }} ${{ env.flags }} --run_id ${{ github.run_id }}
235
+ - name : Untune system
236
+ if : ${{ steps.should_run.outputs.should_run != 'false' }}
237
+ run : |
238
+ sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH venv/bin/python -m pyperf system reset
235
239
# Pull again, since another job may have committed results in the meantime
236
240
- name : Pull benchmarking
237
241
if : ${{ steps.should_run.outputs.should_run != 'false' && !inputs.perf }}
You can’t perform that action at this time.
0 commit comments