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 fb308c1 commit dfec6ff
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ jobs:
init_performance_threshold_sec: 12.0
proc_performance_threshold_sec: 9.0
- machine: rpi3-64
init_performance_threshold_sec: 12.2
proc_performance_threshold_sec: 8.5
init_performance_threshold_sec: 14.2
proc_performance_threshold_sec: 10.5
- machine: rpi4-32
init_performance_threshold_sec: 10.5
proc_performance_threshold_sec: 6.5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ jobs:
init_performance_threshold_sec: 12.0
proc_performance_threshold_sec: 8.0
- machine: rpi3-64
init_performance_threshold_sec: 12.0
proc_performance_threshold_sec: 7.0
init_performance_threshold_sec: 14.0
proc_performance_threshold_sec: 9.0
- machine: rpi4-32
init_performance_threshold_sec: 10.5
proc_performance_threshold_sec: 6.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
run: yarn setup-test

- name: Test
run: yarn test-perf --env ACCESS_KEY=${{secrets.PV_VALID_ACCESS_KEY}},NUM_TEST_ITERATIONS=20,INIT_PERFORMANCE_THRESHOLD_SEC=${{matrix.initPerformanceThresholdSec}},PROC_PERFORMANCE_THRESHOLD_SEC=${{matrix.procPerformanceThresholdSec}}
run: yarn test-perf --env ACCESS_KEY=${{secrets.PV_VALID_ACCESS_KEY}},NUM_TEST_ITERATIONS=15,INIT_PERFORMANCE_THRESHOLD_SEC=${{matrix.initPerformanceThresholdSec}},PROC_PERFORMANCE_THRESHOLD_SEC=${{matrix.procPerformanceThresholdSec}}
2 changes: 1 addition & 1 deletion binding/react/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export default defineConfig({
specPattern: 'test/*.test.{js,jsx,ts,tsx}',
video: false,
screenshotOnRunFailure: false,
defaultCommandTimeout: 30000,
defaultCommandTimeout: 60000,
},
});
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', 300000);
Cypress.config('defaultCommandTimeout', 500000);

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

0 comments on commit dfec6ff

Please sign in to comment.