Skip to content

Commit

Permalink
perf tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Nov 28, 2023
1 parent dfadddf commit 67a583c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/android-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
device: [single-android, 32bit-android]
include:
- device: single-android
initPerformanceThresholdSec: 3.0
procPerformanceThresholdSec: 0.5
initPerformanceThresholdSec: 6.0
procPerformanceThresholdSec: 1.0
- device: 32bit-android
initPerformanceThresholdSec: 9.0
procPerformanceThresholdSec: 3.5
initPerformanceThresholdSec: 18.0
procPerformanceThresholdSec: 7.0

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
device: [ios-perf]
include:
- device: ios-perf
initPerformanceThresholdSec: 1.5
procPerformanceThresholdSec: 0.2
initPerformanceThresholdSec: 3.0
procPerformanceThresholdSec: 0.4

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/web-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
node-version: [lts/*]
include:
- node-version: lts/*
initPerformanceThresholdSec: 8.5
procPerformanceThresholdSec: 0.6
initPerformanceThresholdSec: 9.0
procPerformanceThresholdSec: 0.8

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion binding/web/test/leopard_perf.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function testPerformance(
}

describe('Leopard binding performance test', () => {
Cypress.config('defaultCommandTimeout', 120000);
Cypress.config('defaultCommandTimeout', 160000);

for (const instance of [Leopard, LeopardWorker]) {
const instanceString = (instance === LeopardWorker) ? 'worker' : 'main';
Expand Down

0 comments on commit 67a583c

Please sign in to comment.