From 67a583c15fbfde94c1555482f4abdc0084b4df49 Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 27 Nov 2023 18:52:07 -0800 Subject: [PATCH] perf tweak --- .github/workflows/android-perf.yml | 8 ++++---- .github/workflows/ios-perf.yml | 4 ++-- .github/workflows/web-perf.yml | 4 ++-- binding/web/test/leopard_perf.test.ts | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/android-perf.yml b/.github/workflows/android-perf.yml index 70878631..f0cc6ca8 100644 --- a/.github/workflows/android-perf.yml +++ b/.github/workflows/android-perf.yml @@ -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 diff --git a/.github/workflows/ios-perf.yml b/.github/workflows/ios-perf.yml index 84958078..03e4f2d1 100644 --- a/.github/workflows/ios-perf.yml +++ b/.github/workflows/ios-perf.yml @@ -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 diff --git a/.github/workflows/web-perf.yml b/.github/workflows/web-perf.yml index ed2e16e0..96c9cf38 100644 --- a/.github/workflows/web-perf.yml +++ b/.github/workflows/web-perf.yml @@ -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 diff --git a/binding/web/test/leopard_perf.test.ts b/binding/web/test/leopard_perf.test.ts index d4090a99..f874befa 100644 --- a/binding/web/test/leopard_perf.test.ts +++ b/binding/web/test/leopard_perf.test.ts @@ -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';