diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 996f5fbbb..6d8a3c6df 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -69,8 +69,8 @@ jobs: run: | set -o pipefail rm -rf /tmp/mock - xvfb-run --auto-servernum \ - ts-node Mock-Server/scripts/load-test.ts ./node_modules/.bin/electron . | tee benchmark.log || \ + xvfb-run --auto-servernum ts-node Mock-Server/scripts/load-test.ts \ + ./node_modules/.bin/electron . | tee benchmark-startup.log || \ (cat /tmp/mock/logs/{app,main}.log && exit 1) timeout-minutes: 10 env: @@ -82,8 +82,8 @@ jobs: run: | set -o pipefail rm -rf /tmp/mock - xvfb-run --auto-servernum \ - ts-node Mock-Server/scripts/send-test.ts ./node_modules/.bin/electron . | tee send-benchmark.log || \ + xvfb-run --auto-servernum ts-node Mock-Server/scripts/send-test.ts \ + ./node_modules/.bin/electron . | tee benchmark-send.log || \ (cat /tmp/mock/logs/{app,main}.log && exit 1) timeout-minutes: 10 env: @@ -91,19 +91,19 @@ jobs: RUN_COUNT: 100 ELECTRON_ENABLE_STACK_DUMPING: on - - name: Clone benchmark branch + - name: Clone benchmark repo uses: actions/checkout@v2 with: repository: 'signalapp/Signal-Desktop-Benchmarks-Private' path: 'benchmark-results' token: ${{ secrets.AUTOMATED_GITHUB_PAT }} - - name: Push benchmark branch + - name: Push benchmark repo working-directory: benchmark-results run: | npm ci - node ./bin/collect.js ../benchmark.log data.json - node ./bin/collect.js ../send-benchmark.log send-data.json + node ./bin/collect.js ../benchmark-startup.log data/startup.json + node ./bin/collect.js ../benchmark-send.log data/send.json npm run build git config --global user.email "no-reply@signal.org" git config --global user.name "Signal Bot"