Skip to content

Commit

Permalink
add init perf
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Mar 13, 2024
1 parent efc1e4b commit 8ab1ed6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/android-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:
device: [single-android, 32bit-android]
include:
- device: single-android
initPerformanceThresholdSec: 1.0
procPerformanceThresholdSec: 1.0
- device: 32bit-android
initPerformanceThresholdSec: 1.0
procPerformanceThresholdSec: 1.0

steps:
Expand Down Expand Up @@ -67,6 +69,9 @@ jobs:
- name: Inject Number of Iterations
run: echo numTestIterations="20" >> local.properties

- name: Inject Init Performance Threshold
run: echo initPerformanceThresholdSec="${{ matrix.initPerformanceThresholdSec }}" >> local.properties

- name: Inject Proc Performance Threshold
run: echo procPerformanceThresholdSec="${{ matrix.procPerformanceThresholdSec }}" >> local.properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ public void testProcPerformance() throws Exception {
String procThresholdString = appContext.getString(R.string.procPerformanceThresholdSec);
Assume.assumeNotNull(procThresholdString);
Assume.assumeFalse(procThresholdString.equals(""));

double procPerformanceThresholdSec = Double.parseDouble(procThresholdString);

Falcon falcon = new Falcon.Builder().setAccessKey(accessKey)
Expand Down

0 comments on commit 8ab1ed6

Please sign in to comment.