Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected void onCreate(Bundle savedInstanceState) {
.findFirst()
.get();

int numIter = intent.getIntExtra("num_iter", 10);
int numIter = intent.getIntExtra("num_iter", 50);

// TODO: Format the string with a parsable format
Stats stats = new Stats();
Expand Down
3 changes: 3 additions & 0 deletions extension/benchmark/apple/Benchmark/Tests/GenericTests.mm
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ @implementation GenericTests
XCTFail("Unsupported tag %i at input %d", *input_tag, index);
}
}
XCTMeasureOptions *options = [[XCTMeasureOptions alloc] init];
options.iterationCount = 20;
[testCase measureWithMetrics:@[ [XCTClockMetric new], [XCTMemoryMetric new] ]
options:options
block:^{
XCTAssertEqual(module->forward().error(), Error::Ok);
}];
Expand Down
Loading