Skip to content

Commit 50fb8a9

Browse files
authored
[Android benchmarking] Increase warm up iterations
Use 10 iterations to make sure it's warmed up.
1 parent 1f4da85 commit 50fb8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/benchmark/android/benchmark/app/src/main/java/org/pytorch/minibench/BenchmarkActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected void onCreate(Bundle savedInstanceState) {
4444
.get();
4545

4646
int numIter = intent.getIntExtra("num_iter", 50);
47-
int numWarmupIter = intent.getIntExtra("num_warm_up_iter", 5);
47+
int numWarmupIter = intent.getIntExtra("num_warm_up_iter", 10);
4848

4949
// TODO: Format the string with a parsable format
5050
Stats stats = new Stats();

0 commit comments

Comments
 (0)