Log conversation open time

This commit is contained in:
Fedor Indutny
2022-01-19 16:40:29 -08:00
committed by GitHub
parent f1586578ff
commit 26421b8c18
6 changed files with 72 additions and 15 deletions

View File

@@ -114,6 +114,20 @@ jobs:
RUN_COUNT: 100
ELECTRON_ENABLE_STACK_DUMPING: on
- name: Run conversation open benchmarks
run: |
set -o pipefail
rm -rf /tmp/mock
xvfb-run --auto-servernum ts-node \
Mock-Server/scripts/convo-open-test.ts \
./node_modules/.bin/electron . | tee benchmark-convo-open.log || \
(cat /tmp/mock/logs/{app,main}.log && exit 1)
timeout-minutes: 10
env:
NODE_ENV: production
RUN_COUNT: 100
ELECTRON_ENABLE_STACK_DUMPING: on
- name: Clone benchmark repo
uses: actions/checkout@v2
with:
@@ -128,6 +142,7 @@ jobs:
node ./bin/collect.js ../benchmark-startup.log data/startup.json
node ./bin/collect.js ../benchmark-send.log data/send.json
node ./bin/collect.js ../benchmark-group-send.log data/group-send.json
node ./bin/collect.js ../benchmark-convo-open.log data/convo-open.json
npm run build
git config --global user.email "no-reply@signal.org"
git config --global user.name "Signal Bot"