mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 08:28:17 +01:00
Log conversation open time
This commit is contained in:
15
.github/workflows/benchmark.yml
vendored
15
.github/workflows/benchmark.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user