diff --git a/.github/workflows/performance.yaml b/.github/workflows/performance.yaml index 880dc20f..ef831fba 100644 --- a/.github/workflows/performance.yaml +++ b/.github/workflows/performance.yaml @@ -57,7 +57,9 @@ jobs: cargo install flamegraph - name: Run flamegraph - run: flamegraph -o flame-${{ matrix.test }}.svg -- ${{ steps.executable.outputs.exec }} ${{ matrix.test }} + run: | + sudo sysctl kernel.perf_event_paranoid=-1 + sudo flamegraph -o flame-${{ matrix.test }}.svg -- ${{ steps.executable.outputs.exec }} ${{ matrix.test }} - name: Upload python tests HTMLs uses: actions/upload-artifact@v3