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 67a583c commit dd7043b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/nodejs-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
init_performance_threshold_sec: 2.5
proc_performance_threshold_sec: 0.9
- os: windows-latest
init_performance_threshold_sec: 2.5
init_performance_threshold_sec: 3.0
proc_performance_threshold_sec: 1.1
- os: windows-latest
init_performance_threshold_sec: 3.0
proc_performance_threshold_sec: 1.3
- os: macos-latest
init_performance_threshold_sec: 4.0
proc_performance_threshold_sec: 2.0
init_performance_threshold_sec: 6.0
proc_performance_threshold_sec: 4.0


steps:
Expand All @@ -65,20 +65,20 @@ jobs:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
include:
- machine: rpi3-32
init_performance_threshold_sec: 7.6
proc_performance_threshold_sec: 4.5
init_performance_threshold_sec: 9.0
proc_performance_threshold_sec: 6.0
- machine: rpi3-64
init_performance_threshold_sec: 8.4
proc_performance_threshold_sec: 4.5
init_performance_threshold_sec: 9.8
proc_performance_threshold_sec: 6.0
- machine: rpi4-32
init_performance_threshold_sec: 5.7
proc_performance_threshold_sec: 3.3
init_performance_threshold_sec: 7.0
proc_performance_threshold_sec: 4.0
- machine: rpi4-64
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 3.2
init_performance_threshold_sec: 6.5
proc_performance_threshold_sec: 4.2
- machine: jetson
init_performance_threshold_sec: 5.1
proc_performance_threshold_sec: 3.2
init_performance_threshold_sec: 6.5
proc_performance_threshold_sec: 4.2

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', 160000);
Cypress.config('defaultCommandTimeout', 300000);

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

0 comments on commit dd7043b

Please sign in to comment.