Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Jan 26, 2024
1 parent ff210b0 commit dc5a6ed
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 20 deletions.
54 changes: 35 additions & 19 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: 3.0
proc_performance_threshold_sec: 0.75
init_performance_threshold_sec: 1.0
proc_performance_threshold_sec: 1.0
- os: windows-latest
init_performance_threshold_sec: 3.0
proc_performance_threshold_sec: 0.8
init_performance_threshold_sec: 1.0
proc_performance_threshold_sec: 1.0
- os: macos-latest
init_performance_threshold_sec: 3.5
proc_performance_threshold_sec: 4.0
init_performance_threshold_sec: 1.0
proc_performance_threshold_sec: 1.0

steps:
- uses: actions/checkout@v3
Expand All @@ -61,37 +61,53 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson, beaglebone]
include:
- machine: rpi2
num_test_iterations: 20
init_performance_threshold_sec: 1.0
proc_performance_threshold_sec: 1.0
- machine: rpi3-32
init_performance_threshold_sec: 9.0
proc_performance_threshold_sec: 8.5
num_test_iterations: 50
init_performance_threshold_sec: 1.0
proc_performance_threshold_sec: 1.0
- machine: rpi3-64
init_performance_threshold_sec: 9.0
proc_performance_threshold_sec: 7.0
num_test_iterations: 50
init_performance_threshold_sec: 1.0
proc_performance_threshold_sec: 1.0
- machine: rpi4-32
init_performance_threshold_sec: 6.2
proc_performance_threshold_sec: 4.0
num_test_iterations: 50
init_performance_threshold_sec: 1.0
proc_performance_threshold_sec: 1.0
- machine: rpi4-64
init_performance_threshold_sec: 5.5
proc_performance_threshold_sec: 3.5
num_test_iterations: 50
init_performance_threshold_sec: 1.0
proc_performance_threshold_sec: 1.0
- machine: jetson
init_performance_threshold_sec: 5.5
proc_performance_threshold_sec: 4.3
num_test_iterations: 50
init_performance_threshold_sec: 1.0
proc_performance_threshold_sec: 1.0
- machine: beaglebone
num_test_iterations: 10
init_performance_threshold_sec: 1.0
proc_performance_threshold_sec: 1.0

steps:
- uses: actions/checkout@v3

- name: Pre-build dependencies
run: npm install --global yarn

- name: Install dependencies
run: yarn install

- name: Machine state before
working-directory: resources/scripts
working-directory: res/scripts
run: bash machine-state.sh

- name: Test
run: yarn test perf.test.ts --access_key=${{secrets.PV_VALID_ACCESS_KEY}} --num_test_iterations=20 --init_performance_threshold_sec=${{matrix.init_performance_threshold_sec}} --proc_performance_threshold_sec=${{matrix.proc_performance_threshold_sec}}

- name: Machine state after
working-directory: resources/scripts
working-directory: res/scripts
run: bash machine-state.sh
8 changes: 7 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Pre-build dependencies
run: npm install yarn

- name: Install dependencies
run: yarn install

Expand All @@ -50,11 +53,14 @@ jobs:

strategy:
matrix:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson]
machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson, beaglebone]

steps:
- uses: actions/checkout@v3

- name: Pre-build dependencies
run: npm install --global yarn

- name: Install dependencies
run: yarn install

Expand Down

0 comments on commit dc5a6ed

Please sign in to comment.