Fix CallsTab infinite scroll loading and add benchmark

This commit is contained in:
Jamie Kyle
2024-09-09 11:59:43 -07:00
committed by GitHub
parent df2c32be83
commit 534a625235
3 changed files with 227 additions and 1 deletions

View File

@@ -155,6 +155,21 @@ jobs:
# DEBUG: 'mock:benchmarks'
ARTIFACTS_DIR: artifacts/convo-open
- name: Run call history search benchmarks
run: |
set -o pipefail
rm -rf /tmp/mock
xvfb-run --auto-servernum node \
ts/test-mock/benchmarks/call_history_search_bench.js | \
tee benchmark-call-history-search.log
timeout-minutes: 10
env:
NODE_ENV: production
RUN_COUNT: 100
ELECTRON_ENABLE_STACK_DUMPING: on
# DEBUG: 'mock:benchmarks'
ARTIFACTS_DIR: artifacts/call-history-search
- name: Upload benchmark logs on failure
if: failure()
uses: actions/upload-artifact@v4
@@ -184,5 +199,6 @@ jobs:
node ./bin/publish.js ../benchmark-large-group-send-with-blocks.log desktop.ci.performance.largeGroupSendWithBlocks
node ./bin/publish.js ../benchmark-large-group-send.log desktop.ci.performance.largeGroupSend
node ./bin/publish.js ../benchmark-convo-open.log desktop.ci.performance.convoOpen
node ./bin/publish.js ../benchmark-call-history-search.log desktop.ci.performance.callHistorySearch
env:
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}