chore(zero-cache): make logs and otel metrics for advance take yielding into account #13220
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Perf Tests Smoke | |
| on: | |
| pull_request: | |
| branches: [main] | |
| merge_group: | |
| # This allows a subsequently queued workflow run to interrupt previous runs | |
| concurrency: | |
| group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| benchmark-smoke: | |
| name: Performance runner smoke test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| cache: 'npm' | |
| - run: npm ci | |
| - name: Install Playwright | |
| run: npx playwright install --with-deps | |
| - name: Run benchmark | |
| shell: bash | |
| working-directory: packages/replicache-perf | |
| run: | | |
| npm run build | |
| npx tsx src/runner.ts --format=json --run='populate 1024x1000 \(clean, indexes: 0\)' |